Adaptive Server version 15.7 includes new global variables.
| Command | Description |
|---|---|
| @@plwpid | Returns the object ID of the most recently prepared lightweight procedure |
| @@lwpid | Returns the object ID of the next most recently run lightweight procedure |
See the Reference Manual: Bluilding Blocks