Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

To retreive the Mainframe Job runtime to create report

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
vignesh31

New User


Joined: 20 Dec 2011
Posts: 4
Location: India

PostPosted: Tue Dec 20, 2011 5:04 pm    Post subject: To retreive the Mainframe Job runtime to create report
Reply with quote

Hi,

We are monitoring some scheduled jobs manually(around 30 jobs) and enter the end times for those scheduled jobs in a spreadsheet under "end time column" on daily basis.

In JHS(Job History) the job run time is present for pervious days runs too. So we need to enter the last recorded end time of that particular job under "end time " column. We are doing this process manually. Is there any way to automate the process to retreive the Job End time.

Lets consider the Example:

Code:
Mainframe JHS(Job History display for job ALM2LFLG)
Job Job# Started Ended Code
ALM2LFLG J000177 12132011 0600 12132011 0600 0 STEP NEXEC
ALM2LFLG J014893 12142011 0601 12142011 0601 0 STEP NEXEC
ALM2LFLG J029638 12152011 0600 12152011 0600 0 STEP NEXEC
ALM2LFLG J013603 12162011 0600 12162011 0600 0 STEP NEXEC
ALM2LFLG J009694 12192011 0600 12192011 0600 0 STEP NEXEC

Now I want to move only the Last Ended date of this job (12192011).

Is there a possibility to write a REXX program to retreive all the jobs end date and move it to a ouput file (PS or CSV files) which can be FTP'd.

Please let me know if you need more information.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Dec 20, 2011 5:10 pm    Post subject: Reply to: To retreive the Mainframe Job runtime to create re
Reply with quote

Probably. Does JHS provide a batch or REXX interface?
Back to top
View user's profile Send private message
vignesh31

New User


Joined: 20 Dec 2011
Posts: 4
Location: India

PostPosted: Wed Dec 28, 2011 10:25 am    Post subject: Reply to: To retreive the Mainframe Job runtime to create re
Reply with quote

JHS has the Batch interfacing.. It is the display of the Job History with the Job run time and job complete status...
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Dec 28, 2011 10:47 am    Post subject:
Reply with quote

Hello and welcome to the forum,

Suggest you read the documentation about the reporting capability of JHS. Most people here do not have the product/documentation, but your organization does, so the answer is there.

You might also ask the Scheduling people or the system support people what processes they might already have that can be used for your requirement.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 4 Mon Mar 27, 2017 3:59 pm
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us