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
What is amode(24)?
) How do u handle errors in BMS macro
How do you reference the fixed block file formats from cobol programs
what is s000 u4087 error? please give the all error codes in cobol,jcl.
what is search and searchall?what is the diffrence between them?give an best example?
What are declaratives and what are their uses in cobol?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What are the different data types in cobol?
what are decleratives in cobol?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What are the various section in data division and briefly explain them.
What is the problem of ordered sequential files access?
For rewrite, why is it mandatory that file needs to be opened?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is length is cobol?