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.
-- 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 1:00 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Unzip on z/OS ? On Thu, 23 Mar 2023 16:00:40 +0000, Seymour J Metz wrote: >What's wrong with goof old Infozip? > NIH. jar works fine for me, except for files created with 7zip and some of its fancy options. It's very unlikely that zip creates an ASCII file. Perhaps IBM-1252, UTF-8, Quoted-Printable. Base64, ...? Or just binary. with the "-aa" option, Info-Zip might convert ASCII members->EBCDIC, (FSVO each.) >________________________________________ >From: MARTIN, MIKE >Sent: Thursday, March 23, 2023 10:33 AM > ... >We have z/OS 2.4 and we are wondering if we can unzip an ASCII file that was >zipped on the Windows platform. > >I've seen references to gzip, Ported Tools, 3rd party software. What are our >options for unzipping a file with the z/OS 2.4? -- 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