CBL_GET_SHMEM_PTR
Reads a named value.
Syntax:
call "CBL_GET_SHMEM_PTR" using node-value
node-name
returning status-code
Parameters:
|
Using call prototype (see Library Routines - Key) |
Picture (32-bit systems) |
node-value |
cblt-pointer |
usage pointer. |
node-name |
Group predefined as cblt-node-name containing: |
Group containing: |
|
cblte-nname-name-len |
|
cblt-x1-comp5 |
|
pic x comp-5 value n. |
|
cblte-nname-name-text |
|
cblt-x1 occurs depending on cblte-nname-name-len |
|
pic x(n) value "name". |
status-code |
See Library Routines - Key |
On Entry:
cblte-nname-name-len |
The length of name. |
cblte-nname-name-text |
The value assigned to node-name. |
On Exit:
node-value |
The value of the named value. |
Comments:
Named values provide a way of passing pointers between different run units
using a name agreed at run time. Named values can be read simultaneously by
all units in the coru because the run-time system protects and serializes
any updates. The maximum number of named values depends on how much memory
your machine has.
See Also: