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?
Answers were Sorted based on User's Feedback
what is label record is standard or omitted in file description of data division?
Can 88 level variable be declared in FD section..?
Where the Plan is located in CICS-DB2
i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19
What COBOL construct is the COBOL II EVALUATE meant to replace?
how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?
How to recover a deleted source physical file from library?
How do u initialize an array?
What R 2 of the common forms of the EVALUATE STATEMENT ?
How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.
I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?