Previous Topic: Create ProceduresNext Topic: Perform Procedure Synthesis


Add a Procedure

To add a procedure, select its location and assign it a unique name. The name should identify the work the procedure accomplishes. Most often, procedures are named with a verb, indicating the action, and a noun, identifying an entity type or an attribute. For example, if the procedure is designed for customer maintenance, enter a name such as MAINTAIN CUSTOMERS.

When naming procedures and procedure steps for client/server applications, indicate whether the procedure is processed in the client or server environment. For example: MAINTAIN CUSTOMERS CLIENT and MAINTAIN CUSTOMERS SERVER.

Adding Client and Server to the procedure name helps the person, responsible for load module packaging, distinguish procedures for the client environment from procedures for the server environment.

When a procedure is added it can be set to online or batch implementation. If you choose batch, the procedure name displays with batch in parentheses.

In a client/server application, client procedures must be set to online with display. Server procedures must be set to online with no display.