I don't understand exactly what you want. Do you have a data in a sequential data set and you want to put that same data into a member of a PDS? If yes, then IEBCOPY is the wrong utility. It copies members from one PDS to another, or from an "unloaded" PDS, which was created with IEBCOPY from a PDS, into a PDS.
If you want to copy the data, as is, then used IEBGENER. Point SYSUT1 to the sequential DSN. Point SYSUT2 to the PDS with a member name, e.g. DSN=PDS(MEMBER),DISP=OLD On Wed, Mar 19, 2014 at 11:40 AM, Hansen, Dave L - Eagan, MN < [email protected]> wrote: > Dear listeners, > > I am trying to use IEBCOPY to copy a sequential data set to a > partitioned dataset. We are running z/OS V1R13. I looked in the DFSMSdfp > Utilities (SC26-7414-07). > > I found Example 8: Loading a Data Set. However this example says the > sequential data set was created using an IEBCOPY unload operation. > > I found Example 9: Unload Selected Members, Load, Copy and Merge. > However the sequential datasets are used as output. > > I tried "C I=INDD1,O=OUTDD1" and "S M=(DRSSKEY,KEYLRS)". I would like > the flat file to be copied into two PDS members in the same dataset. If I > can get one member created that would be nice. > > My problem may be IEBCOPY can't do that. My messages are: > > FCO105I C I=INDD1,O=OUTDD1 > FCO105I S M=(DRSSKEY,KEYLRS) > FCO110I LOADING TO PDSE OUTDD=OUTD1 VOL=xxx DSN= xxx > FCO111I FROM PDSU INDD=INDD1 VOL=xx DSN=xxx > FCO710A SYNADAF DATA - 618F,D,INDD1 > ,UNKNOWN,WRNG.LEN.RECORD,00000878000000,BSAM > FCO702A DSN IN ERROR = xxx > FCO701A DDNAME INDD1 PERMANENT I/O ERROR WHEN READING UNLOADED DATASET > BLOCK 1 > > > The first message FCO710A says there is more information in FCO700A. > > The second message FCO701A says it's trying to read from the "unloaded" > dataset. > > > Q). Can I use IEBCOPY to copy a flat file to a PDS? > > Q). I am running a REXX exec using IEBCOPY. Would you recommend a > different approach for my REXX exec? > > > Thank you, Dave > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
