if not using the 'commit' when closing VSAM file,what will
happend

Answers were Sorted based on User's Feedback



if not using the 'commit' when closing VSAM file,what will happend..

Answer / nawal kishore

I never heard that we use commit while closing VSAM files.
Any VSAM files can be closed by simple close command of
file utilty.

Is This Answer Correct ?    18 Yes 0 No

if not using the 'commit' when closing VSAM file,what will happend..

Answer / guest

The commands 'save' or 'commit' can not be used while
working with VSAM. While using program if you issue a
WRITE/REWRITE statement, the changes will made in the file.

If you opend the file using andy utility (Like FILEAID) you
can use SAVE command.Using program you can not use SAVE
command.

Is This Answer Correct ?    4 Yes 2 No

if not using the 'commit' when closing VSAM file,what will happend..

Answer / bella

both answers are wrong... Commit for DB2 batch To cllose
VISAm file we have verify statm which read file from
begignig to end update hight used RBA and phisiclly close
the file.

Is This Answer Correct ?    0 Yes 0 No

if not using the 'commit' when closing VSAM file,what will happend..

Answer / subramanyam

Commit not used while closing the VSAM file.

Save command will save the VSAM file content.
If you want to save the content and close the file then u
can use F3 function key.

If u dont want to save the updated content give 'can'
command in command prompt

Is This Answer Correct ?    0 Yes 2 No

if not using the 'commit' when closing VSAM file,what will happend..

Answer / dasari

the updates which u have done will not be saved if u are
not going to use commit, because commit will make all the
updates permanent

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More VSAM Interview Questions

While designing vsam files,what is the best way to choose control interval size for the data and the index?

1 Answers  


How do you define an ALTINDX ? How do you use ALTINDXs in batch, CICS pgm?s ?

2 Answers   IBM,


Is a delete operation possible in an ESDS?B. Is rewrite operation possible in ESDS ?

3 Answers  


What is IDCAMS? and what is the purpose of it?

4 Answers  


In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?

0 Answers   RBS,






in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?

0 Answers   IBM,


What is the meaning of dynamic processing?

2 Answers  


In a file(PS), we dont know how many records are there. requirement is divide half n half the records n insert into 2 another files(PS).

6 Answers   Cap Gemini, TCS,


explain in brief what are the 3 types of vsam files?

0 Answers   IBM,


what is meant by BUFND & BUFNI..?

1 Answers  


What is a lds (linear data set) and what is it used for?

0 Answers  


How many buffers are allotted to VSAM KSDS and ESDS?

1 Answers  


Categories