Dave,

Apart from IEBGENER, you can use IEBUPDTE to create a new member from a 
sequential Input. You just need to have ./ ADD    NAME=member_name at the 
beginning of each member contents. And you also need to use PARM=NEW on 
IEBUPDTE.

The following example will create 2 new members in an existing pds.

//STEP0100 EXEC PGM=IEBUPDTE,PARM=NEW
//SYSPRINT DD SYSOUT=* 
//SYSUT2   DD DISP=SHR,DSN=Your.exiting.pds
//SYSIN    DD *
./ ADD    NAME=DRSSKEY
contents to be copied as member DRSSKEY
..
./ ADD    NAME=KEYLRS
contents to be copied as member KEYLRS
//*


Thanks,
Kolusu

IBM Mainframe Discussion List <[email protected]> wrote on 
03/19/2014 09:40:34 AM:

> From: "Hansen, Dave L - Eagan, MN" <[email protected]>
> To: [email protected], 
> Date: 03/19/2014 09:41 AM
> Subject: Help with IEBCOPY?
> Sent by: IBM Mainframe Discussion List <[email protected]>
> 
> 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

Reply via email to