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

I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

0 Answers  


wht do u mean by (*,intrdr) wht is * used for ?

2 Answers  


How do you define a table/array in COBOL?

5 Answers   Hexaware,


Consider the following COBOL entries 05 X PIC 99 VALUE 10. ADD 40 X TO X. COMPUTE X = 3 * X - 40. The result in X is

12 Answers   TCS,


How can we increase the size of an existing PDS to include more no. of modules.

3 Answers  






What is difference between COBOL and VS COBOL II?.

1 Answers   Winsol Solutions,


I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?

3 Answers  


which one is the best of com and com-3.using of real time ?

7 Answers   Cap Gemini,


Can the OCCURS clause be at the 01 level?

8 Answers   Oracle,


how can u pass the values into db2 values from cobol ?

3 Answers   CTS,


how to code in cobol while using variable block file?

1 Answers  


Explain call by context by comparing it to other calls.

1 Answers  


Categories