cobol2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Switch B Details (↑ RTS switches)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     See Introduction to switches
 
     Set the B switch for indexed sequential files open INPUT or I-O. Set
     the B1 switch for indexed sequential files open INPUT. Setting either
     of these switches permits a file to be sequentially read, even if
     another process has records locked within that file.
 
     A file status of "locked record" is returned when a locked record is
     read when the B switch is set; a file status of "00" is returned when
     a locked record is read when the B1 switch is set.
 
     Note:   This switch also affects relative and record sequential files
             when your program is compiled with the CALLFH directive set.
                                    -♦-