A
transferToTransaction element of a
linkage options part specifies how a generated program transfers control
to a transaction and ends processing, as occurs when the originating
program uses the
transfer to transaction statement.
To edit the
transferToTransaction element,
follow these steps:
- Locate the EGL build file you want to work with in the Project
Explorer view. To find it, open the EGL Source folder, and look for
a file with the extension EGLBLD. Right-click on the build file to
open the pop-up menu.
- In the pop-up menu, select . The Build
Parts Editor opens the Build Descriptor part automatically; the default
view is the General Options view.
- If you have the Outline view open, you will see the Build Descriptor
part listed under the name of your build file. If you do not have
the Outline view open and want to open it, select ; in the Show View dialog box, click to expand General and
select Outline.
- In the Outline view, right-click a linkage options part and click Open.
The EGL Build Parts Editor displays the current part declaration.
- Click the Show TransferLink Elements button
on the editor toolbar. The Transfer to Program and Transfer
to Transaction lists display.
- To edit the Transfer to Transaction list,
follow these steps:
- At the bottom of the Transfer to Transaction list,
click Add or press the Insert key, and type
a value in the To Program (toPgm) field, or
select a program name from the To Program name
drop-down list.
- If an alias name is needed, select the row in the Transfer
to Transaction list that you want to edit, then click
the Alias field once to put the field into
edit mode. Type the alias name.
- To edit the Externally Defined property
associated with your program name, select the row in the Transfer
to Transaction list that you want to edit, then click
the Externally Defined field once to put the
field into edit mode. Select the externally defined property from
the Externally Defined drop-down list.
- If a package name is needed, as might be the case for Java™ if the From Program (fromPgm)
is not in your workspace or is in a different package than the To
Program (toPgm), select the row in the Transfer
to Transaction list that you want to edit, then click
the Package Name field once to put the field
into edit mode. Type the package name into the field.
- Modify the Transfer to Transaction list as needed:
- To reposition a transferToTransaction element,
select an element and click either Move Up or Move
Down.
- To remove a transferToTransaction element,
select an element and click Remove or press
the Delete key.