EGL Server Guide for iSeries


iSeries preparation script file FDAPREP

To process the build plan successfully, the preparation script FDAPREP is invoked on iSeries by the build server. The script normally resides in the QEGL/REXSRC file, but can be copied to another location and customized.

The script is invoked, by the build server, using the STRREXPRC command: STRREXPRC SRCMBR'(FDAPREP)' SRCFILE'(*LIBL/QREXSRC)' ... (other parms) Thus it is necessary to have the file containing the preparation script in a file included in *LIBL.

The preparation script is written in standard rexx, and you may want to modify it for customization purposes. The SYMPARM variables defined by the user in the build descriptor at generation time are available to this program as standard rexx variables and they can be used to influence the logic according to your needs. In addition, some standard variables are always defined, as in the following example:

EZENLS="ENU"
EZEPID=""
EZEDATA="31"
EZEENV="ISERIESC"
EZEMBR="iTest"
EZEGTIME="08:57:38"
EZEGMBR="iTest"
EZEGDATE="02/23/04"
EZESQL="N"
EZETRAN="iTest"
EZEFUNCTION="PMN"
EZEDESTLIBRARY="TEST"

The generation step creates a variables file appname.evf, which contains the variables and is passed to the preparation script.


[ Top of Page | Previous Page | Next Page | Table of Contents ]