Generating the QPJOBLOG, QPSRVDMP, QPDSPJOB and QPCSMPRT Spooled Files in HLD (Held) Status
The Hold spooled file (HOLD) parameter can be set to *YES. Therefore, even if the output goes to an output queue associated with a started writer the spooled file will still not be printed unless explicitly released. This can be done using the following CHGPRTF commands:
CHGPRTF FILE(QSYS/QPJOBLOG) OUTQ(QUSRSYS/QEZJOBLOG) HOLD(*YES)
CHGPRTF FILE(QSYS/QPSRVDMP) OUTQ(QUSRSYS/QEZDEBUG) HOLD(*YES)
CHGPRTF FILE(QSYS/QPDSPJOB) OUTQ(QUSRSYS/QEZDEBUG) HOLD(*YES)
CHGPRTF FILE(QSYS/QPCSMPRT) OUTQ(QUSRSYS/QEZDEBUG) HOLD(*YES)
CHGPRTF FILE(QSYS/QPPGMDMP) OUTQ(QUSRSYS/QEZDEBUG) HOLD(*YES)
Bookmarks