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

SDSF/ISFAFD to capture JESMSGLG for certain jobs for a Date


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Jul 22, 2011 11:10 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jul 22, 2011 11:11 pm
Reply with quote

see here for tested snippets
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
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: 2455
Location: Hampshire, UK

PostPosted: Sun Aug 07, 2011 11:44 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Routing command Address SDSF to other... TSO/ISPF 2
Search our Forums:

Back to Top