PSF for z/OS: User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Specifying notification when the print job finishes printing

PSF for z/OS: User's Guide
S550-0435-04

Specifying notification when the print job finishes printing

If you want PSF to send a notification message when the printer completes your job, specify the NOTIFY option in the OUTPUT statement (see NOTIFY).

PSF issues a print-complete message with these variables:

  • JOBNAME
  • STEP
  • ID
  • SYSTEM

If the NOTIFY message is sent to a z/OS® node, the message is saved until the user logs on.

Examples:
  1. This example shows how to specify the NOTIFY parameter in an OUTPUT statement:
    //OUTPUT1 OUTPUT NOTIFY=(DEST01.USERID1)
    //DD1 DD SYSOUT=N,OUTPUT=(*.OUTPUT1)
  2. This example specifies that a print-complete message is to be sent to four users at the same node:
    //GO.OUT1 OUTPUT NOTIFY=(DEST01.USERID1,DEST01.USERID2,
    //     DEST01.USERID3,DEST01.USERID4)
    //GO.SYSOUT1 DD SYSOUT=N,DCB=(RECFM=VBM,BLKSIZE=8192),
    //     OUTPUT=*.OUTPUT1
  3. This example specifies that a print-complete message is to be sent to 16 users at the originating node (the system that runs the print job):
    //GO.OUTPUT1 OUTPUT NOTIFY=(USERID1,USERID2,USERID3,USERID4)
    //GO.OUTPUT2 OUTPUT NOTIFY=(USERID5,USERID6,USERID7,USERID8)
    //GO.OUTPUT3 OUTPUT NOTIFY=(USERID9,USERID10,USERID11,USERID12)
    //GO.OUTPUT4 OUTPUT NOTIFY=(USERID13,USERID14,USERID15,USERID16)
    //GO.SYSUT1 DD    SYSOUT=N,DCB=(RECFM=VBM,BLKSIZE=8192),
    //           OUTPUT=(*.OUTPUT1,*.OUTPUT2,*.OUTPUT3,*.OUTPUT4)

To determine whether your installation supports the print-notify function, contact your system programmer.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014