Installation

  1. Download zlib121.exe and execute it on Windows95/98/NT to extract zlib.savf.
  2. Create save-file on your AS/400.
  3. Connect to the AS/400 using any FTP client software.
  4. Put the distribution (zlib.savf) to the save-file by binary mode.
  5. Restore library 'zlib ' from the save-file using RSTLIB command.

You should recompile the distribution!

Library 'zlib' is modified and tested on V5R2. Just for your convenience, the distribution TGTRLS has been converted from V5R2 -> V4R5-> V3R2 though I don't know if it works on V5R1 and earlier. To recompile the package, edit ZLIB/QREXSRC(MAKE) as you like.
0006.00 SAY " * * * * * * * * * * * * * * * * * * * * * * "
0007.00 SAY " "
0008.00 /* SAY "Input object library name." */
0009.00 /* PULL OLIB */
0010.00 OLIB = 'ZLIB'
0011.00 SAY " "
0012.00 OUTPUT = '*PRINT'
0013.00 /* OPTIMIZE = '10' */
0014.00 OPTIMIZE = '40'
0015.00 /*DEBUG = '*ALL' */
0016.00 DEBUG = '*NONE'
0017.00 SYSIFCOPT = '*IFSIO'
0018.00 /* TGTRLS = 'V4R5M0' */
0019.00 TGTRLS = '*CURRENT'
Run the rexx procedure to recompile modules, service programs and ILE-C programs.
> CHGCURLIB CURLIB(ZLIB)
  Current library changed to ZLIB.
> STRREXPRC SRCMBR(MAKE) SRCFILE(ZLIB/QREXSRC)


Start ZLIB compilation.
You must have authority to exec CRTCMOD and CRTPGM.

  * * * * * * * * * * * * * * * * * * * * * *


Change JOBCCSID to 37 temporarily.
Remember to set correct JOBCCSID after compilation if necessary.

Start creating modules for ZLIB...
  creating module adler32...
  result-> 0
  creating module compress...
  result-> 0
  creating module crc32...
  result-> 0

~~~~~~~~~~~~~~~~~~~~~~~ SNIP ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
creating CL module ZIPCLP...
  result-> 0
  creating CL program ZIPCLP...
  result-> 0
  creating PLNGRP for ZIP...
  result-> 0
  creating OS/400 CMD for ZIP...
  result-> 0

Compile finished. Confirm error(s) if exists.

Press ENTER to end terminal session.
 

Object description.

Objects for Qshell environment

Object Type Attribute Text
MINIUNZ *PGM CLE miniunz for Qshell
MINIZIP *PGM CLE minizip for Qshell
ZLIB *SRVPGM CLE zlib 1.2.1 *SRVPGM for OS/400
/usr/bin/miniunz *PGM (symbolic link) Object link to /qsys.lib/zlib.lib/miniunz.pgm
/usr/bin/minizip *PGM (symbolic link) Object link to /qsys.lib/zlib.lib/minizip.pgm

Objects for OS/400 environment

Object Type Attribute Text
MINIUNZ400 *PGM CLE miniunz for OS/400
MINIZIP400 *PGM CLE minizip for OS/400
ZLIB *SRVPGM CLE zlib 1.2.1 *SRVPGM for OS/400
DSPZIPCLP *PGM CLLE Front end to MiniUnz (list only) utility
UNZIPCLP *PGM CLLE Front end to MiniZip (compress) utility
ZIPCLP *PGM CLLE Front end to MiniUnz (decompress) utility
DSPZIP *CMD (N/A) DSPZIP command
UNZIP *CMD (N/A) UNZIP command
ZIP *CMD (N/A) ZIP command
DSPZIPHLP *PNLGRP (N/A) DSPZIP command help panel
UNZIPHLP *PNLGRP (N/A) UNZIP command help panel
ZIPHLP *PNLGRP (N/A) ZIP command help panel


[Home]