RIO_READ

Read record from direct access file

Description:

Read the specified unformatted record from the file with the given file descriptor.

Invocation

CALL RIO_READ( FD, RECNO, NCHAR, BUF, STATUS )

Arguments

FD = INTEGER (Given)
The file descriptor.
RECNO = INTEGER (Given)
Expression giving the number of the record to be read.
NCHAR = INTEGER (Given)
Expression giving the buffer size
BUF = BYTE( NCHAR ) (Returned)
A byte array to receive the record.
STATUS = INTEGER (Given and Returned)
The global status.