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 to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed dd name and dd name is not matching with file and soc7 check the sysdump and copy the offest address then correct it in the program.

10 Answers   ADP, Amdocs, Cap Gemini, Keane India Ltd, Super Value, TCS,


What do you understand by passing by reference and passing by content?

1 Answers  


I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...

2 Answers   CTS, DSRC,


how to resolve the file status 47.......

1 Answers   MMM,


There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?

2 Answers  


after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)

7 Answers   Allianz, Wipro,


What is an in line perform? When would you use it? Anything else you wish to say about it.

0 Answers  


can internal sort be applied to sort ksds files?

1 Answers  


Name the sections present in data division.

0 Answers  


01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?

5 Answers   Amdocs,


What is a subscript ?

3 Answers  


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

0 Answers  


Categories