Writing messages to the JES logs

This JCL snippet shows how to write messages to the JES logs STDOUT and STDERR and read the environment variables from the zFS file /u/ctgusr/stdenv.txt.


//STDOUT  DD SYSOUT=*
//STDERR  DD SYSOUT=*
//STDENV  DD PATH='/u/ctgusr/stdenv.txt',
// PATHOPTS=(ORDONLY),PATHMODE=SIRUSR
/*