i want to know how the commit option works,how it save the
changes? it will update the database or what ? where we can
see these saved changes?
Answers were Sorted based on User's Feedback
Hi,
Mostly we are using commit mass insert and update time
only.suppose i insert 1000 records i am using count varable
i give commit every 100th records means it will
automatically update the data base.so it will affect 999th
records means 900 records ulready update in ur table.so we
can restart 901 records thats enough.you can see in ur
table.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / sankar
All changes happens to database are initially made in log,
after successful completion of unit of work (COMMIT),the
changes from log reflected into physical database. In case
of roll-back or un-successful completion, changes will not
be reflested into physical database.
Commit executed at the end of all transaction (explicitly
or inplicitly) irrespective of number of rows affected.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / era
commit will insert a unit of work after some define number
of record processed. That commit point will be taken and
the database updated.
Is This Answer Correct ? | 0 Yes | 0 No |
What are the contents of dclgen?
What is DYNSLT keyword? How do you perform selection using DYNSLT
What does the RUNSTATS Utility do?
i know the stpes 2 create an executable CICS/DB2 cobol code. 1. DB2 Precompiler converts the SQL Statements into COBOL API statements and creates another member with Acess plans. CodeA results in CodeB (code with API calls) & CodeC ( Access Plans ) 2.Code B is compiled/linked 2 create an exceutable.(codeE) 3.Now CodeC is binded to the database on which CodeE will be run. Can somebody provide me the sample JCLs for precompile/compile/link/bind.
Hi All, In a Cobol-DB2 program, I am fetching rows from 4 tables using cursor and then based on the a field present in that table, It processes the information accordingly..for example stat-c is one digit field..if stat-c is 'D' then the a row is deleted from table and written those details in to a file. If the stat-c is 'U' then a row is updated (hardcoded what to update)in a table and written those details in to a file. If the stat-c is 'I' then a row is inserted in a table and written those details in to two files. The issue is i have to include the intermediate commits. When an abend occurs, due to commit statement db2 tables will be saved, But there will be lose of file contents. When we resubmitting the job associated with this program there will be insert ,update and delete anomolies to avoid that what measures could be taken?. The intermediate commit is nothing but issuing commit after massive inserts, updates and deletes(sum of 500actions)
What is meant by repeatable read?
Explain about open switch business continuity software?
what is differnece between DROP TABLE & DELETE TABLE .
what is datacom db?
How many Buffer pools are there in DB2 and what are they?
what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names
How can i install db2 9.x on AIX based system..? plz reply the detailed steps involved....?