Startup Procedure (-p)
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Startup Procedure (-p)
Use Startup Procedure (-p) to specify a procedure that executes at the
start of an OpenEdge session.
| Operating system and syntax | UNIX / Windows |
-p
filename
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Session | — | — | _edit.p | _edit.p |
- filename
- The name of the procedure to run when starting OpenEdge.
If the startup procedure is located in a library, the procedure must be referenced explicitly as a member of the library, if that library is not included in the PROPATH. For example:
or
|
Note that the quotation marks are necessary to prevent parser errors as a result of the "<<" symbols.
A common use for the -p parameter is to run an ABL procedure that displays
a main application menu. The user can then choose options from the menu to run other ABL
procedures. As a built-in security measure, when users press CTRL+C while running a procedure specified by -p, the AVM prevents
the users from accessing the Procedure Editor by rerunning the specified procedure (unless
the application explicitly allows Procedure Editor access).
If you use the Batch (-b) startup parameter
(MBPRO or BPRO), also use the -p
parameter.