Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

CLIST & REXX :: RE: REXX cdoe to purge a JOB from spool after successful Run.

$
0
0
Author: Willy Jensen
Posted: Tue Mar 14, 2017 4:39 pm (GMT 5.5)

Not JOBDEF, but OUTCLASS .. OUTDISP(PURGE,HOLD) might work. Though you must make sure the job abends for anything but RC=0, as OUTDISP is based on job abend:
OUTDisp=([normal][,abnormal])
normal Specifies the output disposition if the job does not abend.
abnormal Specifies the output disposition if the job abends[/quote]
_________________
WJ


Viewing all articles
Browse latest Browse all 9405

Trending Articles