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
 

 

JOB details from JHS using a REXX program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
CJT

New User


Joined: 02 Aug 2007
Posts: 83
Location: Here

PostPosted: Fri Aug 03, 2007 11:59 am    Post subject: JOB details from JHS using a REXX program
Reply with quote

Hi,

I would like to know how one could get details of a JOB from JHS using a REXX program. If anyone has worked on this before it will be helpful if you could throw light on the same

Thanks

CJ
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: Fri Aug 03, 2007 1:51 pm    Post subject:
Reply with quote

What is JHS, or did you mean JES ?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Aug 03, 2007 2:32 pm    Post subject: Re: JOB details from JHS using a REXX program
Reply with quote

What details are u looking for? is it the job number, name and the RC or the details(contents in the DD) from the spool? Please explain!
Back to top
View user's profile Send private message
CJT

New User


Joined: 02 Aug 2007
Posts: 83
Location: Here

PostPosted: Fri Aug 03, 2007 3:05 pm    Post subject: Re: JOB details from JHS using a REXX program
Reply with quote

JHS stands for Job History System. I am basically look for the last time the Job ran successfuly.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 03, 2007 4:47 pm    Post subject:
Reply with quote

expat wrote:
What is JHS

JHS(Job History System) is software product licensed by and property of Systemware, Inc., Addison, Texas.

JHS is an online data base system for the management of job oriented SYSOUT. JHS can capture, display, and track SYSOUT from the time it leaves JES until it is no longer needed by your organization. The most important aspects of JHS are not only that it can accumulate, archive, and retrieve SYSOUT, but also its analysis and data base search facilities for such SYSOUT as JES log, JCL images, and system messages.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 03, 2007 5:31 pm    Post subject: Re: JOB details from JHS using a REXX program
Reply with quote

CJT wrote:
I would like to know how one could get details of a JOB from JHS using a REXX program.

I can provide a TSO command to do this or a JCL, not REXX.
Back to top
View user's profile Send private message
CJT

New User


Joined: 02 Aug 2007
Posts: 83
Location: Here

PostPosted: Sat Aug 04, 2007 10:02 am    Post subject: Re: JOB details from JHS using a REXX program
Reply with quote

HI Anuj,

Can you provide both? that would be fine. I will try to see if this TSO command could be executed from rexx?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sat Aug 04, 2007 1:24 pm    Post subject:
Reply with quote

This is the link to Systemware customer information portal
where you can
Quote:

The customer information portal provides access to a secure content server, powered by our Xnet software. You can use your Web browser to locate, view, and download Systemware software information. You can . . .
* View the latest PDF documentation for products and options; or download document sets compressed in ZIP files for use on your network. Use a text-search feature to locate documents with specific words or phrases.
* Download new products, features, and beta releases of products, including Systemware Content Server DS, Webtop Client, Xnet, and Administration Client.
* Locate and download maintenance software releases.
* Search Systemware Customer Support FAQ to identify solutions for common problems.
* Link to other Systemware support sites for information about new product features, training, technical services offerings, and more.

How do I obtain a security ID and access the system?
If you are a Systemware product administrator, please send an email message to Systemware Customer Support, techsupport@systemware.com, or call 972-239-2803, to obtain a security ID and password for the customer information portal.

After you have a valid security ID and password, click the button to continue to the sign-in dialog.

If you are an end user or work with Systemware products in another capacity, please contact the Systemware product administrator in your organization or company


This is where you would go to get documentation. If you are just a user, suggest that you contact you shops system admin people. This product undoubtedly has dataset/database security, which you will need if you attempt to access data thru other than provided means (i.e. ispf/cics provided panels)
Back to top
View user's profile Send private message
CJT

New User


Joined: 02 Aug 2007
Posts: 83
Location: Here

PostPosted: Mon Aug 06, 2007 11:33 am    Post subject: Re: JOB details from JHS using a REXX program
Reply with quote

Hi Thanks for the systemware link. However I did not get what I was looking for.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Aug 06, 2007 12:03 pm    Post subject: Re: JOB details from JHS using a REXX program
Reply with quote

CJT wrote:
Can you provide both? that would be fine. I will try to see if this TSO command could be executed from rexx?

TSO JHSCOPY is command, when you execute this, it'll SUBmit a JOB with the ID with which you are logged in. Get the JCL from there.

Hope this helps.

Quote:
This is where you would go to get documentation. If you are just a user, suggest that you contact you shops system admin people. This product undoubtedly has dataset/database security, which you will need if you attempt to access data thru other than provided means (i.e. ispf/cics provided panels)

One can use commands only if JHS software is installed, if CJT is asking the question, I assume, JHS is installed on their shop.
Back to top
View user's profile Send private message
CJT

New User


Joined: 02 Aug 2007
Posts: 83
Location: Here

PostPosted: Mon Aug 06, 2007 12:33 pm    Post subject: Re: JOB details from JHS using a REXX program
Reply with quote

Hi Anuj,

I am sorry, TSO JHSCOPY does not seem to work on our MF system
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Aug 06, 2007 12:48 pm    Post subject:
Reply with quote

CJT,

Can you please tell me, how did you use the command?
Back to top
View user's profile Send private message
CJT

New User


Joined: 02 Aug 2007
Posts: 83
Location: Here

PostPosted: Mon Aug 06, 2007 1:20 pm    Post subject: Re: JOB details from JHS using a REXX program
Reply with quote

start TSO jhscopy????
this is the command i gave :

the message is "COMMAND JHSCOPY NOT FOUND"
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Aug 06, 2007 2:12 pm    Post subject:
Reply with quote

This is what I thought. This is not the right way, You must be in JHS to invoke the JHSCOPY utility.

Try this, START JHS/ J / (provide) Job name & Date/ TSO JHSCOPY.
Back to top
View user's profile Send private message
CJT

New User


Joined: 02 Aug 2007
Posts: 83
Location: Here

PostPosted: Mon Aug 06, 2007 3:57 pm    Post subject: Re: JOB details from JHS using a REXX program
Reply with quote

I am still sorry. the command did not work. I went in JHS, provided the jobname, date etc....but still it gives me the error 'Not found"
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Aug 06, 2007 5:23 pm    Post subject:
Reply with quote

Hi,

I think, you've given just START JHS. You need to be inside the satistics of that JOB which you want to copy. When you get the below screen, then you issue TSO JHSCOPY(possibly a shop specific stuff, but just to tell you - that you can do it)command. A small window will pop up, follow the instruction given there.

Code:
 J 1 J20: JOBNAME J10148                                           Row 1 of 13
 Command ===> TSO JHSCOPY ________________________________________         Scroll ===> CSR 
 Commands: B - Browse  S - Step data  N - Notes  PRT/P? - Print                 
           G - Group   DEL - Delete                                             
 Options:  B - Browse  PRT/P? - Print                                           
 Submitted  07:50 Wednesday, April 4, 2007                                     
 Started    07:50 Wednesday, April 4, 2007                                     
 Ended      07:51 Wednesday, April 4, 2007         Step not executed           
 Completion status  User 4057 abend                                             
 CPU time      0 min  3 sec                        Group 00                     
 Pages                  158         MSGCLASS J     Destination LOCAL           
                                                                               
 Opt Stepname Procstep DD name     Pages Cls Dest                               
 ___ JES2              JESMSGLG        1  J  LOCAL                             
 ___ JES2     IEFPROC  JESJCL          1  J  LOCAL                             
 ___ JES2     IEFPROC  JESYSMSG        1  J  LOCAL                             
 ___ STEP1    RMS@30   RMSRPT          5  J  LOCAL                             
 ___ STEP6    STEP010  SYSPRINT        3  J  LOCAL                             
 ___ STEP6    STEP080  SYSOUT          1  J  LOCAL                             
 ___ STEP6    STEP080  IMSERR          7  J  LOCAL                             
 ___ STEP6    STEP080  ABNLTERM      441  J  LOCAL                             
 ___ STEP6    STEP080  AESPRINT        2  J  LOCAL                             
 ___ STEP6    STEP080  ARCPRINT        4  J  LOCAL                             
 ___ STEP6    STEP080  ARCDIVPR        4  J  LOCAL             
...               


Hope this help.
Back to top
View user's profile Send private message
CJT

New User


Joined: 02 Aug 2007
Posts: 83
Location: Here

PostPosted: Mon Aug 20, 2007 11:00 am    Post subject: Reply to: JOB details from JHS using a REXX program
Reply with quote

Thanks Anuj for the help
Back to top
View user's profile Send private message
esther_ebe

New User


Joined: 21 Jan 2010
Posts: 2
Location: India

PostPosted: Fri Mar 11, 2011 2:43 pm    Post subject: Reply to: JOB details from JHS using a REXX program
Reply with quote

Hi,

I tried this command 'TSO JHSCOPY' within the screen. No pop up window appeared and it threw an error message only.

"IKJ56500I COMMAND JHSCOPY NOT FOUND"

Please advise.

Thanks
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Mar 11, 2011 2:52 pm    Post subject:
Reply with quote

esther_ebe - You should look in to the documentation for JHS at your shop. These commands are subject to change from one shop to another (command-name is just a name after all and your system admins can definitely choose something else. Idea is that there is an interfce of doing this and I don't belong to that shop any longer so can't really experiment with JHS now.)
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am


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