I have a DB2 table which has 1000 rows.after udatingg first
110 rows, my job abends. Now what I have to do if I want to
restart the job next time so that it should start updating
from 111th row (without updating first 110 rows again).
Answer Posted / karthik
RESTART logic will work fine..
following is the flow of restart logic:
if your program is having a commit for every 100 records
which u read from the file, we can restart the program to
update the records from 101 as it had a restart entry in
the restart table once the job got abeneded..
so in your program you need to have a logic like first you
need to read the restart table whether we need a restart
entry for that particular program, if so, u need to read
the first 100 records as dummy and then need to update the
remainig records..else we can start updating the table from
the first read recorrd itself..
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What does sqlcabc has?
Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.
What is plan in cobol db2?
Is db2 a mainframe database?
What is the max length of sqlca?
How does coalesce work?
Explain about rct.
What is load utility in db2?
What is role in db2?
What do you mean by cursor?
what is the responsibility of the construction superintendent
Mention some fields that are a part of sqlca.
What is coalesce in db2?
What is the role of union all and union
Is ibm db2 free?