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
how do you reference the variable block file formats from cobol programs
Which mode is used to operate the sequential file?
What is the difference between next sentence and continue in cobol programing language?
Why occurs cannot be used in 01 level in COBOL?
Write a program that uses move corresponding.
What are the pertinent COBOL commands?
When is inspect verb is used in cobol?
how do you reference the rrds file formats from cobol programs
What rules are to be followed while using the corresponding options?
) How do u handle errors in BMS macro
What is report-item in COBOL?
Write the code implementing the perform … varying.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Are you comfortable in cobol or jcl?