Try OpenEdge Now
skip to main content
Open Client Introduction and Programming
Generating Proxies and Web Service Definitions : Defining procedures in AppObjects and SubAppObjects : Changing the procedure execution mode (type)
 

Changing the procedure execution mode (type)

You can change the execution type of any procedure files already added to an Open Client interface object definition, using the Procedures tab.
To change the execution mode of a procedure:
1. Select the Procedures tab.
2. Do one of the following:
a. Select one or more procedures in either list. Choose the Procedure > Change Type from the menu bar.
b. Right-click on a procedure name and select the procedure type from the Change To menu option.
c. If the procedure you want to change is in the Procedure Object window, click on the Type next to the procedure and use the drop-down menu to select Persistent, SingleRun, or Singleton. (You can use this option to change a ProcObject to a different type of ProcObject, but if you want to change a ProcObject to a non-persistent procedure, you must use the Procedure > Change Type menu item.)
When changing a ProcObject to a non-persistent procedure, you lose any customizations to internal procedures and user-defined functions that you applied using the Customize function.