Previous Topic: Setting Up Color MenusNext Topic: Execution Environments


Calling a Program

You can execute a compiled program using:

CALL program ' '

where:

Note: Other parameters may be required. How these are passed depends on how they are defined in the function.

For more information:

To find the name of the program you want to execute, use one of the following methods:

Option

Value

Option type

PGM

Option to be executed

?

Library

*MDL

A selection list of functions displays. Note the source member name (DDS name) of the function you want to execute.

Note: All CA 2E generated external functions have at least one parameter, a return code. In the following logic, checking is being done to show the program ended normally: