Addendum


Compilation (MAKE procedure) error on V5R3

It seems like IBM has changed C compiler behavior which causes compile errors even for V5R2-ready programs. As a quick circumvention, edit MAKE procedure as follows.

0019.00 TGTRLS = 'V5R2M0'

Large file support

If you want to zip/unzip file larger than 2GB, set SYSIFCOPT to '*IFS64IO'. This option should work with V5R1 (possibly V4R5 with appropriate PTF) or later.

This version of zlib (to be more accurate, minizip/miniunz) does not support large file (>2GB). For more information, see http://forum.winimage.com/viewtopic.php?t=6.


Bug fix

"MAKE" procedure has a minor bug. You should either :

modify CRTPGM command for MINIZIP400 in source member ZLIB/QREXSRC(MAKE) as follows

'CRTPGM PGM(&OLIB/MINIZIP400) ',
'MODULE(QTEMP/MINIZIP400 QTEMP/ZIP400 QTEMP/EBCDIC400) ',

or

run MAKE procedure twice.


"REPLACE" parameter in ZIP OS/400 command does not work properly. Please modify ZLIB/QCLSRC(ZIPCLP) as follows:

(before)
0006.00 DCL VAR(&REPLACE) TYPE(*CHAR) LEN(7)
(after)
0006.00 DCL VAR(&REPLACE) TYPE(*CHAR) LEN(8)

[Home]