IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To retreive the Mainframe Job runtime to create report


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Tue Dec 20, 2011 5:10 pm
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
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

Moderator Emeritus


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

PostPosted: Wed Dec 28, 2011 10:47 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Creating Report using SORT DFSORT/ICETOOL 7
Search our Forums:

Back to Top