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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code to count the sum of n natural numbers.

705


What type of SDLC u followed? Why?

1524


How are the next sentence and continue different from each other?

766


What are the different open modes available in cobol?

722


What is inspect in cobol ?

806






Are you comfortable in cobol or jcl?

646


How do you differentiate between cobol and cobol-ii?

658


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

782


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8174


Have you used comp and comp-3 in your project? And how?

2012


Write some characteristics of cobol as means of business language.

624


Write a program to explain size error.

679


Write the code implementing the perform … varying.

648


Can we change the password using ALTER? anyone tried and changed?

1552


What do you understand by psb and acb?

671