To open an iSeries diskette file as a record file, use the _Ropen() function with one of the following modes:
The valid keyword parameters are:
The _Rfeod() function is valid for diskette record files opened for input and output operations. It signals the end-of-file. For output operations, it does not write any data.
If you read from a diskette file, the next sequential record in the diskette file is processed. Use the _Rreadn() function for reading diskette files and the _Rwrite() function for writing to diskette files.
If your program processes diskette files, performance can be improved if records are blocked. If you specify blkrcd=Y on _Ropen(), the system calculates a number of records to be transferred as a block to your program.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.