What is the mode in which you will OPEN a file for writing?
Answer Posted / vikas pujar
If want to write new records :
1) Output - New records will be written , old will be
overwritten.
2) Extend - New records will be appended to existing ones
Where as :
1) I- O : Used to re-write the existing records, but not to
write new records
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
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.
how do you reference the printer file formats from cobol programs
Define cobol?
What is length is cobol?
In which area will you utilize 88 level items in cobol?
How can you get the ksds file records into your cobol program?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What are the access modes of START statement?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is an in line perform? When would you use it? Anything else you wish to say about it.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are the different open modes available in cobol?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
how to access the file from prodution from changeman tool and to submit a file to production
What are the pertinent COBOL