consider the following progrm statements
MOVE 0 TO SW.NO.OF.REC
PERFORM PRI-OUT UNTIL SW=1
DISPALY NO.OF.REC
STOP RUN
PRE-OUT
READ IN-FILE AT END
MOVE 1 TO SW
WRITE OUO-REC FROM IN-REC
ADD 1 TO NO.OF REC
if the IN-FILE contains 1000 records what value will be
displayedafter the
PERFORM is over?assume that N0.OF.REC has PIC 9(4)
a.1000
b.1001
c.1
d.none of the above since there is a syntex error
Answer Posted / divakar
correct ans is D.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are different data types in cobol?
Write the code implementing the perform … varying.
) how do u code after getting data?
How to know whether the module is dynamical or statistical?
how do you reference the variable block file formats from cobol programs
In which area will you utilize 88 level items in cobol?
What are the different data types in cobol?
What is comp-1 and comp-2?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is perform what is varying?
Which division and paragraphs are mandatory for a COBOL program?
What are 77 levels used for?
What is the usage of comp fields in cobol?
What are the different rules to perform a Search?
What is redefines clause in COBOL?