Hai friends
why we need to read a file before re-write a record?

Answer Posted / guest

The file may be ESDS, RRDS or KSDS.
Assuming that the access mode is sequential.
If you are directly performing a 'REWRITE' operation it
will end oup with file status=43. Means'DELETE OR REWRITE &
NO GOOD READ FIRST'.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2010


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1525


how do you reference the variable unblock file formats from cobol programs

752


how to access the file from prodution from changeman tool and to submit a file to production

6686


What is the difference between comp and comp-3?

704






What is the difference between PIC 9.99 and 9v99 in COBOL?

737


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1616


State the various causes of s0c1, s0c5 and s0c7.

665


How do you reference the following file formats from cobol programs?

697


Discuss about changing dataset name in proc.

765


What type of SDLC u followed? Why?

1522


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

720


) How do u handle errors in BMS macro

1512


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2725