× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On V5R4 (or above) do this:
WRKSYSVAL QLOGOUTPUT
Change it to *PND. Upon job completion you will do a
WRKJOB
10. Display job log, if active, on job queue, or pending
Notice the "pending".
You will NOT use 4. Work with spooled files,
See also:
WRKJOBLOG
WRKJOBLOG JOB(ROB/*ALL) to see joblogs by user
WRKJOBLOG JOB(BACKUP) to see joblogs by job
To get a printed copy you will have to do a
DSPJOBLOG JOB(963412/PEGGY/BACKUP) OUTPUT(*PRINT)

See also
CHGJOBD JOBD(BUBBA) LOGOUTPUT(*PND)
Remove Pending Job Log (QWTRMVJL) API
ENDJOB JOB(123456/SUSAN/MYBATCH) LOGLMT(0) to clear a pending joblog.

If you have a huge joblog that kicks off *PRTWRAP then expect some spool
files still. You will still need to do the WRKJOBLOG or WRKJOB to see the
tail end of the joblog.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.