View previous topic :: View next topic
|
Author |
Message |
CJT
New User
Joined: 02 Aug 2007 Posts: 83 Location: Here
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
What is JHS, or did you mean JES ? |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
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 |
|
|
CJT
New User
Joined: 02 Aug 2007 Posts: 83 Location: Here
|
|
|
|
JHS stands for Job History System. I am basically look for the last time the Job ran successfuly. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
CJT
New User
Joined: 02 Aug 2007 Posts: 83 Location: Here
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
CJT
New User
Joined: 02 Aug 2007 Posts: 83 Location: Here
|
|
|
|
Hi Thanks for the systemware link. However I did not get what I was looking for. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
CJT
New User
Joined: 02 Aug 2007 Posts: 83 Location: Here
|
|
|
|
Hi Anuj,
I am sorry, TSO JHSCOPY does not seem to work on our MF system |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
CJT,
Can you please tell me, how did you use the command? |
|
Back to top |
|
|
CJT
New User
Joined: 02 Aug 2007 Posts: 83 Location: Here
|
|
|
|
start TSO jhscopy????
this is the command i gave :
the message is "COMMAND JHSCOPY NOT FOUND" |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
CJT
New User
Joined: 02 Aug 2007 Posts: 83 Location: Here
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
CJT
New User
Joined: 02 Aug 2007 Posts: 83 Location: Here
|
|
|
|
Thanks Anuj for the help |
|
Back to top |
|
|
esther_ebe
New User
Joined: 21 Jan 2010 Posts: 2 Location: India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
arunsoods
New User
Joined: 13 Jul 2016 Posts: 35 Location: India
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
Do not revive a thread after six years. |
|
Back to top |
|
|
|