Hai friends
why we need to read a file before re-write a record?
Answer Posted / mf buzz
Hi,
For Rewrite, the file has to be opened in I-O mode. REWRITE
is used to update records. Rewrite statement will update
the last read record. Hence, we have to read the record to
be updated first. Hope this clarifies.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Explain about different table spaces.
What is redefines clause in COBOL?
Write some characteristics of cobol as means of business language.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is static and dynamic call in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How do we get current date from system with century in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
In COBOL programming, what is PERFORM? What is VARYING?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad