SET R-WRITE-FUNCTION TO TRUE  CALL "R$IO" USING RIO-FUNCTION                    f                    recBuffer                    lenght                    keyVal              GIVING returnCode  | 
f  | 	the file handle returned by R-OPEN-FUNCTION.  | |
recBuffer  | an alphanumeric data-item that contains the record to write.  | |
length  | number of bytes to write.  | |
keyVal  | record number to write.  | |
>0   | Operation successful.  | 
0  | Operation failed.  |