Linkage options part in Java generation

A linkage options part provides the various elements that enable you to specify details of how you want certain statements to be implemented in your generated Java code. It contains some or all of the following elements:
  • The asynchLink element provides details on how a generated program starts a particular program or transaction asynchronously using the vgLib.startTransaction system function.
  • The callLink element provides details on how a call statement is to be implemented when calling a particular program, or how a particular called program will be called.
  • The transferToProgram element provides details on how a transfer to program statement is implemented when transferring to a particular program.
  • The transferToTransaction element provides details on how a transfer to transaction statement is implemented when transferring to a particular transaction (or program in non-transactional environments).

Specifying when linkage options are final

For generated Java code, you can choose between two alternatives:
  • The linkage options specified at generation time are in effect at run time; or
  • The linkage options specified in a linkage properties file at deployment time are in effect at run time. Although you can write that file by hand, EGL generates it in this situation:
    • You set the remoteBind linkage options property to RUNTIME; and
    • You generate a Java program or wrapper with the genProperties build descriptor option set to GLOBAL or PROGRAM.