EGL Reference Guide for iSeries


Program part

A program part defines the central logical unit in a run-time COBOL or Java program. For an overview of main and called programs and of the program types (basic and textUI), see Parts.

Any kind of program part includes a function called main, which represents the logic that runs at program start up. A program can include other functions and can access functions that are outside of the program. The function main can invoke those other functions, and any function can give control to other programs.

The most important program properties are as follows:

For a complete list of program properties, see Program part properties.


Related concepts
FormGroup part
Function part
Parts
References to variables and constants
Segmentation in text applications


Related tasks
Creating an EGL program part


Related reference
Content assist
Data initialization
EGL source format
EGL statements
Program part in EGL source format
Program part properties


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