Monday, September 26, 2011

JCL OUTPUT parameter

The below job illustrates how JCL OUTPUT parameter works.

//TESTJ JOB (83232),'TEST JOB',USER=TEST,PRTY=15,
// MSGLEVEL=(1,1),CLASS=0,MSGCLASS=Z,SCHENV=PDEV
//O1 OUTPUT JESDS=ALL,DEFAULT=YES,CLASS=V
//O2 OUTPUT JESDS=ALL
.
.
//SYSOUT DD SYSOUT=(,) Will be routed to class “V” since it is default
//SYSOUT DD SYSOUT=* -> Will be routed to class “Z” since it is the message class

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.