Step 5: Issuing the Procedure

In this section:

Goal

Now that you have completed the first stage of the procedure, you can issue it.


Top of page

x
Methods: CALL, COMPILE, RUN

There are three ways of issuing a Maintain procedure:

You can run a procedure more efficiently, increasing the speed of execution, by first compiling it using the COMPILE or MNTCON COMPILE commands. The commands compile both the Maintain procedure and—if one exists—the associated Winform, generating a FOCCOMP file. You can run a compiled Maintain procedure by issuing the RUN or MNTCON RUN command.


Top of page

x
Solution

You use the MNTCON EX command to run the procedure. You can run the completed procedure which is stored as VIDTAPE1 FOCEXEC on the release tape or supply the name of the Maintain procedure where you stored your code.

Try it now: If you have created your own set of application files:

  1. Enter FILE at the TED command line to save your file and exit TED.
  2. Enter the following at the FOCUS command prompt (substituting the name of your Maintain procedure file for VIDTAPE1):
    MNTCON EX VIDTAPE1

    The ShowCust Winform appears.


Information Builders