| Note: Usage options |
The CALL command is used to invoke a 3GL program or process or function and optionally pass parameters, data structures and lists into it. The CALL command can also be used in WAM Components to invoke other WEBROUTINEs in the same WAM Component or other WAM Components.
Portability Considerations | See Parameters PARM and PGM and Specifying File Names in I/O Commands. |
7.9.2 CALL Comments / Warnings
Optional CALL --------- PGM ------------- *NONE ---------------------> >-- PROCESS --------- *NONE ---------------------> >-- FUNCTION ------ *MENU -----------------------> >-- WEBROUTINE --- webroutine name -------------> >-- ONENTRY ------ *MAP_NONE ------------------> >-- ONEXIT -------- *MAP_NONE -------------------> >-- PARM ---------- list of parameters ---------------> >-- EXIT_USED ------ *EXIT -----------------------------> >-- MENU_USED ---- *MENU --------------------------> >-- NUM_LEN ------ *ALL15 ---------------------------> >-- PGM_EXCH ----- *NO -----------------------------> >-- IF_ERROR ------ *ABORT --------------------------> >-- PASS_DS ------ data structure names ------> >-- PASS_LST ----- working list names -------------| |