GDSX (Extended General Device Support) Manual

Service Routines
Extended General Device Support (GDSX) Manual529931-001
8-48
^LOCKREC
For an intertask message (itc-flag is a nonzero value) the IOCB is as follows:
If the operation is a CONTROL:
If the operation is a SETMODE:
If the operation is a WRITE, READ, or WRITEREAD:
^LOCKREC
This procedure excludes other external openers from accessing a record at the current
position.
The syntax, condition code settings, and considerations regarding this procedure are
the same as the counterpart in the Guardian Procedure Calls Reference Manual.
MAKE_PROCESS_HANDLE_NULL_
This procedure creates a null process handle.
iocb.state 6 = I/O active
iocb.optype Type of operation:
1 = CONTROL
2 = SETMODE
3 = WRITE
4 = READ
5 = WRITEREAD
iocb.histag DEVICE^HANDLERs nowait tag
iocb.tcbaddr Address of DEVICE^HANDLER’s TCB
iocb.file User task’s pseudo-file number
iocb.openid Open ID assigned by USER^START
iocb.control^op CONTROL operation (operation)
iocb.control^param Value of operation (param)
iocb.setmode^funct SETMODE function (function)
iocb.setmode^p1 SETMODE parameter (param1)
iocb.setmode^p2 SETMODE parameter (param2)
iocb.iocnt Write count if WRITE or WRITEREAD
iocb.cnt Read count if READ or WRITEREAD
iocb.bufaddr[x] Address of DEVICE^HANDLER’s buffer
CALL MAKE_PROCESS_HANDLE_NULL_ ( processhandle ); !
o