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 can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the difference between next sentence and continue in cobol programing language?
What is rmode(24)
How you can characterize tables in cobol?
how do you reference the ksds vsam file formats from cobol programs
Define static linking and dynamic linking.
What is the problem of ordered sequential files access?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
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 are literals?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
example for sub strings ? and refernce modifications whit output pls
how to access the file from prodution from changeman tool and to submit a file to production
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
HOw can I get the negative sign while deduct high value from low value