Mark's SDSF@DR program is a start, but it also allocates a separate sequential file for each job, albeit with good information about each job encoded in the DSN.
However, his program could easily be modified to create members in a PDS by using ISFPRTDISP='OLD' and ISFPRTDSN='desired.pds.dsname' (or perhaps better to avoid running out of room in the PDS, ISFPRTDSN='desired.PDSE.dsname') and ISFPRTMEMBER=jname.i instead of the technique it now uses. Then all of the other ISFPRTxxxx variables can be set to null strings as they are ignored when ISFPRTDISP='OLD'. If you have the free version of PDS86 from CBT or one of the commercial equivalents you could also set the ISPF statistics of the member you add to record when it was added to the PDS(E) and by whom, but that is optional. I also noticed that Mark's program presumes that you need the ISFPRTVOLSER and ISFPRTUNIT fields for ISFPRTDISP='NEW' output. Even for a sequential file, for purely SMS shops like my own you would instead want to specify all of the "class" variables and leave the volser and unit parameters null, like this: ISFPRTSTORCLAS=storclas ISFPRTMGMTCLAS='MCLARGE' ISFPRTDATACLAS='DCLARGE' ISFPRTUNIT='' ISFPRTVOLSER='' Where MCLARGE and DCLARGE are suitable defaults for your own SMS environment. YMMV of course. HTH. Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Paul Gilmartin Sent: Friday, March 01, 2013 10:00 AM To: [email protected] Subject: Re: SDSF Rexx Issue - to copy SYSOUT into PDS On Fri, 1 Mar 2013 09:04:46 +0530, saurabh khandelwal wrote: > >But if I use, PS file, then for every job I will have one dedicated dataset >and it will be painful if I have 100+ jobs. > Again, I'll recommend UNIX directories. They allow keeping things much better organized -- even a subdirectory for each step within each job. >On Thu, Feb 28, 2013 at 6:18 PM, Stocker, Herman wrote: > >> You may want to take a look at Mark's SDSF@DR program. It sounds like >> what the OP wanted to do. >> I had been unaware of this. Thanks, Herman. >> Mark's page: >> http://www.mzelden.com/mvsutil.html >> Thanks, Mark. -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
