EGL Reference Guide for iSeries

Editing the callLink element of a linkage options part

A linkage options part describes how a generated EGL program implements calls and transfers and how the program accesses files. To edit the part's callLink element, do as follows:

  1. When you are working in the EGL or EGL Web perspective, open an EGL build file with the EGL build parts editor.

    If you do not have a file open, do as follows in the Project Navigator:

    1. Right-click on the EGL build file
    2. Select Open With > EGL Build Parts Editor
  2. By default, the Outline view is open in the EGL perspective. If you are working in the EGL Web perspective, open the Outline view by selecting Show View > Outline from the Window menu. In the Outline view, right-click a linkage options part and click Open. The EGL part editor displays the current part declaration.
  3. Click the Show CallLink Elements button on the editor toolbar.
  4. To add a new CallLink element, click Add or press the Insert key, and type the Program Name (pgmName) or select a program name from the Program Name drop-down list.
  5. To change the default call type associated with your program name, you can either:
  6. Other properties associated with your program name are listed in the Properties of selected callLink elements list based on the call type. To change the value of one of these properties, select the program name. In the Properties of selected callLink elements list, click the property you want to define once to put the Value field associated with that property into edit mode. Define the new value by selecting an option in the Value drop-down list, or by typing the new value in the Value field. For some properties, you can only select an option in a drop-down list. For other properties, you can only type a value in the Value field.
  7. Modify the CallLink elements list as needed:


Related concepts
Linkage options part


Related tasks
Adding a linkage options part
Switching to the EGL or EGL Web perspective


Related reference
asynchLink element
callLink element
EGL build-file format


Linkage properties file (details)
transferToProgram element


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