Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 Can we create REXX ouput in an Excel ... upendrasri CLIST & REXX 3 Wed Jan 17, 2018 8:19 pm
No new posts How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts How to change the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm
No new posts Mainframe Blocks to Tracks conversion upendrasri JCL & VSAM 1 Sat Nov 18, 2017 10:52 am
No new posts How to create issuer certificate? :'( vasanthz All Other Mainframe Topics 1 Sat Nov 18, 2017 5:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us