if not using the 'commit' when closing VSAM file,what will
happend
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...
Differentiate between control interval (ci) and control area (ca)?
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?
what are the codes returned by the ams (access method services) command during the execution in vsam?
how to see the last records in vsam dataset??
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
By seeing a program how we findout it is a VSAM program?
HOW TO SORT RECORDS IN VSAM FILE?
what's the biggest disadvantage of using a VSAM dataset?
8 Answers Anjana, CTS, DSRC, IBM,
Why is it required to have a keyed directed retrieval?
can alternate index use in ESDS since it does not contain primary index? if yes can you explain?
How to createing new version of GDG with out loosing the data in preaves GDG version?