1. What it is
Almost every day I release a new version (containing enhancements and/or fixes) of one of the several Easy400.net utilities.
After spending a lot of time in code development and testing, I hate to waste more time in the packaging duties, like:
- save the library for that utility
- write a readme.txt file containing the installation instructions
- download them both to my PC
- compress them both into a .zip file
- upload the .zip to my Easy400.net site, where the utility can be downloaded from the final users.
This is why I developed an utility, EZPACK, that performs the packaging of the utility completely on the IBM i,
with out the need of using a PC to zip files. My utility
- saves the library according to the target release you desire
- generates a readme.txt file containing the installation instructions
- creates an IFS .zip stream file which includes both the readme.txt file and the save file.
- V5R2 or any subsequent release
- ILE-RPG compiler
Once this is done, you can save library EZPACK and restore it on another IBM i box.
Just remember to run command EZPACK/INSTALL, which creates and populates library EZPACKDTA.
- Download file ezpack.zip from site Easy400.net
- Extract the readme.txt file and the ezpack.savf save file
- Upload the save file to your IBM i according to the instructions in the readme.txt file
- Restore library EZPACK
- Run command STRREXPRC SRCMBR(INSTALL) SRCFILE(EZPACK/QREXSRC) .
- Creates display files, programs, commands and panel groups in library EZPACK
- Runs command EZPACK/INSTALL to create and populate library EZPACKDTA.
This library will contain local data.
If you want to make these documentation pages available via HTTP on your system, you must add the following HTTP directives to your HTTP instance:
Alias /ezpack /ezpack
allow from all
4. Command EZPACK/PKLIB
PKLIB is the command that does the packaging of a library into a zip file.
Save library as a zipped *STMF (PKLIB)
Type choices, press Enter.
Library name . . . . . . . . . . LIB *SELECT Name, *SELECT
See the next page for a walk through the execution of this command.