Execute Universal Event Log Dump from z/OS Manager
The following figure illustrates the execution of Universal Event Log Dump from a z/OS Universal Command Manager.
The application log, from the previous day at 15:00 until current time, will be dumped to the stdout of the manager process to be archived.
//S1 EXEC UCMDPRC //LOGONDD DD DISP=SHR,DSN=hlq.userid(userid) //SCRIPTDD DD * ueld -logtype APPLICATION -stime "*-1,15:00 PM" //SYSIN DD * -script SCRIPTDD -encryptedfile LOGONDD -host dallas /*
The JCL procedure UCMDPRC is used to execute the ueld command. The command is sent to a remote system named dallas for execution. The UNVOUT DD in the UCMDPRC points to sysout, and is where the stdout of the remote command will be written. Additional command line options are read from the encrypted file allocated to DD LOGONDD.
Script Options
The script options used in this example are:
SYSIN Options
The SYSIN options used in this example are:
Option | Description |
---|---|
ddname from which to read a script file. The script file is sent to the remote system by UCMD Manager for execution | |
File from which to read an encrypted command options file. | |
Host name or IP address of the remote system on which to execute the script. |