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 / ameins
It will read three consecutive records.
Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
What are the pertinent COBOL
IF I mention stop run in CICS what happens?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the difference between Global and External Variables?
What are 77 levels used for?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How arrays can be defined in COBOL?
What are the different data types in cobol?
what is search and searchall?what is the diffrence between them?give an best example?
What is the compute verb? How is it used?
Can a Search can be done on a table with or without Index?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
For rewrite, why is it mandatory that file needs to be opened?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How do we get current date from system with century in COBOL?