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
 
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: 2086
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm

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