Page 1 of 1

How to extract jobs based on the condition code in JHS

PostPosted: Mon Dec 24, 2012 5:34 pm
by jobateast
Please help me in extracting job information based on the condition code from JHS - Job History System.
I am not familiar with JHSPRINT. I have a sample sysin to retrive job information based on start time & end time.
//JHSSTEP EXEC PGM=JHSPRINT
.
.
.
//SYSIN DD *
OPTIONS MAXJOBS(5)
LOGON SYSTEM(JHS) FROMSYS(BATCH)
PRINT JOB(JOBNAME) OUTFILE(OUTFILE1) -
FROMSTARTDATE(122312) FROMSTARTTIME(1800) -
TOENDDATE(122412) TOENDTIME(1759) DSID(2) -


All I need is the syntax to include condition code in the above sysin to pull the abended jobs info to a dataset but I am not familiar with the same (something like CONDITIONCODE(U0200))
Note: This information is not available in PF1.

Re: How to extract jobs based on the condition code in JHS

PostPosted: Mon Dec 24, 2012 9:46 pm
by Peter_Mann
If you have JHS licensed you should have the Documentation, the Users Guide ,I belive you have access to the guide via the vendor's site
Systemware