Hai friends
why we need to read a file before re-write a record?
Answer Posted / anna
All pr answers are not right.
We read the record first because :
a) we need to knouw if record is exist
b) if you do not read the record on output file will have
just field that you changed the rest will be blank.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is link edit in cobol?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What are declaratives and what are their uses in cobol?
Explain what you understand by passing by value.
What are the different data types in cobol?
What is the difference between external and global variables in COBOL?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Difference between array and sub-script ?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Write the code to count the sum of n natural numbers.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is static and dynamic call in cobol?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
how do you reference the ksds vsam file formats from cobol programs