Try OpenEdge Now
skip to main content
Startup Command and Parameter Reference
Startup Parameter Descriptions : Startup Procedure (-p)
 

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 procedure library, the procedure must be referenced explicitly as a member of the library. For example:
-p "/usr/app/sharedlib.pl<<startup.r>>"
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.