Hai friends
why we need to read a file before re-write a record?
Answer Posted / ravi patnam
1) When you want to modify a record, first you have to get
that into memory from physical file by the way of reading.
2)Then do modifications.
3)After the modification over again put it bak to the
physical file by using 'Rewrite' command.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
explain sorting techniques in cobol program?
Write a program to enter and display the names of students in a class using the occurs clause.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is length is cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Name the divisions, which are available in a cobol program?
Difference between cobol and cobol-ii?
Define static linking and dynamic linking.
What are the different types of condition in cobol and write their forms.
Describe the cobol database components?
Write a program that uses move corresponding.
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?
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?
how do you reference the esds vsam file formats from cobol programs
Explain what you understand by passing by value.