Dave. The FCO messages indicate you are using CA PDSFASt and not really iebcopy.
Next, either tool is for PDS to PDS. Others are correct in stating a seq copy is what you want, like iebgener. Sort. Iebupdte and so on Lizette -----Original Message----- >From: "Hansen, Dave L - Eagan, MN" <[email protected]> >Sent: Mar 19, 2014 9:40 AM >To: [email protected] >Subject: Help with IEBCOPY? > >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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
