skip to main content

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

R-PREVIOUS-FUNCTION
This function reads the previous record in the sequence of records in a relative file.
The record locking is controlled by the f-no-lock external data-item. Move 1 to f-no-lock to read without locking. Move 0 to f-no-lock to read with lock. The default value of f-no-lock is 0.
Syntax:
 SET R-PREVIOUS-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