Next: Description of Miscellaneous Routines
Up: Routine Descriptions
Previous: RIO_READ - Read record from direct access file
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
Next: Description of Miscellaneous Routines
Up: Routine Descriptions
Previous: RIO_READ - Read record from direct access file
FIO/RIO FORTRAN file I/O routines
Starlink User Note 143
P M Allan
A J Chipperfield
20 July 2001
E-mail:starlink@jiscmail.ac.uk
Copyright © 2000 Council for the Central Laboratory of the Research Councils