Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: REXX code to capture output from the JHS (Job History system
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 09, 2009 3:59 pm    Post subject:
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    Post subject: No idea...
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 09, 2009 4:14 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 09, 2009 4:55 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Jul 09, 2009 9:33 pm    Post subject: Reply to: REXX code to capture output from the JHS (Job Hist
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us