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
Write a cobol program making use of the redefine clause.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
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?
How to print 10 to 1 if the input have only 10 digit number?
how do you reference the ksds vsam file formats from cobol programs
How many sections are there in data division in COBOL?
how do you reference the esds vsam file formats from cobol programs
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Explain how you can characterize tables in cobol?
HOw can I get the negative sign while deduct high value from low value
What are the pertinent COBOL commands?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What are the cobol coding sheets?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
) how do u code after getting data?