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

What makes vrrds different from vsam?

0 Answers  


how can you load a vsam data set with records ?

0 Answers   IBM,


what do you mean by idcams? Explain its purpose?

0 Answers   IBM,


What are the types of VSAM datasets?

3 Answers   IBM,


What is a sequence set?

1 Answers  






what is the RRN for the first record in RRDS?

2 Answers  


What is a lds (linear data set)?

0 Answers  


What are the different commands used in idcams for vsam?

0 Answers  


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

0 Answers  


what is freespace

2 Answers   EDS,


How to get the last record in vsam file in cluster?

0 Answers  


What is the procedure for running the batch job in mainframe?

1 Answers  


Categories