is there any lock for vsam file so that no one can update
the vsam file ?
Answers were Sorted based on User's Feedback
Answer / albert n
Yes, you can make it read only with the ALTER command.
Specify: ALTER dsname.DATA INHIBIT
ALTER dsname.IDX INHIBIT
via an idcams job to make a KSDS readonly.
| Is This Answer Correct ? | 10 Yes | 1 No |
Hi, I want to create alternate index on VSAM file.my file structure is ex: RoomID pic x(7) R000001 Floor pic a((6) First RoomNo pic x(2) FA1 Occupied(yes/no) pic a(3) Yes Occupied Batch pic x(10). Maths i want to create alternate index on floor,roomno fields.can i create alternate index on both the fields.and tell me how to create.
What is VERIFY command ? when do you use this command?? What actually it does ??
What is the difference between CI( Control Interval)and CA (Control Area)?
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
if not using the 'commit' when closing VSAM file,what will happend
can you specify some the distinctive features of a ksds, key sequenced dataset?
what how do you initialize a vsam file before any operation? A vsam with alternate index?
is there any lock for vsam file so that no one can update the vsam file ?
What are the different dataset organizations used in vsam?
What is the purpose of the FILE STATUS clause in the SELECT statement?
What is the main function of linear dataset?
name a few common vsam status codes?