MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to capture Job submitted time, Started time, end time

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
VdeepakG
Beginner


Joined: 07 Nov 2016
Posts: 4
Topics: 2

PostPosted: Tue Nov 08, 2016 1:22 am    Post subject: How to capture Job submitted time, Started time, end time Reply with quote

Hi,

I am very new to REXX, i need to capture job Submitted time, Started time,
End time from SDSF in batch mode

I need to estimate those times of all jobs which are scheduled monthly

Thanks in advance

Deepak
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Tue Nov 08, 2016 7:44 am    Post subject: Reply with quote

VdeepakG,

Check this link which shows how to run SDSF in batch

http://www.mvsforums.com/helpboards/viewtopic.php?p=1548#1548

Once you have the data in a sequential, it should be pretty easy to extract the messages IEF374I, IEF375I, IEF376I and IEF032I
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
VdeepakG
Beginner


Joined: 07 Nov 2016
Posts: 4
Topics: 2

PostPosted: Wed Nov 09, 2016 12:42 pm    Post subject: Reply with quote

Thanks Kolusu,

is it possible to write data into flat file with positions specified?

Like example shown below,
Code:

                 start position    end position
CPU_time          1                   10
Elap_time         11                  20
Start_time        21                  30

it would be helpful if i can write in the above manner
can you provide me links for required

Thanks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Wed Nov 09, 2016 2:45 pm    Post subject: Reply with quote

VdeepakG,

Read the SDSF output file in your rexx. Then use the builtin function WORD to extract the information

http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ikja300/dup0028.htm

Once you got the word you can position it where ever you want using overlay

http://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ikja300/overlay.htm
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group