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
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is the compute verb? How is it used?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the difference between goback, stop run and exit program in cobol?
What is perform what is varying?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
When is inspect verb is used in cobol?
HOw can I get the negative sign while deduct high value from low value
What is inspect in cobol ?
how do you reference the variable unblock file formats from cobol programs
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
IF I mention stop run in CICS what happens?