On Thu, 30 Apr 2009 16:15:41 -0500, Kirk Wolf wrote:
>Its a *nix command, available in z/OS USS. See "man expand"
>
>Kirk Wolf
>Dovetailed Technologies
>http://dovetail.com
>
>PS> It is easy to mix Unix with z/OS batch using the free Co:Z Toolkit.
>You could have one step FTP the data to a temporary dataset and then
>follow with a step like this:
>
>// EXEC PGM=COZBATCH <- a better BPXBATCH
>//IN DD DISP=OLD,DSN=&&FTPDS
>//OUT DD DISP=(NEW,CATLG),DSN=MY.DSN,...
>//STDIN DD *
> fromdsn //DD:IN | expand -4 | todsn //DD:OUT
>//
>
Perhaps even better, most UNIX FTP clients other than
IBM's support piping on the client end such as:
ftp zoshost
put "| expand local.entabbed.file" MY.DSN
quit
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html