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 / brij
the above one is correct
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What kind of error is trapped by on size error option?
How are the next sentence and continue different from each other?
What is cobol?
) How do u handle errors in BMS macro?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is the difference between goback, stop run and exit program in cobol?
Name some of the examples of COBOl 11?
) How do u handle errors in BMS macro
What is the difference between comp and comp-3 usage?
What are the cobol coding sheets?
What are the different open modes available in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Which is not true about evaluate statement
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?