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 is the main function of key-sequenced data set?

0 Answers  


What is the difference between lds and esds?

0 Answers  


What is the main function of linear dataset?

0 Answers  


What is Control Interval, Control Area?

1 Answers  


differentiate between sequential files and esds files in vsam?

0 Answers   IBM,






What is File Status in VSAM?

1 Answers   IBM,


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

4 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,


Using Alternate Indexes in Batch pgms: ?

2 Answers   IBM,


What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..

0 Answers   iGate,


how many buffers are allocated to vsam ksds and esds?

0 Answers   IBM,


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

0 Answers  






Categories