Previous Topic: Calling an External Function

Next Topic: Additional Action Diagram Editor Facilities

Calling an Internal Function

Since an internal function cannot be called directly, you need to select an external function that calls it.

Type ? for the Call function option and press Enter. The Select External Function panel displays showing usages for the function you are editing. External functions are highlighted.

Action Diagram Services SYNMDL

Type choices, press ENTER.

Find option . . . . . . . . . : 1 1=Criteria, 2=Error

Occurrences to process . . . . : 1 1=Next, 2=All, 3=Previous

Display find in context . . . : 2 1=Exact, 2=Block, 3=User point

Find function file name . . . : Name, *ALL

Find function name . . . . . . : Name, *ALL

Find field name . . . . . . . : Name, *ALL

Context . . . : Usage . . . : (I/O/B/U)

Search for date . . . . . . . : 5/06/13 CYYMMDD

Compare . . . . . . . . . . . : 1=Less than, 2=Less than or equal to,

3=Equal to, 4=Greater than or equal to,

5=Greater than

Scan in titles and comments . : Ignore case . : Y

Scan for implementation name :

Reset change dates . . . . . . : (Y/N) Share find criteria . . : N

Full screen mode . . . . . . : N (Y/N) Auto-scan functions . . : N

Call function . . . . . . . . : Edit Horse

Horse

F3=Exit F7=Find F9=Command line F11=Conditions F12=Cancel F16=Y2CALL

  1. If the display of usages is extensive, use the function keys to position the display to the appropriate function.

    For more information on use of the function keys for this panel, see the online help.

  2. Use the selection options to select a function from one of the three displayed columns, which are numbered from left to right. Press Enter.

    The Action Diagram Services panel redisplays with the selected function’s name and file displayed for the Call function option.

    Calling an Internal Function

  3. Press F16 to prompt the Call a Program (Y2CALL) command. Adjust any parameters and press Enter to invoke the call.