SET R-READ-FUNCTION TO TRUE CALL "R$IO" USING RIO-FUNCTION f recBuffer keyVal GIVING returnCode |
f | the file handle returned by R-OPEN-FUNCTION. | |
recBuffer | an alphanumeric data-item that receives the record read. | |
keyVal | the record number of the record to read. |
>0 | Number of bytes read, plus one. |
0 | Operation failed. |