Working with scripts - Latest

Syncsort™ Storage Management Monitor Explorer User Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ software
Product
Syncsort™ Storage Management > Syncsort™ SCC Monitor
Version
Latest
ft:locale
en-US
Product name
Syncsort Storage Management
ft:title
Syncsort™ Storage Management Monitor Explorer User Guide
Copyright
2025
First publish date
1991
ft:lastEdition
2025-12-05
ft:lastPublication
2025-12-05T10:35:42.010000
L1_Product_Gateway
Integrate
L2_Product_Segment
IBM Infrastructure
L3_Product_Brand
Precisely Syncsort
L4_Investment_Segment
Mainframe
L5_Product_Group
Mainframe Storage Optimization
L6_Product_Name
Syncsort Storage Management

To modify an existing script, select the script name from the command menu and right-click. Then select the following menu sequence: command menu > Modify A window will be displayed containing the name of the script and a menu of additional options.

The script code is displayed in the Script tab and can be changed and saved. Script code can also be copied and pasted by right-clicking in the command window to open an edit-selection menu.

The script can be executed during modification or printed using the menu bar. When working with the script, the Execution Mode can be specified.

The properties tab

The Properties tab displays information about the script.

Name

Shows the display name for the script. The name defaults to the script name, but can be modified.

Filename

Displays the location of the .ecd script file.

ID

Displays the generated internal script identifier used by the Explorer GUI.

Associations

The Associations field determines whether the script will be available in context menus (right-clicks) on grids by associating the script type to the record type used by grids. For example, if a script displays a grid containing dataset names, and the record schema for the records has a type of dataset or dsname specified, the resulting grid will have the Delete command available.

In the schema definition, the TYPE operand defines the record types. For example:

DEFREC @GVTOC TYPE(DATASET GRID FAST)

Note: Association names have no intrinsic meaning. For example, the delete script can specify both dataset and dsname in the semi-colon–separated name list; any grids with record schemas using dataset or dsname will match the association. Although association names may be arbitrary, DTS recommends using descriptive names that clarify the script's purpose.

The association can also be used to generate a tree hierarchy when a context menu is displayed. Vertical bars (|) are used to define each node in the tree. For example, the HSM backup command uses the following associations to add the HSM hierarchy menu to the context popups for dataset associations:

dataset|HSM;dsname|HSM

Visibility

The Visibility field is an extension to the context-menu associations. The boolean expression specified in the field can be used to limit the visibility of the command on the context menu. The expression is written in the scripting language used by the Explorer GUI. If the expression evaluates to a true condition, the item will be visible on the context menu.

For example, to limit visibility of a script on rows with DSORG=PO and only when a single row is selected on the Members List, use:

(parm.RowCount=1) AND (parm.GetValue(0,'DSORG')='PO')

Notes

The Notes field can be used to save comments about the script.