![]() |
Displaying and Editing with SHARUPD=YES
Files are normally processed in the Display/Modify mode of CFS with SHARUPD= NO. Entering the SR command (Single Record) will open the Display file with SHARUPD=YES. SR will also cause only one record/block to be displayed in the Display field. In this way, the integrity of the modified data is maintained for concurrent multiple access.
Opening a file with SHARUPD=YES for ISAM/PAM Display files will only be carried out if the file could not be opened in the normal Display mode because of a DVS error. If the file has already been opened in normal Display mode without an error, then the SR command will only become effective after the user switches to the BS2000 command mode ("/"), and then returns to CFS with /R.
Switching off the Single Record mode with the NSR command will re-open the Display file with SHARUPD=NO.
If the user wishes to view and perhaps amend the Display file in full screen mode simultaneously with SHARUPD=YES, then the NSR SHARUPD=YES command should be given.
SR mode is valid only for the current Display file, and must be re-issued for a new file if required.