AUTOHMSG variables for skeleton tailoring
When skeleton JCL is submitted, these variables can be used by the ACT_JOB keyword in the AUTOHMSG function. Other functions create a slightly different set of variables.
AUTOHMSG variables for skeleton tailoring
Variable | Description |
---|---|
&DSN | Is replaced by the data set name that is contained in the message text. The message that is selected for inclusion in this JCL must contain a data set name. |
&DSNBASE | Is replaced by the data set name that is associated with the text message. For non-VSAM data sets, the base name is the same as the data set name. For VSAM data sets, the base name is the name of the VSAM cluster associated with the data set (assuming that the cluster name is available to SVOS during processing). |
&FUNC | Is replaced by the name of the AUTO function that is causing the job submission (in this case, AUTOPOOL) |
&JOB | Is replaced by the name of the BBSLIB member containing the skeleton JCL used in this request |
&LOGMSG | Is replaced by the log record message text that is contained in the DFSMShsm log record, beginning with the ARC message number. When &LOGMSG is used in skeleton JCL, the first 60 characters are substituted. |
&SMFID | Is replaced by the SMF ID of the system submitting the job. This value is up to 4 characters in length. |
&SOL | Is replaced by a solution that is causing the job submission. For more information, see SOLUTION parameter. |
&SYSID | Is replaced by the system ID of the system submitting the job. This value is also known as the system name. The value is taken from the CVTSNAME field of the CVT and is up to 8 characters in length. |
&VAR1 through &VAR9 | Is replaced by the values defined on the SET statement in the AUTO function RLST. The SET statement can set these variables to any text string. In this way, the SET statement, and the inherent selection parameters, can pass data to the skeleton JCL. This variable is used in the distributed SRMJOB10 member in BBSLIB. |
&VOLSER | Is replaced by the volume ID that is contained in the message text. The message that is selected for inclusion in this JCL must include a volume in the message text. Important On the ARC0734I message, the volume information is taken from the FRVOL value. |
Comments
Log in or register to comment.