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

can we access sequential files online

4 Answers   Cap Gemini, GS,


What do you mean by RDW in VSAM?

2 Answers  


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

4 Answers  


What is free space?

1 Answers  


Explain the function of the relative record data set?

0 Answers  


what's the device independent method to indicate where a Record is Stored?

1 Answers  


By looking into JCL can we identify the dataset is VSAM (VSAM dataset supposed to be a input dataset).In this scenerio how will we identify the dataset is VSAM ?

5 Answers   Cognizant, EDS, Shridhar,


Explain the meaning and syntax for the START command. ?

4 Answers   IBM,


is it slower if you access a record through alternative index as compared to primary index?

1 Answers   IBM,


Define free space?

0 Answers  


What is a VSAM split?

2 Answers  


What is IDCAMS ?

2 Answers  


Categories