Switch R (↑ RTS Switches)
◄Key► ◄Details► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Switch: R
Function: Attempts a READ on a file of any organization which is
OPEN for INPUT or I-O and which has no file status item
declared. If the record is found to be locked, then the
READ is repeated at intervals until the record becomes
available.
Warning! This feature makes possible a "deadly embrace". One
program may have locked record A and be trying to
read record B, while another program has locked
record B and is trying to read record A. Should this
happen you will probably have to reboot your system.
Default: Off unless the program is compiled with the RM directive.
-♦-