skip to main content

Library Routines : R$IO : R-OPEN-FUNCTION

R-OPEN-FUNCTION
This function opens an existing relative file. If it is successful, the value in RETURN-CODE should be moved to a data item that is USAGE HANDLE. This data item is passed as the open file handle to the other file handling functions.
If it fails, RETURN-CODE is set to ZERO.
This function only opens already existing files. If the file does not exist, the function fails, even when opening for output.
Syntax:
 SET R-OPEN-FUNCTION TO TRUE
 CALL "R$IO" USING RIO-FUNCTION
            GIVING returnCode
Parameters:
Return code:
returnCode can be any signed numeric data item and provides additional information:

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left