linkType in transferToProgram element

The linkType property of the transferToProgram element of the linkage options part specifies the type of linkage to generate in relation to a transfer to program statement. This property is only used with COBOL generation. Valid values are as follows:
DYNAMIC (the default)
In programs that run on CICS® for z/OS®, a CICS implements the transfer statement.
In programs that run on z/OS outside of CICS, the following statements apply:
  • a dynamic COBOL call is generated in the first program in the run unit;
  • the EGL run time handles processing so that the transfer simulates the behavior of a CICS-based program.
The target program is assumed to be produced by EGL or by VisualAge® Generator.
STATIC
In programs that run on CICS for z/OS, a CICS implements the transfer statement.
In programs that run on z/OS outside of CICS, the following statements apply:
  • A static COBOL call is generated
  • The EGL runtime handles processing so that the transfer simulates the behavior of a CICS-based program
The value STATIC is required for target programs that call PL/I programs or that call programs that call PL/I programs. The target program is assumed to be produced by EGL or by VisualAge Generator.
EXTERNALLYDEFINED
Specify the value EXTERNALLYDEFINED if you are transferring to a program that was not produced by EGL or VisualAge Generator. In all COBOL target systems, an XCTL implements the transfer statement.

Alternatively, you can specify isExternal = YES on the transfer to program statement.

You can find more information on transfer statements in the EGL Language Reference.