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
Components
Universal Command Manager for z/OS