In this section: |
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 Data language contains two commands for executing procedures:
These two commands work more or less in the same way. Each command has some options that enable you to do the following:
Separating your application code into more than one procedure has many advantages:
For example, a generalized error message display procedure could be used by all WebFOCUS App Studio Maintain Data developers. After passing a message to the generalized procedure, the procedure handles message display. The developers do not need to be concerned about how to display the message and error messages always look consistent to end users.
To use the CALL or EXEC command, you must open the calling procedure in the Maintain Data Editor and enter the command inside of a function (CASE/ENDCASE command). You can type the command directly or use the Language Wizard. For more information on the CALL and EXEC commands and syntax, see the WebFOCUS App Studio Maintain Data Language Reference content.