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
What is comp-1 and comp-2?
What kind of error is trapped by on size error option?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What are the cobol coding sheets?
What do you understand by psb and acb?
What are all the divisions of a COBOL program?
For rewrite, why is it mandatory that file needs to be opened?
What are the pertinent COBOL
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Discuss about changing dataset name in proc.
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
How do you define a variable of comp-1 and comp-2?
What is inspect in cobol ?
What is the difference between Global and External Variables?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?