View previous topic :: View next topic
|
Author |
Message |
pcsingh_2000
New User
Joined: 26 May 2004 Posts: 6 Location: Kolkata
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
pcsingh_2000
New User
Joined: 26 May 2004 Posts: 6 Location: Kolkata
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
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 |
|
|
|