Fixes CRLF, but also  uses a wired-in translation table. The point of using -b 
is to do your own translation, but that means no CRLF conversion.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [0000042bfe9c879d-dmarc-requ...@listserv.ua.edu]
Sent: Thursday, March 23, 2023 5:00 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Unzip on z/OS ?

On Thu, 23 Mar 2023 20:41:40 +0000, Seymour J Metz wrote:

>Why use unzip -a if the data are anything but ASCII? use unzip and a separate 
>iconv. You might need another step to deal with line endings; I don't recall.
>
unzip -a also fixes CRLF.

z/OS pax also does code page conversion.  (But not related FILEDATA changes.   
WAD.)
In one case I did three passes of "pax -r" with different filename templates.

--
gil

----------------------------------------------------------------------
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