Editing VSAM files using record level sharing


File-AID supports browsing and editing of VSAM files that are opened using Record Level Sharing (RLS) by another user or application, subject to the rules of RLS. To edit a file with RLS, Disposition (see Disposition) must be set to SHR; Disposition OLD will not allow sharing.

File-AID Edit supports RLS VSAM data sets defined with LOG(NONE) without requiring the IBM product DFSMStvs (Transactional VSAM, or TVS).

RLS VSAM data sets defined with LOG parameter other than NONE (ALL or UNDO) require TVS for File-AID RLS Edit support. If TVS is not available, File-AID Edit displays the following messages:

IEC161I 009-0778,TSOID01,ATSOPROC,SYS00176,,,
IEC161I RLSVSAM.KSDS1,,CATALOG.MVSICFU.SHARED.

File-AID then disables the RLS Edit for this file and continues processing it with non-RLS Edit, displaying message RLS disabled on the first EDIT panel.

Configuration options enable or disable RLS processing for File-AID EDIT and BROWSE (refer to VSAM Record Level Sharing (RLS) Parameters in the File-AID Advanced Configuration Guide). When the option is enabled for BROWSE, you are prompted whether to disable RLS processing for an individual data set (see the following figure).

RLS Browse Processing Prompt

image2021-5-26_10-47-55.png

When you enter the SAVE command in EDIT, File-AID checks whether your inserted, changed or deleted records are in conflict with other users’ updates or locks and displays a message (see the following figure).

  • All updated records without conflict are saved, even when other records have a conflict.
  • Updated records with conflict are displayed and marked either =FAIL>>> or =LOCK>>>.
    • Records marked =LOCK>>> were locked by another user, retry the SAVE when the record lock is released.
    • Records marked =FAIL>>> cannot be updated due to a superseding update by another user, CANCEL the update of the failed records and reedit the failed records.

RLS Conflict Flagging

image2021-5-26_10-48-34.png

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*