z/OS Infoprint Server User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Direct output to IP PrintWay and to more than one printer

z/OS Infoprint Server User's Guide
SA38-0695-00

Direct output to IP PrintWay and to more than one printer

These examples show how to direct a data set to IP PrintWay™ and to send it to more than one printer at the same time by specifying multiple OUTPUT statements. The OUTPUT parameter on the DD statement refers to two OUTPUT JCL statements. Therefore, JES creates two output data sets.

  • In this example, the OUTPUT statements specify two different destination names:
    //PWAYJOB8 JOB ...
    //STEP1    EXEC PGM=USERA
    //OUTDS1   OUTPUT CLASS=P,DEST=PRINTER1
    //OUTDS2   OUTPUT CLASS=P,DEST=PRINTER2
    //DD1      DD SYSOUT=(,),OUTPUT=(*.OUTDS1,*.OUTDS2)
  • In this example, the OUTPUT statements specify the host names of two different printers. Because different GROUPID parameters are specified, JES2 places the output data sets in two separate output groups. For more information, see JCL considerations for IP PrintWay extended mode.
    //PWAYJOB9 JOB ...
    //STEP1    EXEC PGM=USERA
    //OUTDS1   OUTPUT DEST='IP:printer1.xyz.com',PRTQUEUE='RAW',GROUPID=GROUP1
    //OUTDS2   OUTPUT DEST='IP:printer2.xyz.com',PRTQUEUE='RAW',GROUPID=GROUP2
    //DD1      DD SYSOUT=P,OUTPUT=(*.OUTDS1,*.OUTDS2)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014