View previous topic :: View next topic
|
Author |
Message |
amail2you
New User
Joined: 17 Jul 2006 Posts: 2 Location: Bangalore
|
|
|
|
Hi all,
Can anyone help me on how to extract all the jobs details such as Jobname , Jobnumber, start & end time, and status of job whose names have a prefix like REX* from the spool (SDSF) into a dataset using REXX
Thanks & Regards,
Prabhu V |
|
Back to top |
|
|
Ravi gaur
New User
Joined: 12 Jul 2005 Posts: 38
|
|
|
|
some idea I can give you is RUN SDSF in job using the utility"ISFAFD" and use EDIT MACRO to give and fetch the values thru rexx.. |
|
Back to top |
|
|
amail2you
New User
Joined: 17 Jul 2006 Posts: 2 Location: Bangalore
|
|
|
|
Ravi gaur wrote: |
some idea I can give you is RUN SDSF in job using the utility"ISFAFD" and use EDIT MACRO to give and fetch the values thru rexx.. |
Hi Ravi,
Thanks for your suggestion. I have tried out SDSF through JCL, but I need the same to be done through REXX. If you have any sample code pls. send it across. |
|
Back to top |
|
|
SBMF390
New User
Joined: 27 Jul 2006 Posts: 9
|
|
|
|
Before i reply to ur Q'on, once ur job completes, How will u see ur spool details after 1 hr or 1 day.
-Boopathy |
|
Back to top |
|
|
virtualarun
New User
Joined: 18 Jan 2007 Posts: 3 Location: Chennai, India
|
|
|
|
Hi Prabhu,
Hope you accomplished your need by now. Can you tell me how you got the details in spool including the Job Owner details through REXX ? |
|
Back to top |
|
|
Continuous Learner Currently Banned New User
Joined: 19 Jan 2007 Posts: 3 Location: Kolkata
|
|
|
|
SBMF390 wrote: |
Before i reply to ur Q'on, once ur job completes, How will u see ur spool details after 1 hr or 1 day.
-Boopathy |
Hi,
If we are extracting the jobs after a day, then how to get the details
Thanks,
Siva |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Depending on your requirements, i'd suggest looking into meeting your requirements using SMF data. The SMF data will be available than the jobs in the spool.
See your systems programmers for info on how to use the SMF data - they may already have something that will do what you need. An ability to report on jobs processed is quite common. |
|
Back to top |
|
|
Continuous Learner Currently Banned New User
Joined: 19 Jan 2007 Posts: 3 Location: Kolkata
|
|
|
|
Hi dick,
Thanks for ur suggestion.
But because of unknown reasons, we are not allowed to contact the system programmers.
But I need the JESMSGLG, JESYSMSG ddnames for some production jobs which ran within last 24 hours.
So please suggest me how to get that data either by using Batch jobs or by REXX.
Thanks,
Siva |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Please search this forum for BATCH SDSF. You'll fine lots of examples.
O. |
|
Back to top |
|
|
|