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 / wairagade
Output = MAIN-PARA
See the Main-Para. the flow is like , it will display MAIN-
PARA text and then perform SECTION-A in which nothing is
coded, it will give control back to OS.
If PERFORM SECTION-A thru PARA-A2
Then
O/P
MAIN-PARA
SECTION A PARA A1
SECTION A PARA A2
Please correct me if I stated wrong
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Define static linking and dynamic linking.
Write some characteristics of cobol as means of business language.
what is the difference between COBOL2 AND COBOL390?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Name some of the examples of COBOl 11?
what are decleratives in cobol?
how do you define single dimensional array and multidimensional array in your cobol?
Differentiate between structured cobol programming and object-oriented cobol programming.
How to print 10 to 1 if the input have only 10 digit number?
Can a Search can be done on a table with or without Index?
Can you please let me know the centre name of INS certification in Kolkata.
What is the difference between comp and comp-3 usage?
how do you reference the fixed unblock file formats from cobol programs
Name the divisions, which are available in a cobol program?
What is the difference between next sentence and continue in cobol programing language?