How the attributes work together
- Last Updated: January 15, 2015
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The following table summarizes the settings of the PROXY, REMOTE,
and PERSISTENT procedure handle attributes for
various types of local and remote procedure call scenarios.
| Procedure call type | Caller handle | Callee handle (THIS-PROCEDURE) |
|---|---|---|
| Local procedure | Not applicable |
|
| Remote procedure | Not applicable |
|
| Local persistent procedure |
|
|
| Remote persistent procedure |
|
|
| Local single-run procedure |
|
|
| Remote single-run procedure |
|
|
| Local singleton procedure |
|
|
| Remote singleton procedure |
|
|
In the previous table, caller handle refers to the
handle returned by the RUN statement. This column
is relevant only for persistent, single-run, or singleton procedures,
because you can only reference the procedure handle of a procedure
that you call with a RUN statement that includes
the SET option. Callee handle refers
to the procedure handle within the procedure that is being executed.
You can use the THIS-PROCEDURE system handle to
reference this handle, regardless of how the current procedure was
called.