z/OS TSO/E Command Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Output sequence

z/OS TSO/E Command Reference
SA32-0975-00

Output is produced according to the sequence of the jobs that are specified, then by the sequence of classes that are specified for the CLASS operand. For example, assume that you want to retrieve the output of the following jobs:
//JWSD581      JOB          91435,MSGCLASS=X
//             EXEC         PGM=IEBPTPCH
//SYSPRINT     DD           SYSOUT=Y
//SYSUT1       DD           DSNAME=PDS,UNIT=3330,
//             VOL=SER=11112,LABEL=(,SUL),
//             DISP=(OLD,KEEP),
//             DCB=(RECFM=U,BLKSIZE=3036)
//SYSUT2       DD           SYSOUT=Z
//SYSIN        DD           *
             PRINT TYPORG=PS,TOTCONV=XE
             LABELS DATA=NO
/*
//JWSD582      JOB          91435,MSGCLASS=X
//             EXEC         PGM=IEHPROGM
//SYSPRINT     DD           SYSOUT=Y
//DD2          DD           UNIT=3330,VOL=SER=333000, DISP=OLD
//             DISP=OLD
//SYSIN        DD           *
             SCRATCH VTOC,VOL=3330=333000
/*
To retrieve the output, you enter:
output (jwsd581 jwsd582) class (x y z)
Your output is displayed in the following order:
  1. Output of job JWSD581
    1. class X (JCL and messages)
    2. class Y (SYSPRINT data)
    3. class Z (SYSUT2 data)
  2. Output of job JWSD582
    1. class X (JCL and messages)
    2. class Y (SYSPRINT data)
    3. message (NO CLASS Z OUTPUT FOR JOB JWSD582)

If no classes are specified, the jobs are processed as entered. Class sequence is not predictable.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014