How to insert more than one record using insert?
Answer Posted / harish
perform until ws-flag = 'y'
exec sql
insert into table('a','b','c','d','e')
values(a,b,c,d,e)
end-exec
evaluate sqlcode
when 000
continue
when 100
move 'y' to ws-flag
according to me ,pls let me any other remedy
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How will you return the number of records in table?
What is database reorganization?
i want to maintain uniqueness on pdf without make lf??????????
Why db2 is called db2?
How do I delete a column in db2?
What are the rules for db2 programming?
What is the physical storage length of date data type?
How do we specify index to include or not during bind process.
Give the name of some fields form sqlca.
in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?
How would you find out the total number of rows in a db2 table?
What is buffer pool and list some of them?
What is the usage of open cursor command?
What is the use of with ur in db2?
How to restart a DB2 program?