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
 
SDSF/ISFAFD to capture JESMSGLG for certain jobs for a Date

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
pcsingh_2000

New User


Joined: 26 May 2004
Posts: 6
Location: Kolkata

PostPosted: Fri Jul 22, 2011 11:06 pm    Post subject: SDSF/ISFAFD to capture JESMSGLG for certain jobs for a Date
Reply with quote

Hi,

I have a requirement like this:
1) I have to print the messages of JESMSGLG of all the jobs with PRE DH* and OWNER * in a single dataset
2) I need this for jobs for specific date for example (current date or any specific date)

I am able to capture the message of 1st job in the listing but not able to do the same for subsequent jobs.

Here is my ISFIN control statements

//ISFIN DD *
ST
PRE DB*R*
OWNER *
AFD REFRESH
++?
FIND 'JESMSGLG'
++S
PRINT FILE REPORT
PRINT 1 9999
END
EXIT
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 Jul 22, 2011 11:10 pm    Post subject:
Reply with quote

Find the list of jobs which match you criteria and then process each one individually using DISP=MOD on the output dataset.

You will probably need some REXX to do this.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Fri Jul 22, 2011 11:11 pm    Post subject: Reply to: SDSF/ISFAFD to capture JESMSGLG for certain jobs f
Reply with quote

see here for tested snippets
http://www.ibmmainframes.com/viewtopic.php?t=54926&highlight=
Back to top
View user's profile Send private message
pcsingh_2000

New User


Joined: 26 May 2004
Posts: 6
Location: Kolkata

PostPosted: Sun Aug 07, 2011 10:16 pm    Post subject: Reply to: SDSF/ISFAFD to capture JESMSGLG for certain jobs f
Reply with quote

Hi,

Thankful for the useful link.

It helps me to code one tool using Rexx for SDSF. What I can say is .. truely better than batch SDSF.

Regards,
Prakash.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1894
Location: UK

PostPosted: Sun Aug 07, 2011 11:44 pm    Post subject:
Reply with quote

That link was from about 2 months ago - surely you remember reading it at the time? And a search would have come up with it.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts Validate the Date girishb2 DFSORT/ICETOOL 9 Tue Sep 19, 2017 1:12 am
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm
No new posts self-restarting jobs in OPC jzhardy IBM Tools 1 Mon Aug 21, 2017 10:15 am

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