crtegg
CRTEGG
Easy to use tool for saving, restoring and distributing IBMi Library Data
CRTEGG is a versatile tool for easy distribution of iSeries (AS/400) programs, objects or files.
This is used to save and compress any AS/400 library into a PC File ready for electronic transmission (ie: email, diskettes, CD, etc..) to any other user of PROJEX400 - think of this is the AS400 version of a ZIP file.
‘EGGS’ give tremendous compression, and facilitate simple transport of AS/400 data to other AS/400’s. For example, the entire PROJEX400 library loaded with data (around 50Mb) can be saved as an egg and than transported via email for less than a single megabyte. Using this as an example you could type the following command:
PROJEX4I/CRTEGG LIB(LIBNAME)
EGG(*LIBRARY)
NESTFLR(*PROJEX)
EGGMSG('Hey John - Here is that Library I promised to send you')
TGTRLS(*CURRENT)
ZIP(*YES)

This would calculate an Egg name of LIBNAME.EGG and place it in the PROJEX folder ready for you to copy to your PC for email or diskette transmission.
There are a few different command parameters on the CRTEGG command, all of which have extensive help text.
Obviously if you receive any EGG and want to install it - then you need PROJEX4i installed on your machine. If you want to look inside an EGG? Use DSPEG. If you want to restore an Egg? Use RSTEGG.
/me mumbles something about that being pretty obvious really.







