EGL Reference Guide for iSeries

transferToTransaction element

A transferToTransaction element of a linkage options part specifies how a generated program transfers control to a transaction and ends processing. The element includes the property toPgm and may include these properties:

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.


Related concepts
Linkage options part


Related tasks
Adding a linkage options part
Editing the transfer-related elements of a linkage options part


Related reference
alias in transfer-related linkage elements
externallyDefined in transferToTransaction element
fromPgm in transferToProgram element
linkType in transferToProgram element
toPgm in transfer-related linkage elements

alias in transfer-related linkage elements

In the transfer-related elements of the linkage options part, the property alias specifies the run-time name of the program that is identified in property toPgm.

The value of this property must match the alias (if any) you specified when declaring the program to which you are transferring. If you did not specify an alias when declaring that program, either set the property alias to the name of the program part or do not set the property at all.


Related concepts
Linkage options part


Related tasks
Adding a linkage options part
Editing the transfer-related elements of a linkage options part


Related reference
transferToProgram element
transferToProgram element
toPgm in transfer-related linkage elements

externallyDefined in transferToTransaction element

The linkage options part, transferToTransaction element, property externallyDefined indicates whether you are transferring to a program that was produced by software other than EGL or VisualAge Generator. Valid values are no (the default) and yes.

If you specify yes, an XCTL implements the transfer statement in all COBOL target systems.

If the program property VAGCompatibility is set to yes, you can specify externallyDefined in the transfer statement, as noted in Compatibility with VisualAge Generator. It is recommended that the value be specified in the transferToTransaction element instead, but the value is in effect if specified in either place.


Related concepts
Compatibility with VisualAge Generator


Related tasks
Adding a linkage options part
Editing the transfer-related elements of a linkage options part


Related reference
transfer


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]