Pipes.

On Thu, 28 Mar 2019, 2:11 pm Kirk Wolf, <k...@wolf-associates.com> wrote:

> You could do it with Co:Z Batch + Dataset Pipes without creating a
> temporary file:
>
> //SHELL EXEC PGM=COZBATCH
> //IN  DD DISP=SHR,DSN=...
> //OUT DD DISP=(NEW,CATLG),DSN=...,
> //       DCB=(RECFM=VB,LRECL=27994),SPACE=....
> //STDIN DD *
>   fromdsn -b //DD:IN  |
>      todsn -b -l l4  //DD:OUT
> //
>
> Now, if you meant "flat file" as a Unix file, then just:
>
> //STDIN DD *
>     todsn -b -l l4 //DD:OUT < /path/to/my.flat.file
> //
>
> Kirk Wolf
> Dovetailed Technologies
> http://dovetail.com
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to