RIO_WRITE

Write a record to a direct access file

Description:

Write the specified record number, unformatted, to the file with the specified file descriptor.

Invocation

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

Arguments

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