Automatically Create a Unique zOS Command ID Using Zeke Variables

Automatically Create a Unique z/OS Command ID for your Universal Agent Process Using Zeke Variables

Zeke has a set of reserved variables available that get substituted during job submission. The default character $ is used to identify a Zeke variable within the instream JCL. This default character can be changed during installation. Create a variable whose value is set based on the current schedule date. Use this variable in the UCMD Manager jobs.

(See the ASG Zeke documentation for instructions on variable usage.)



* If the cmdid identifier contains spaces, it must be enclosed in either single ( ' ) or double ( " ) quotation marks.

SYSIN Options

The SYSIN options used in this example are:

Option

Description

-cmdid

Unique command ID associated with the remote unit of work.

-script

ddname from which to read a script file. The script file is sent to the remote system by UCMD Manager for execution.

-host

Host name or IP address of the remote system on which to execute the command.

-encryptedfile

ddname from which to read an encrypted command file created with the Universal Agent Universal Encrypt (UENCRYPT) utility.

-managerft

Specification for whether or not the manager fault tolerant feature is used.

-restart

Specification for whether or not the manager is requesting restart. A value of yes indicates the Manager is being restarted.

Components

Universal Command Manager for z/OS