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 AMS commands be run from the TSO prompt ?

1 Answers   IBM,


How did you refresh a VSAM file and how frequently you do it ?

3 Answers   CSC, IBM, Patni, Xansa,


Under idcams, multiple functions can be executed, each of which returns a condition code. What will be the condition code returned to the operating system?

0 Answers  


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

1 Answers  


what is meant by dirty read in vsam?

0 Answers   IBM,






How to insert values for variables that are declared as COMP-3 variables in COBOL program in an already created VSAM file.

3 Answers  


what do you mean by a upgrade set in vsam?

0 Answers   IBM,


What are the advantages of vsam over isam?

0 Answers  


What is Control Interval, Control Area ?

1 Answers   L&T,


How many cluster index can have in a table?

3 Answers   HSBC,


Do all versions of the GDG have to be of the same record length ?

3 Answers   IBM, iNautix,


What is the maximum number of Alternate Index ???

4 Answers  


Categories