On Wed, 19 Mar 2014 09:45:26 -0700, Gerhard Adam wrote:

>You're  using the wrong utility.  You want IEBGENER.
> 
Maybe.

>-----Original Message-----
>Behalf Of Hansen, Dave L - Eagan, MN
>Sent: Wednesday, March 19, 2014 9:41 AM
>
>
>   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.
> 
What's the format of your flat file?  How are the two members
delimited.

>   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.
> 
Anything that's not a PDS is presumed to have been unloaded by IEBCOPY.

>   Q).  Can I use IEBCOPY to copy a flat file to a PDS?
> 
Only if it has been unloaded by IEBCOPY.

>   Q).  I am running a REXX exec using IEBCOPY.  Would you recommend a
>different approach for my REXX exec?
> 
IEBGENER?  I don't know the full capabilities of IEBGENER.  Can it
stop some known delimiter?

At worst, read records with EXECIO and write with EXECIO.

Someone will surely suggest DFSORT or ICEUTIL.  Not in my
skill set.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to