Executing Other Procedures


Separating your application code into more than one procedure (called modularizing or partitioning) can significantly speed up your development time and application performance.

The Maintain language contains two commands for executing procedures:

  • The CALL command executes other Maintain procedures.
  • The EXEC command executes WebFOCUS procedures.

These two commands work more or less in the same way. Each command has some options that enable you to do the following:

  • Determine the WebFOCUS Server where the called procedure is located.
  • Determine whether to keep or close the server session when the procedure finishes executing (the server session is a process on the WebFOCUS Server that executes the procedure).
  • Pass parameters to and receive parameters from the called procedure.