How do I add a column to a table in db2?
No Answer is Posted For this Question
Be the First to Post Answer
How to solve S0C7 abend with out using DISPlay in 10 mins?
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)
Suppose we are doing transaction in a table and abend happened in between. Suppose i have completed the transaction upto X rows and I want to start the transaction again where the abend happened. I don't want to do the transaction from the first record. Then what i have to do.
how can we find nth max salary from A table
What is check constraint. Explain with example.
how can u retrieve the data from null values using applicaion program.
When the like statement is used?
What kind of database is db2?
Where could you look if you had a question about whether a column has been defined as an index?
Hi , I am posting some interview ques . what is the use of cursors ? what is the diff between select and cursor ? bith are used for data retrival .. rite?
The only place of VSAM KSDS in DB2 is?
How do you select a row using indexes in db2?