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
Consider the following COBOL entries 05 X PIC 99 VALUE 10. ADD 40 X TO X. COMPUTE X = 3 * X - 40. The result in X is
what is call by value and call by reference ?
3 Answers Infosys, ITC Indian Tobacco Company,
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What COBOL construct is the COBOL II EVALUATE meant to replace?
Write a cobol program making use of the redefine clause.
How are the next sentence and continue different from each other?
Which division and paragraphs are mandatory for a COBOL program?
What is the difference between Call and a Link?
Describe the cobol database components?
Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How is sign stored in Packed Decimal fields and Zoned Decimal fields?