Re: copy PS into PDS with RPF?
Rick Fochtman <[email protected]> Sun, 08 Aug 2010 22:17:58 -0500
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
-----------------------<snip>----------------------------- > On Sat, Aug 7, 2010 at 10:07 AM, Gerhard Postpischil > <[email protected] <mailto:[email protected]>> wrote: > > > > ALLOC FI(SYSUT1) DA('input-ps-dataset') SHR > > ALLOC FI(SYSUT2) DA('output-pds(membername')) SHR > > ALLOC FI(SYSIN) DUMMY > > ALLOC FI(SYSPRINT) DA(*) > > CALL 'SYS1.LINKLIB(IEBGENER)' > > > Will this work to copy a PDS member into a non-pds dataset as well? > (If the need ever arose...) ----------------------------------<unsnip>--------------------------- Yes. IEBGENER copies from SYSUT1 to SYSUT2 and the type of dataset named on each DD statement has not effect. BEWARE of one common mistake: not specifying a member name on SYSUT2 when the dataset is a PDS. You'll over-write the directory and essentially destroy the PDS. Rick <mailto:[email protected]?subject=Re:%20%5Bturnkey-mvs%5D%20copy%20PS%20into%20PDS%20with%20RPF?>