A linkage options part specifies how an EGL generated program
calls or transfers to other generated code. This topic offers only
a high-level overview. For details on creating and customizing a linkage
options part, refer to the EGL Generation Guide.
The build descriptor file that you use when generating a program
allows you to specify a linkage options part for that program. The
linkage options part contains a set of elements, each of which has
a set of properties and values. The following types of elements are
available:
- A callLink element specifies the linkage
conventions that EGL uses for a given call.
- An asynchLink element specifies how
an EGL program transfers asynchronously to another program, as occurs
when the transferring program invokes the vgLib.startTransaction() system
function.
- A transferToProgram element specifies
how a generated COBOL program transfers control to a program and ends
processing.
- A transferToTransaction element specifies
how a generated program transfers control to a transaction and ends
processing.
In each element, a property (for example, pgmName)
identifies the programs or records to which the element refers. Other
properties provide additional information about the named program,
including type, location,
and so on.