Author: Pedro
Subject: Reply to: REXX cdoe to purge a JOB from spool after successful Run.
Posted: Thu Mar 09, 2017 11:09 pm (GMT 5.5)
My site has a program called JOBPURGR (sorry, source is not available) which you would add as the last step of the job. And you would add JCL so that the last step only gets executed if RC=0.
The JOBPURGR program uses control blocks to determine the job number and issues a $PJxxxx operator command (or something like that).
_________________
Pedro Vera
Subject: Reply to: REXX cdoe to purge a JOB from spool after successful Run.
Posted: Thu Mar 09, 2017 11:09 pm (GMT 5.5)
My site has a program called JOBPURGR (sorry, source is not available) which you would add as the last step of the job. And you would add JCL so that the last step only gets executed if RC=0.
The JOBPURGR program uses control blocks to determine the job number and issues a $PJxxxx operator command (or something like that).
_________________
Pedro Vera