Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
Table of Contents
maxlevel2

...

Use the z/OS Task Details Parameters field to specify parameters that can be used in any JCL statement and in in-stream data sets.

...

The following steps add a Universal Controller parameter with the name *@DATE1 and a value of 20110601:

Step 1

Open the z/OS task.

Step 2

In the Parameters field, click the + icon.

Step 3

Add a parameter in the following format:

  • Name is the name of a variable preceded with @. For example: *@DATE1.
  • Value is the value you want to set to the variable. For example: 20110601.

Step 4

When the JCL is submitted for execution, the parameter *@DATE1 (shown in the following example) will be substituted with the value 20110601 in the JCL or
in any in-stream data. The example also shows the *@DATE1 parameter being used in an in-stream data and in a JCL IF statement:
 

Panel
//INPUT DD *
@DATE1
/*


Panel
//AIF   IF @DATE1 > 20110101 THEN

 
If a Universal Controller parameter must be concatenated with a non-space character, end the parameter name with a period (.). The example below
uses the *@DATE1 parameter concatenated with a non-space character in an in-stream data set:
 

Panel
//INPUT DD *
DATE@DATE1.ACT9898
/*


...

  • A value of YES specifies that automatic data set deletion is enabled for the z/OS task.
  • A value of NO specifies that automatic data set deletion is disabled for the z/OS task.

The Re-run Report will indicate if the feature has been disabled.

...

If you make any JCL changes, the Controller will prompt you for a confirmation, as described in 206395906 Re-run a z/OS Task Instance from a Specific Step, below.

During the confirmation process, UAG checks for the following JCL changes:

...

  • If Restartable Job Steps exist, you can re-run the task instance from any steps identified as Restartable under the Restartable Job Steps tab.
  • If Restartable Job Steps do not exist, you must re-submit the task instance from the beginning, as when re-running a z/OS task instance from the In Doubt status.

...

For example, the JCL shown below contains CA7 Scheduled Overrides statements #JI and #JEND. This JCL will set CLASS =A if the SCHID is between 1 thru through 39, and set CLASS=B if the SCHID is between 40 thru through 79. The user can set the SCHID by entering it into the Schedule ID field. The Agent scans for #JI and #JEND, and generates the appropriate JCL, as shown in the following example.

Panel
//SCHID JOB (IMS,001),JIM,MSGCLASS=X,MSGLEVEL=(1,1),NOTIFY=&SYSUID,
#JI,ID=(1-39)
//             CLASS=A
#JEND
#JI,ID=(40-79)
//             CLASS=B
#JEND
//S1      EXEC PGM=IGWSPZAP
//SYSLIB   DD DSN=OPS01.JS01.LOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
DUMPT WMSSETRC WMSSETRC
/*
//

...