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
How do we get current date from system with century in COBOL?
What is the difference between PIC 9.99 and 9v99 in COBOL?
how can i see junk values in dclgen or in hostvariable of comp ?
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 is difference between cobol and cobol/400
Which is not true about evaluate statement
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Have you used comp and comp-3 in your project? And how?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are the access modes of START statement?
Write a program that uses move corresponding.
Mention the guidelines to write a structured cobol program?
Explain what you understand by passing by value.
What are the different rules to perform a Search?