Try OpenEdge Now
skip to main content
DataServer for Microsoft SQL Server
Initial Programming Considerations : ABL issues : Compiling OpenEdge procedures

Compiling OpenEdge procedures

The COMPILE statement lets you compile ABL procedures and save the compilations to disk. This speeds up your application execution time since the application does not have to recompile it every time you want to run a procedure.
To compile procedures that access a MS SQL Server data source, start up an OpenEdge session and connect to the schema holder using the schema holder's logical database name, then use the COMPILE statement. If you change the name of the schema holder after you compile a procedure, you must connect to the renamed schema holder and recompile the procedure. For more information, see the "COMPILE Statement" reference entry in OpenEdge Development: ABL Reference.
Note: You do not have to connect to the MS SQL Server database to compile a procedure. The schema holder contains all the information that the compiler requires.
* r-code