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 are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,


consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.

5 Answers  


select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself

2 Answers  


Name the sections present in data division.

0 Answers  


What is link edit in cobol?

0 Answers  






What is the Linkage section? What is the Use and Why the parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9 (4) COMP." any reason?.Please let me know any one... Cheers,Prasad

8 Answers   Syntel,


TYPES OF SORTINGS. which is more prefarable.

2 Answers   Syntel, TCS,


period is missing in the cobol program which error we getting

5 Answers   TCS, Tesco,


can we use full outer join with cursors declared in cobol program?

2 Answers  


What is the difference between a subscript and an index in a table definition?

3 Answers   TCS,


What is the usage of comp fields in cobol?

0 Answers  


How we copy a program from production region to development region.What is the process & syntax ?

3 Answers   CTS,


Categories