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 the difference between external and global variables in COBOL?
What is amode(31)
how do you reference the ksds vsam file formats from cobol programs
What is the LINKAGE SECTION used in COBOL?
What type of SDLC u followed? Why?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Write a program to explain size error.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
what happens if parmparameter passes zero bytes to the program
What is the usage of comp fields in cobol?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your 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?
) How do u handle errors in BMS macro
What is the difference between Call and a Link?