The steps required to create a COBOL load module are as follows:
The build descriptor option distLibrary specifies the iSeries library into which the code is placed.
Related concepts
COBOL program
EGL projects, packages, and files
Generated output
Generation
Related tasks
Building EGL output
Related reference
Build scripts delivered with EGL
destLibrary
Generated output (reference)
Output of COBOL generation
Build descriptor options are set in build descriptor parts. To choose build descriptor options for COBOL generation, start the EGL editor and edit the build descriptor part.
When you begin editing a build descriptor part from the GUI, the EGL editor contains a pane listing all EGL build descriptor options. To limit the display to options that are applicable to a particular kind of generated output, select a category from the Build option filter drop-down menu. The categories with the word Basic contain build descriptor options that are used most frequently, while the categories with the word All contain every option possible for the specified output. The word iseriesc refers to EGL-generated COBOL programs that run on iSeries.
Select each option you want and set its value. The value can be literal, symbolic, or a combination of literal and symbolic. You can define symbolic parameters in the EGL part editor, as described in Editing general build descriptor options.
Two build descriptor options--genDirectory and destDirectory--let you use a symbolic parameter for the value or a portion of the value. For example, for the value of genDirectory you can specify C:\genout\%EZEENV%. Then if you generate for a Windows environment, the actual generation directory is C:\genout\WIN.
You do not need to specify all the options listed. If you do not specify a value for a build descriptor option, the default for the option is used when the option is applicable in the generation context.
If you have specified a master build descriptor, the option values in that build descriptor override the values in all other build descriptors. When you generate, the master and generation build descriptors can chain to other build descriptors as described in Build descriptor part.
Related concepts
Build descriptor part
Related tasks
Choosing options for Java generation
Editing general build descriptor options
Related reference
Build descriptor options
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.