LAST-PROCEDURE attribute
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
For an application server, returns a handle to the last entry in the list of remote persistent, single-run, and singleton procedures that are active on the connected application server. For Web services, returns a handle to the last entry in the list of procedure objects associated with the Web service.
Data type: HANDLE
Access: Read-only
Applies to: Server object handle, SESSION system handle
If the current session has no active persistent procedures or the
application server has no active remote persistent, single-run, and singleton procedures,
LAST-PROCEDURE returns the Unknown value (?). To find the
previous procedure given the last, access the PREV-SIBLING attribute of the procedure handle
you just got.
For information on creating persistent, single-run, or singleton procedures, see the RUN statement. To check a handle for validity, use the VALID-HANDLE function.