externallyDefined in transferToTransaction element
The externallyDefined property of the transferToTransaction element of the linkage options part indicates whether you are transferring to a program that was produced by software other than EGL or VisualAge® Generator. This property is only used in COBOL generation. Valid values are NO (the default) and YES.
As an alternative to using the externallyDefined property of the transferToTransaction element, you can specify isExternal = YES on the transfer to transaction statement. If you specify YES, the transfer to transaction is done in such a way that EGL releases resources held by the EGL runtime environment.
For COBOL environments, the transfer to transaction is done as
follows:
- For CICS®, the transfer is implemented with an EXEC CICS® START (the default) or with an EXEC CICS® RETURN IMMEDIATE if the genReturnImmediate build descriptor option is set to YES.
- For IMS/VS, the transfer to transaction statement is implemented as an immediate program to program message switch.
- For z/OS® batch and IMS™ BMP, the transfer is implemented using the OS XCTL macro.
- For iSeries®, using the iSeries® XCTL interface.
You can find more information about transfer statements in the EGL Language Reference.