Create a menu action with default override values for identified parameters
Learn how to use Menu Manager to create a menu action for supplying values for the parameters that are identified in the JCL.
About this task
You create actions and specify default override values for parameters by using Menu Manager.
Procedure
To create an action and specify override parameter values:
Parameter override values
The following considerations apply when you are specifying parameter override values:
- If you do not specify a value for the PROGRAM parameter, then the selected resource is the one that is acted on as the JCL to run. For example, you might have to submit a CICS® start JCL that has certain options without modifying the JCL itself. Different users can submit the same JCL, but with different parameter values.
- If you do specify a value for the PROGRAM parameter, then it is the JCL to run when the action is requested. The resource that is selected by right-clicking is then associated with the JCL to be submitted.
- If you specify a parameter in the JCL but you do not specify an override value, then that
parameter value is replaced with an empty string. For example, consider the following entry in a
JCL:
If you do not specify an override value for theMEMBER=!PROG!,PARM='1920'
!PROG!
entry, then that entry becomes:MEMBER=,PARM='1920'
- $name
- Returns the name of the resource that is selected when the menu option is displayed. It returns the name of the member.
- $fullname
- Returns the name of the resource that is selected when the menu option is displayed. It returns the name of the data set and the member name in the format DATASET(MEMBER).
- $datasetname
- Returns the name of the data set that contains the member resource that is selected by right-clicking on it.