Try OpenEdge Now
skip to main content
Developing AppServer Applications
Programming the AppServer : Controlling AppServer entry points : Setting and resetting the export list
 

Setting and resetting the export list

You can invoke the EXPORT( ) method at any time, as many times as you need to, within an AppServer session. When you invoke the method, you have the option to pass it a comma-separated list of procedure names. Any format for a procedure name that is valid for the ABL RUN statement is also valid when you call the EXPORT( ) method. Each time you invoke the method, any procedure names that you specify are added to the current export list. If you invoke the method without a parameter (with no list of procedure names), the export list is reset to empty, as if the EXPORT( ) method were never called.
Note: If you do specify a procedure name list, the EXPORT( ) method does not validate the procedure names that you provide. Validation of a procedure name occurs only during the remote procedure request, after the name has been filtered by the export list.
To set export lists consistently for all client connections requires a different sequence of EXPORT( ) method settings depending on the operating mode of your AppServer. For more information on setting export lists for different AppServer operating modes, see Design and Implementation Considerations.