toPgm in transferToProgram element
The toPgm property
of the transferToProgram element
of the linkage options part is a required property that specifies
one of the
following:
- The name of the program part (or the non-EGL program) that receives control.
- The value of a linkageKey property that was specified for a transfer to program statement. Using a linkageKey enables you to create a single transfer to program entry for multiple programs that have the same characteristics for the transfer to program statement.
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.
You can find more information on transfer statements and the transferName system variable in the EGL Language Reference.