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
 
Extract all jobs details from the spool using REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
amail2you

New User


Joined: 17 Jul 2006
Posts: 2
Location: Bangalore

PostPosted: Tue Jul 18, 2006 4:53 pm    Post subject: Extract all jobs details from the spool using REXX
Reply with quote

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
View user's profile Send private message

Ravi gaur

New User


Joined: 12 Jul 2005
Posts: 38

PostPosted: Tue Jul 18, 2006 7:11 pm    Post subject: Re: Extract all jobs details from the spool
Reply with quote

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
View user's profile Send private message
amail2you

New User


Joined: 17 Jul 2006
Posts: 2
Location: Bangalore

PostPosted: Wed Jul 26, 2006 4:30 pm    Post subject: Re: Extract all jobs details from the spool
Reply with quote

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
View user's profile Send private message
SBMF390

New User


Joined: 27 Jul 2006
Posts: 9

PostPosted: Thu Jul 27, 2006 3:38 pm    Post subject: Re: Extract all jobs details from the spool
Reply with quote

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
View user's profile Send private message
virtualarun

New User


Joined: 18 Jan 2007
Posts: 3
Location: Chennai, India

PostPosted: Thu Jan 18, 2007 5:31 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Continuous Learner
Currently Banned

New User


Joined: 19 Jan 2007
Posts: 3
Location: Kolkata

PostPosted: Wed Jan 24, 2007 12:23 pm    Post subject: Re: Extract all jobs details from the spool
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jan 25, 2007 12:33 am    Post subject:
Reply with quote

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
View user's profile Send private message
Continuous Learner
Currently Banned

New User


Joined: 19 Jan 2007
Posts: 3
Location: Kolkata

PostPosted: Thu Jan 25, 2007 11:22 am    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 25, 2007 11:55 am    Post subject:
Reply with quote

Please search this forum for BATCH SDSF. You'll fine lots of examples.

O.
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
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 Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

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