Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (R-Z)
Guardian Programming Reference Summary for pTAL and TAL522631-001
8-4
READLOCK[X]
Sequentially locks and reads records in a disk file, exactly like the combination of
LOCKREC and READ[X]. This procedure operates only on Guardian objects.
packed-line, STRING .EXT:ref:* output
packed-limit, INT:value input
packed-length, INT .EXT:ref:1 output
CALL READLOCK[X] ( filenum
,buffer
,read-count
,[ count-read ]
,[ tag ] );
filenum, INT:value input
buffer, output
INT:ref:* (Use with READLOCK)
STRING .EXT:ref:* (Use with READLOCKX)
read-count, INT:value input
count-read, input
INT:ref:1 (Use with READLOCK)
INT .EXT:ref:1 (Use with READLOCKX)
tag, INT(32):value input
< (CCL) An error occurred (call FILEINFO).
= (CCE) The READLOCK[X] is successful.
> (CCG) End of file (EOF). There are no more records in this subset.
error, INT returned value