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 to move the records from file to array table. give with code example
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What is the local-storage section?
How do you get the data to code the BMS macro?
how do you reference the ksds vsam file formats from cobol programs
State the various causes of s0c1, s0c5 and s0c7.
What is the usage of comp fields in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What kind of error is trapped by on size error option?
What are the access modes of START statement?
what are decleratives in cobol?
In COBOL, what is the different between index and subscript?
) what is the difference between AID and HANDLE AID?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there