toPgm in transferToTransaction element

In the transferToTransaction element of the linkage options part, the required toPgm property specifies one of the following:

If the function word sysVar.transferName is specified as the target in a transfer statement, do not specify that system variable in the related toPgm property. Instead, specify the program name that will be in sysVar.transferName when the program runs. Alternatively, specify a linkageKey on the transfer to transaction statement and specify the value of that linkageKey as the toPgm property.

You can find more information about the system variables and functions mentioned here in the topics "transfer" and "transferName" in the EGL Language Reference.


Feedback