Hai friends
why we need to read a file before re-write a record?
Answer Posted / diwakar
Without knowing what field to rewrite we cannot use rewrite
the field in a record.Thats why we read the file first and
then rewrite the same
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
How to print 10 to 1 if the input have only 10 digit number?
What is 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 define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is rmode(24)
What is the difference between external and global variables in COBOL?
how do you reference the printer file formats from cobol programs
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.
How to know whether the module is dynamical or statistical?
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?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the difference between PIC 9.99 and PIC9v99?
How to remove 2 duplicate records and copy only one using job control language?
A table has two indexes defined. Which one will be used by the SEARCH?
what is difference between cobol and cobol/400