Executing Other Procedures

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:

Advantages of Modularizing Source Code

Separating your application code into more than one procedure has many advantages:

Using the CALL and EXEC Commands

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.