Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


i have the job which has written updated 100 records into
the table and for 101th record it got abended and i want to
start the job again and should wirte from 101th record not
from 1st record..how to do it..?

Answers were Sorted based on User's Feedback



i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / ravi

You can do this by using commit and restart logic.
Commit all the records and whenever commit is greater then
zero set the restart process to true.

Is This Answer Correct ?    1 Yes 0 No

i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / anshul

you can use checkpoint logic

Is This Answer Correct ?    2 Yes 1 No

i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / vaishnavi

Use Checkpoint logic.

Is This Answer Correct ?    1 Yes 0 No

i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / mallu

Yes Ravi is correct, We can use Restart Logic

Is This Answer Correct ?    1 Yes 1 No

i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / chakri

Hi Ram question is on tables so we have to use Restart-Logic

Is This Answer Correct ?    0 Yes 0 No

i have the job which has written updated 100 records into the table and for 101th record it got ab..

Answer / ram.g

y u guys going for complex logic for simple problem....

just open ur file in extend mode, dats the answer for your
qn..even if u wanna start from the particular row whr abend
happens..use the cursor with hold option

Regards,
Ram.G

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More COBOL Interview Questions

what is a load module ?

3 Answers   TCS,


give the examples for strings and unstrings in cobol

2 Answers   IBM,


What is SDSF?

13 Answers   IBM,


how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)

6 Answers  


What are VS COBOL 11 special features?

1 Answers  


what is the difference between Plan & package?

1 Answers   IBM,


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

0 Answers   Cap Gemini,


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?

3 Answers   TCS,


How to Write the RESTART Logic Using COBOL?

4 Answers   GalaxE, L&T, Syntel, TCS,


what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.

3 Answers   HCL, TCS,


what is difference between cobol and cobol/400

1 Answers   HCL,


What is the difference between a subscript and an index in a table definition?

3 Answers   TCS,


Categories