> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Sridhar K Veena
> Sent: Wednesday, July 18, 2007 10:57 PM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: Regarding SDSF pgm
> 
> 
> G'day, 
>  
> Please let me know if there is a way to extract all the jobs 
> (with start
> and end times) from spool. The requirement is to provide a 
> daily report
> on jobs that ran, with their start time, end time and return code. 
>  
> Is there a way I can use SDSF pgm to extract contents of all the jobs
> (or JESMSGLG of all the jobs) in spool to a dataset.  Then I can use
> REXX to generate the reqd report. 
>  
> Please note, we do not have any other tools (like JHS) other 
> than SDSF !
>  
> Thanks in advance for your suggestions.
>  
> Thanks
> Sridhar K Veena 

You could either use SMF data, but that is difficult unless you get some
program to do, perhaps something from the CBT.

Have you considered just reading the SYSLOG using SDSF? It will have
lines like:

N 4000000 LIH1     07200 15:08:21.63 JOB36580 00000094  $HASP373
USH637RC STARTED - INIT 3    - CLASS I - SYS LIH1
N 0000000 LIH1     07200 15:08:21.64 JOB36580 00000094  IEF403I USH637RC
- STARTED - TIME=15.08.21
...
N 0000000 LIH1     07200 15:08:27.21 JOB36580 00000094  IEF404I USH637RC
- ENDED - TIME=15.08.27
N 4000000 LIH1     07200 15:08:27.22 JOB36580 00000094  $HASP395
USH637RC ENDED

in it. I know this is possible, but I don't have an example.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to