SET R-REWRITE-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 new record data.  | |
length  | number of bytes to write.  | |
keyBal  | record number to write  | |
>0   | Operation successful.  | 
0  | Operation failed.  |