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

REXX code to capture output from the JHS (Job History system


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kalyanbrata.dhar

New User


Joined: 02 Sep 2008
Posts: 13
Location: Kolkata

PostPosted: Thu Jul 09, 2009 3:57 pm
Reply with quote

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? icon_confused.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 09, 2009 3:59 pm
Reply with quote

What is available within the JHS package, are there any add ons documented. Any REXX interfaces documented.
Back to top
View user's profile Send private message
kalyanbrata.dhar

New User


Joined: 02 Sep 2008
Posts: 13
Location: Kolkata

PostPosted: Thu Jul 09, 2009 4:10 pm
Reply with quote

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? icon_confused.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 09, 2009 4:14 pm
Reply with quote

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
View user's profile Send private message
kalyanbrata.dhar

New User


Joined: 02 Sep 2008
Posts: 13
Location: Kolkata

PostPosted: Thu Jul 09, 2009 4:27 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 09, 2009 4:55 pm
Reply with quote

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
View user's profile Send private message
kalyanbrata.dhar

New User


Joined: 02 Sep 2008
Posts: 13
Location: Kolkata

PostPosted: Thu Jul 09, 2009 5:38 pm
Reply with quote

Problem is, I can not modify the current batch JCL as it requires lots of approval... icon_cry.gif 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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Jul 09, 2009 9:33 pm
Reply with quote

Sorry, I am not familiar with JHS. How does it store its information? Is there a way to read it back?
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top