View previous topic :: View next topic
|
Author |
Message |
vignesh31
New User
Joined: 20 Dec 2011 Posts: 4 Location: India
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Probably. Does JHS provide a batch or REXX interface? |
|
Back to top |
|
|
vignesh31
New User
Joined: 20 Dec 2011 Posts: 4 Location: India
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|