if a>b

continue
display x.
dispaly y.
end-if

display 1

display 2.

display 3.
what should be my output ?

Answers were Sorted based on User's Feedback



if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what..

Answer / sharpmainframe

ERROR: BECAUSE OF MISMATCH END-IF

YOU NOT PUT ANY SCOP TERMINATOR(.) INBETWEEN IF-ENDIF STMT

Is This Answer Correct ?    6 Yes 0 No

if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what..

Answer / javed

There will be a compilation error.

Is This Answer Correct ?    0 Yes 0 No

if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what..

Answer / ravikrian

1

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

what happens if we wont give timestamp in precompilation process ?

4 Answers   Covansys,


Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.

3 Answers  


what is ASRA, AEY9?

2 Answers   IBM,


how to code in cobol while using variable block file?

1 Answers  


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

0 Answers  






what is the difference between implicit and explicit scope terminator with example? 

1 Answers  


HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?

1 Answers  


Define static linking and dynamic linking.

0 Answers  


How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  


Write a program to enter and display the names of students in a class using the occurs clause.

0 Answers  


What is file status 92?

3 Answers  


I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??

2 Answers   HCL,


Categories