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 many bytes S(8) comp field occupy and its maximum value?

1629


What is link edit in cobol?

767


What are the different rules of SORT operation?

698


What is the difference between Global and External Variables?

666


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1647






What is the default value(s) for an initialize and what keyword allows for an override of the default?

693


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

644


Write some characteristics of cobol as means of business language.

619


explain sorting techniques in cobol program?

686


Write down the divisions of cobol program?

669


What is rmode(24)

677


Which mode is used to operate the sequential file?

660


how do you reference the ksds vsam file formats from cobol programs

664


Explain how you can characterize tables in cobol?

636


What is the difference between external and global variables in COBOL?

813