View previous topic :: View next topic
|
Author |
Message |
ashirwad
New User
Joined: 03 Apr 2012 Posts: 5 Location: chennai
|
|
|
|
Hi,
I am creating a Rexx tool that will submit some jobs and give a report with output datasets, total execution time taken and other details. I am using ISFCALLS to read the spool and get MAX RC detail of a job using RETCODE. I am refering IBM Redbook - Implementing REXX
Support in SDSF that says that we can get
1. Time that execution began using TIMEE.
2. Time that execution end using TIMEN.
However using these keywords I am not able to get the times.
Please find below code snippet:
Code: |
RC_ISF = ISFCALLS("ON")
IF RC_ISF = 00 THEN
DO
ISFPREFIX = "'"MEMBER"'"
ADDRESS SDSF "ISFEXEC ST"
DO IJ = 1 TO JNAME.0
IF JOBID.IJ = JID THEN
DO
IF RETCODE.IJ <> '' THEN
DO
RTCODE = RETCODE.IJ
RCODE = SUBSTR(RETCODE.IJ,4,4)
SAY 'START TIME ' TIMEE.IJ
SAY 'END TIME ' TIMEN.IJ |
Any help is really appreciated.
Thanks in advance,
Ashirwad Kumar
Code'd |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
wouldn' t it be simpler to use the SMF data ??? |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Have you tried:
Code: |
address SDSF "isfexec st (ALTERNATE DELAYED)" |
|
|
Back to top |
|
|
ashirwad
New User
Joined: 03 Apr 2012 Posts: 5 Location: chennai
|
|
|
|
Thanks don,
It worked |
|
Back to top |
|
|
|