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 do you reference the variable block file formats from cobol programs
Explain the configuration section of a cobol program with examples of syntax.
What are the rules of the move verb?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is the difference between Call and a Link?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
how do you reference the variable unblock file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What are the access modes of START statement?
What is difference between static and dynamic call in cobol?
What are the different rules of SORT operation?
What are literals?
How you can characterize tables in cobol?
How can you get the ksds file records into your cobol program?