COBOL Snippet: Tell where the control will when the below
code execute

IF (A=B)
CONTINUE
ELSE
NEXT SENTENCE
PERFORM <IMP-STMT>
END-IF.

Answer Posted / niveditha

This code looks funny.but still some times it is useful. If
A=B the control will be start immediately from after end-if.
If A not = B then perform loop will executes. there is no
meaning of next sentence

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to print 10 to 1 if the input have only 10 digit number?

811


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686


What kind of error is trapped by on size error option?

740


What are the pertinent COBOL commands?

2626


What is the difference between PIC 9.99 and PIC9v99?

781






System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1588


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

712


Explain how you can characterize tables in cobol?

638


How do we get current date from system with century in COBOL?

807


Name the divisions, which are available in a cobol program?

685


What are various search techniques in cobol? Explain.

650


What are literals?

632


Discuss about changing dataset name in proc.

763


What rules are to be followed while using the corresponding options?

641


In which area will you utilize 88 level items in cobol?

722