If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially?
For example :
Input File
01
02
03
Para 900
Read infile
Display Infile rec
Read infile
Display infile rec
Read infile
Display infile rec.
What will be the output?
Answer Posted / ??????
It will read the same record three times.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Which division and paragraphs are mandatory for a COBOL program?
How to know whether the module is dynamical or statistical?
What are the pertinent COBOL
How to remove 2 duplicate records and copy only one using job control language?
Can we change the password using ALTER? anyone tried and changed?
how do you reference the printer file formats from cobol programs
How are the next sentence and continue different from each other?
What is the difference between external and global variables in COBOL?
Have you used comp and comp-3 in your project? And how?
What are the different rules for performing sort operation?
i need a small 3d program using inline and outline.
In which area will you utilize 88 level items in 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.