Accessing a procedure name on PAS for OpenEdge
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
You can access the path or file name of a remote procedure running on a PAS for OE instance that an ABL client has invoked using the following code fragment:
|
Suppose external procedures on the PAS for OpenEdge instance define at least one of
two internal procedures, UsefulRoutine1 and UsefulRoutine2, that implement some logic in two different
ways, as in the following external procedure fragment:
|
An ABL client might invoke these internal procedures in persistent procedures currently running on this PAS for OpenEdge instance as shown in the following client code fragment:
|
For the client remote request that runs h-UsefulProc.p persistently,
the value of the ProcedureName property is "h-UsefulProc.p".
For a client remote request that runs one of the specified internal procedures
in hProc when the remote procedure handle refers to any instance of the h-UsefulProc.p persistent procedure currently instantiated on the PAS
for OE instance, the value of the ProcedureName
property is one of the following, depending on the internal procedure that the client is
executing:
-
"h-UsefulProc.p&UsefulRoutine1" -
"h-UsefulProc.p&UsefulRoutine2"