On Mon, 7 Jun 2021 13:32:49 +0000, Woo, Pete wrote:
>I am at z/OS 2.3 system. Has anybody de-compress a USS ".tar" file to a z/OS
>tape file. If so, can you share the code.
>
Decompression should be unnecessary.
Pax, and I believe tar, will directly read/write catalogued Classic data sets.
It may be necessary to write to interim DASD and IEBGENER to tape.
I prefer pax to tar, partly because of the pax code page translation options.
(Although translated extracted files may be tagged incorrectly. SR; WAD.)
z/OS uses POSIX compress; Linux gzip deflate, so a filter may be necessary:
gunzip <archive.pax.Z | pax -r
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN