SR Single Record Mode (Sharupd=Yes)

SR NSR [SHARUPD=YES]

Single Record Mode / No Single Record Mode.

SR The Single Record Mode is concerned solely with the Display/Modify mode of CFS, and has two different effects:

a) Only one record or data block is displayed on the screen.

b) A switch is made into the Sharupd mode for ISAM/PAM files.

When displaying files with FCBTYPE=ISAM/PAM, the Open with SHARUPD=YES is only executed if the file could not be opened in normal Display mode (SHARUPD= NO) because of a DVS error. If the file is displayed in normal Display mode without errors, then the Sharupd mode is only activated following the SR command after the user switches to the BS2000 command mode (using the CFS command "/"), and then returning to CFS with /R(esume).

SR mode guarantees the integrity of the data, even during simultaneous access by many users.

NSR [SHARUPD=YES]

The NSR command resets the Single Record Mode. An ISAM file currently being displayed is opened with SHARUPD=NO.

The SHARUPD=YES option in the NSR command results in the Display file being opened as a full page display with SHARUPD=YES.

Standard: NSR. ISAM files will be displayed and modified with SHARUPD=NO.

Notes:

SR mode is only valid for the current Display file, and must be reactivated if required for a new file.

The SR mode is also useful for the Display of tape files. The tape will not then rewind before each screen output.