1. delete is not possible in esds. why?
2. i have 10 records in a esds file and i want to delete
only 1st record ..then what i have to do?.. it will not
affect any sequence of the RBA.
3. why open extend is not possible in rrds vsam file?

Answers were Sorted based on User's Feedback



1. delete is not possible in esds. why? 2. i have 10 records in a esds file and i want to delete ..

Answer / guest

1) The ESDS organization will not allow you to delete the
record.

2) Using FileAid, copy first 09 record into other data set.
Which means that the new file contains only 9 records(10th
record is deleted0

3) Hope that you can use EXTEND

Is This Answer Correct ?    5 Yes 0 No

1. delete is not possible in esds. why? 2. i have 10 records in a esds file and i want to delete ..

Answer / harish

deletion is not possible in ESDS.....but u can rewrite them
, if of same lenght........

Is This Answer Correct ?    3 Yes 0 No

1. delete is not possible in esds. why? 2. i have 10 records in a esds file and i want to delete ..

Answer / ajit

Deletion in ESDS can be done programatically. An indicator
bit can be set for the deleted record and those can be
escaped while reading.
Other way to replace the record with spaces.

I think OPEN EXTEND is possible in RRDS.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VSAM Interview Questions

Is it slower if you access a record through alt index as compared to primary index?

0 Answers  


What are the distinctive features of a ksda, key sequenced dataset?

0 Answers  


what is buffering and how does it apply to vsam files ?

0 Answers   IBM,


what is a base cluster in vsam?

0 Answers   IBM,


How many cluster index can have in a table?

3 Answers   HSBC,






What are all the ways we can create datasets?

7 Answers   IBM,


what is meant by dirty read in vsam?

0 Answers   IBM,


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.

1 Answers  


What is the difference between PS file and VSAM file?

7 Answers   IBM, Infosys, Verizon,


What are the distinctive features of a ksds, key sequenced dataset?

2 Answers  


How does control intervals and control areas related to each other?

0 Answers  


What are the common vsam error conditions and codes?

0 Answers  


Categories