On 21 August 2013 20:39, Barry Merrill <[email protected]> wrote: > It's an easy JCL exercise to conduct an experiment to confirm what happens: > > TRSMAIN/AMATERSE will read a truncated tersed file and never detect it was > truncated. > > I copied a 105472 byte valid tersed file into a > DISP=(,CATLG,CATLG),SPACE=(TRK,(1)). > The original untersed to 360,480 bytes, while the truncated file > untersed to only 48152, and there was no message nor warning that the input > file was short.
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Manfred Lotz Sent: Thursday, September 26, 2013 7:37 AM To: [email protected] Subject: Re: Old Info-zip program < I know the Info-zip program is very old, year 2000, but I need a FREE compression program that checks the consistency of the compressed file when it is uncompressed. info-zip works fine on one of our systems (z/OS 1.13 USS). There is another possibility to zip a file. You could use jar, the Java archive tool. A JAR file is just a zip file. < I was using TRSMAIN, but I found out the hard way that a tersed file can be truncated and TRSMAIN doesn't issue an error message. Ooops. This I would classify as a bug. Did you open a PMR? -- Manfred ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
