transferToTransaction element
A transferToTransaction element of a linkage options part specifies how a generated program transfers control to a transaction and ends processing, as occurs when the originating program uses the transfer to transaction statement.
The element includes the required toPgm property
and may include these optional properties:
- alias, as is necessary if your code is transferring to a program whose runtime name is different from the name of the related program part.
- externallyDefined, as is necessary if your code is transferring to a program that was not generated with EGL or VisualAge® Generator.
- packageName, as is necessary for a Java™ program if the Java™ program is transferring to a program that is not in your workspace or will be generated to a different package for deployment.
If you are generating COBOL code, you can avoid specifying a transferToTransaction element when the target program is generated with VisualAge® Generator or (in the absence of an alias) with EGL.