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

How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.

3 Answers  


study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid

4 Answers   TCS,


Differentiate between structured cobol programming and object-oriented cobol programming.

0 Answers  


What are the divisions in a cobol program?

1 Answers  


How to display the index.(displacement from an array)

4 Answers   IBM,


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

0 Answers  


Explain Restart Logic in Cobol?

1 Answers   L&T, Syntel,


What should be the sorting order for SEARCH ALL?

5 Answers  


what is the minimum number of lines a Cobol program should have to successfully compile and run

11 Answers   ABC, Societe Generale,


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


what are the steps to sort in a cobol program?

2 Answers   Patni,


How can we know that cobol program is using report file or simple file....?

4 Answers  


Categories