> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Earnie Allen
> Sent: Tuesday, July 24, 2007 8:14 AM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: PDS to SEQ and back to PDS
> 
> 
> I am in need of a fairly straightforward method of turning a 
> PDS into a
> flat file (for modifications) and then back into a PDS.  Having the
> original ISPF stats present in the final PDS is not 
> necessarily a critical
> part of the process for us --- nice, but not absolutely necessary.
> 
> I have an REXX exec that does the process, but it is not set 
> up to run as a
> batch job.  Would that it were ... sigh.
> 
> I have come across the CBT FILE093 solution(s) --- but, there 
> appear to be
> many varieties.
> 
> Some assistance/suggestions, please?
> 
> Earnie Allen

The simpliest way that I know of is to use SAS and PROC SOURCE. That can
unload a PDS to a sequential file and put IEBUPDTE control cards (or
other control cards) between members. You then edit the sequential file
and then submit an IEBUPDTE step to reload the PDS members.

Why can't you run your REXX in batch? I often use ISPF edit macros in
batch to modify all members of a PDS. This maintains the ISPF
statistics. It is a bother to create the JCL, but not difficult once
that is done.

If you are truly weird, you could use ftp creatively to put all the
member of the PDS into a new UNIX subdirectory, then do some processing
there, then ftp back to the PDS. I'm not suggesting this, just
mentioning it. Similarly, you could ftp into a set of sequential files,
but I don't see the utility in that.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to