GDSX Manual
Service Routines
Extended General Device Support (GDSX) Manual–134303
8-15
BOUNDS^CHECK
tbl input
is a pointer to the bit map table.
index input
INT:value
is the index for the bit to be tested. The range for this parameter is specified by:
0<= index < 32, 768.
Example
See “USER^STOP” on page 9-22 for an example.
BOUNDS^CHECK
This procedure ensures a buffer is in global or extended memory, not in the swappable
stack. This procedure is the same as CHECK^BUFFER^BOUNDS except the return
code indicating the outcome of the call to BOUNDS^CHECK is stored in the FCB of
the file specified in the call.
filenum input
INT:ref
is the number of the file whose FCB is used to store a returned status code. The
status code value is one of the following:
buffer:length input:input
STRING .EXT:ref:*, INT:value
is a pointer to the buffer to be checked and the length of the buffer in bytes.
^CANCEL
This procedure cancels the oldest incomplete operation on a file opened for nowait I/O.
INT:ref (Use for global memory reference.)
INT .EXT:ref (Use for extended memory reference.)
BOUNDS^CHECK ( filenum ! i
,buffer:length ); !
i:i
0 The buffer is valid
22 The buffer is in the swappable user stack