Consultor Eletrônico



Kbase P185770: How to run a procedure from a procedure library from the command line
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/04/2011
Status: Unverified

GOAL:

How to run a procedure from a procedure library from the command line

GOAL:

How to use a procedure in a .pl file as a startup procedure

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Product Family

FIX:

The syntax for referring to a procedure in a procedure library is the absolute or relative path of the library, followed by the r-code file name in double angle brackets. For example:

/usr/app/sharedlib.pl<<startup.r>>
To use this syntax with the startup procedure parameter -p when starting the OpenEdge client from the command line or in a shell script or batch file, enclose the whole expression in double quotes. For example:

_progres -p "/usr/app/sharedlib.pl<<startup.r>>"
Enclosing the expression in double quotes prevents the operating system from interpreting the angle brackets as its own special characters.