EGL Reference Guide for iSeries

asynchLink element

An asynchLink element of a linkage options part specifies how a generated Java or COBOL program invokes another program asynchronously, as occurs when the originating program invokes the system function sysLib.startTransaction.

You can avoid specifying an asynchLink element if you accept the default behavior, which assumes that the created transaction is to be started from the same Java package.

Each element includes the property recordName, which references a record that is also referenced in the specific sysLib.startTransaction function whose action is being modified.

For Java programs, the other property is package, which is needed only if the source for the invoked program is in a package that is different from the invoker's package.


Related concepts
Linkage options part


Related reference



package in asynchLink element
recordName in asynchLink element

package in asynchLink element

The linkage options part, asynchLink element, property package is valid only for Java output and specifies the name of the package that contains the program being invoked. The default is the package of the invoking program.

The package name that is used in generated Java programs is the package name of the EGL program, but in lower case; and when EGL generates output from the asynchLink element, the value of package is changed (if necessary) to lower case.


Related concepts
Linkage options part


Related reference
asynchLink element




recordName in asynchLink element

recordName in asynchLink element

The linkage options part, asynchLink element, property recordName specifies the name of the record that is used in the system function sysLib.startTransaction. In this case, the record name is used to identify which program or transaction is associated with the asynchLink element.

You can use an asterisk (*) as a global substitution character in the record name; however, that character is valid only as the last character. For details, see Linkage options part.


Related concepts
Linkage options part


Related reference
asynchLink element




package in asynchLink element
sysLib.startTransaction


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