use command <b>wrkoutq qezjoblog </b>
and look for the log of the user to analyze.
QEZJOBLOG can be quite large
If you know the job name, you can do WRKJOB JOBNAM.
You will then get a list to select from.
Take option 1 to select, then option 4 to look look at spool files.
Not all all jobs will create a joblog entry in the spool file.
If depends on what you setting are for the job.
If the job is still active or in the jobq, you can manually change the job to produce a joblog.
Prompt option 2 next to the job, press F10, F11, scroll down once and check if the parms for LOG are (4 00 *SECLVL) and LOGCLPGM *YES.
You need to know what the name of the job was or at least the name of the user. <b>AND</b> the joblog had to be spooled when the job ended.
If you know the name of the job, you can start with DSPJOB <jobname>. If anything still exists from the job, spooled reports or the spooled joblog, then you’ll be able to look at them. Otherwise the job is gone.
If you don’t know the name of the job (and the joblog was spooled), you can use WRKSPLF <username>. The spooled joblog should be at the end of any list that shows.
No matter what, if the job wasn’t set up to retain a record of its joblog, then it’s gone.