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?



hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful ..

Answer / lu

In cobol batch program for KSDS,ESDS ,every time you write
or rewrite or delete,READ..you HAVE to check FILE-STATUS ...
Test FILE-STATUS !! Don't use INVALID KEY !!!

in CICS, you check EIBRESP....

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More COBOL Interview Questions

what is Pic 9v99 Indicates?

2 Answers  


How can we pass data from cobol to JCl?

7 Answers   ADP, Amdocs, IBM,


What are options have been removed in COBOL 11?

1 Answers  


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

1 Answers   HCL,


What is EIBCALEN? Why it is used?

9 Answers   ADP,


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,


I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??

2 Answers   HCL,


What is Static and Dynamic linking ?

3 Answers  


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

0 Answers  


What R 2 of the common forms of the EVALUATE STATEMENT ?

1 Answers   Cap Gemini,


how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)

5 Answers   IBM,


What is the difference between external and global variables in COBOL?

0 Answers   Winsol Solutions,


Categories