Unlike the CALL command, which enables you to call WebFOCUS Maintain functions as RPCs, the EXEC command enables you to call FOCEXECs from Maintain. A Maintain procedure can execute any FOCEXEC that returns either a structured answer set or HTML. The data the FOCEXEC returns can be received back into a stack in the calling Maintain procedure.
Since an EXECed procedure is a FOCEXEC and not a Maintain procedure, please note these differences between the CALL and EXEC commands:
Note: To pass stack members to a FOCEXEC, copy the stack members to scalar variables and pass them as scalars.