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

JOB details from JHS using a REXX program


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   This topic is locked: you cannot edit posts or make replies.
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Aug 03, 2007 1:51 pm
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: 1287
Location: Chennai, India

PostPosted: Fri Aug 03, 2007 2:32 pm
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
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

Superior Member


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

PostPosted: Fri Aug 03, 2007 4:47 pm
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

Superior Member


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

PostPosted: Fri Aug 03, 2007 5:31 pm
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
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
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
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

Superior Member


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

PostPosted: Mon Aug 06, 2007 12:03 pm
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
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

Superior Member


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

PostPosted: Mon Aug 06, 2007 12:48 pm
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
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

Superior Member


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

PostPosted: Mon Aug 06, 2007 2:12 pm
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
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

Superior Member


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

PostPosted: Mon Aug 06, 2007 5:23 pm
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
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
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

Superior Member


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

PostPosted: Fri Mar 11, 2011 2:52 pm
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
arunsoods

New User


Joined: 13 Jul 2016
Posts: 35
Location: India

PostPosted: Mon Jul 17, 2017 4:51 pm
Reply with quote

Hi Anuj,

Can you please provide JCL as well to get job details or command to get job details for more than one job. JHSCOPY is working perfectly fine for one job it will cut short lots of efforts if I could copy details of more than one job into a single PS file.

Thanks in advance.

Regards
Arun
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Mon Jul 17, 2017 5:25 pm
Reply with quote

Do not revive a thread after six years.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Using API Gateway from CICS program CICS 0
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