I need to define a VSAM file which will always contain only one record and would be frequently updated by CICS online programs.
Should I define it as ESDS or KSDS ? What other parameters do I need to take care of when online programs are accessing it concurrently for update ?
From information in "VSAM Demystified" redbook, I think ESDS is the better option though I am not sure. And keeping SHAREOPTIONS(2 3). Please advise if I am thinking correct. Thanks.
A single-record dataset is not going to need too many inserts/deletes. An ESDS can certainly be updated (if you don't try to make the record larger than when read).
Your CICS technical people will be keen to have their say, as they will be aware of your site's standards and policies. Have a chat with them.