CRTEGG – Create Save an IBMi Library into an *EGG*

0 Comments

CRTEGG - Save AS400 library into the IFS SAVF to an EGG

What is an IBM i EGG?

An Egg is an IBM i *SAVF that has been laid in an IFS location.

An EGG is essentially a file containing an XML description of the *SAVF that is also included within it. It can be created (just like a SAVLIB but including a description plus other information), displayed and restored. It can easily be ZIPPED and emailed to other IBM i Systems.

Lets backup my work library for example:

CRTEGG LIB(NLITTEN)                                            
       EGGMSG('This is a save of Nicks Development library. This is just being saved to show the functionality within the Projex4i CRTEGG command')        
       SAVACT(*SYNCLIB)                                        
       SPLFDTA(*ALL)                                           
       QDTA(*DTAQ)                                             
       TGTRLS(V7R3M0)                                          
       POSTPROCMD(*NONE)                                       
       ZIP(*NO)                                                
       REPLACE(*NO)                                            
       FORMAT(*EGG)                                            
       CPROBJ(*YES)                                            
       DLTLIB(*NO)                                             

While the Egg is being created it will show a status window:

CRTEGG - Library Save in Progress

This will create a file looking like this:

CRTEGG - Library Save completed into an IFS EGG

You can Display the Egg using the DSPEGG command.

About the author 

Software Projex

Home of free IBM i | System i | iSeries | AS400 software utilities since the twentieth century.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
Subscribe to get the latest updates
>