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

Write a cobol program making use of the redefine clause.

0 Answers  


hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?

1 Answers   CGI,


I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division

1 Answers  


i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?

7 Answers   CTS,


what will happen if i give program name and member name as different? program runs successful or w'll abend?

5 Answers   CTS,


What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?

4 Answers   IBM,


How do define dynamic array in cobol.

0 Answers  


In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference

3 Answers   IBM,


How do we get current date from system with century in COBOL?

0 Answers   Winsol Solutions,


I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?

15 Answers   ADP, Broadridge, CTS, HSBC, L&T, RBS, TCS,


explain sorting techniques in cobol program?

0 Answers  


I have a sequential file of 100 records. How do I load the records into a two dimensional array ?

3 Answers   IBM, Xansa,


Categories