View previous topic :: View next topic
|
Author |
Message |
kalyanbrata.dhar
New User
Joined: 02 Sep 2008 Posts: 13 Location: Kolkata
|
|
|
|
Hi,
We are using JHS (Job History System). What I am looking for is, I need to capture the job output file from particular step for the job that completed. Is there any rexx that can help me to do so? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What is available within the JHS package, are there any add ons documented. Any REXX interfaces documented. |
|
Back to top |
|
|
kalyanbrata.dhar
New User
Joined: 02 Sep 2008 Posts: 13 Location: Kolkata
|
|
|
|
What exactly I need is to check some data from the output m,essage of a job. But, i can not add anything to that job jcl as it is a production job.
...
I do not have any idea about the JHS package installed. But I can run Rexx or SAS in this system..
Does it sound foolish? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Does it sound foolish ? NO Just poorly explained.
You know what you want to do, you just need to tell us clearly what it is.
Please explain in great detail what it is that you wish to accomplish.
What does JHS do with the output, does it archive it to DASD and remove it from the spool.
When do you want to capture the information.
Why do you need to capture the information, and exactly what is it that you need to capture
And any more details that you think are relevant |
|
Back to top |
|
|
kalyanbrata.dhar
New User
Joined: 02 Sep 2008 Posts: 13 Location: Kolkata
|
|
|
|
When jobs are completed in spool they are archived to DASD and removed from spool. I need to browse the job in JHS to see details.
After the job is completed I want to capture the output from one particular step to some dataset, so that I can sort the output in that dataset and send the report.
Please see the attachment.. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Would it not be easier to amend the batch job to write the output to DASD, rewrite to spool, and then include a step to sort the data and possibly create the report automatically rather than incur manual intervention ? |
|
Back to top |
|
|
kalyanbrata.dhar
New User
Joined: 02 Sep 2008 Posts: 13 Location: Kolkata
|
|
|
|
Problem is, I can not modify the current batch JCL as it requires lots of approval... I can not even have the permission to add lines to the existing batch..
Is there any way out to do the way u have told without touching the batch job? Then it will be huge help.. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Sorry, I am not familiar with JHS. How does it store its information? Is there a way to read it back? |
|
Back to top |
|
|
|