Override zOS Standard Files with Procedure Symbolic Parameters
Override z/OS Standard Files with Procedure Symbolic Parameters
This example demonstrates how to override the z/OS standard input, output, and error using the UCMDPRC procedure symbolic parameters.
The UCMDPRC procedure provides parameters STDIN, STDOUT, and STDERR for the allocation of the UNVIN, UNVOUT, and UNVERR ddnames, respectively.
//jobname JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID //* // JCLLIB ORDER=SBI.UNV.SUNVSAMP //* //STEP1 EXEC UCMDPRC, // STDIN='DUMMY', // STDERR='SYSOUT=H', // STDOUT='DISP=SHR,DSN=hlq.DATA.LIST(OUT2)' //SYSIN DD * -host hostname -userid username -pwd password -cmd command /*
SYSIN Options
Option | Description |
---|---|
Host name or IP address of the remote system on which to execute the script. | |
Remote user ID with which to execute the command. | |
Password for the user ID. | |
Command to be executed on the remote system. |
Components
Universal Command Manager for z/OS