Suppose a program has the following code. What will be the
output?
MAIN-PARA.
DISPLAY 'MAIN-PARA'
PERFORM SECTION-A.
STOP RUN.
SECTION-A.
PARA-A1.
DISPLAY 'SECTION A PARA A1'.
PARA-A2.
DISPLAY 'SECTION A PARA A2'.
Answer Posted / deependra
The output is as follow:-
MAIN-PARA
SECTION A PARA A1
SECTION A PARA A2
Is This Answer Correct ? | 24 Yes | 1 No |
Post New Answer View All Answers
what is amode(24), amode(31), rmode(24) and rmode(any)?
What the difference is between continue and next sentence?
What rules are followed by the search verb.
What is the utilization of copybook in cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
how do you reference the fixed unblock file formats from cobol programs
How many sections are there in data division in COBOL?
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.
Which is not true about evaluate statement
How you can read the file from bottom?
What is the Purpose of Pointer in the string?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
In COBOL, what is the different between index and subscript?