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 / chandrababu naidu

if both values A and B values are equal, then control go to
'perform' statement, if both values A and B values are not
equal then control come out of if condition.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is search and searchall?what is the diffrence between them?give an best example?

5580


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

429


What is difference between static and dynamic call in cobol?

784


What is rmode(any) ?

690


What the difference is between continue and next sentence?

667






What is amode(31)

730


What is a report item?

745


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5701


What is the difference between comp and comp-3 usage?

683


What are various search techniques in cobol? Explain.

652


What is Pic 9v99 Indicates in COBOL?

734


how to move the records from file to array table. give with code example

2229


How to know whether the module is dynamical or statistical?

665


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1528


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2134