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
what is search and searchall?what is the diffrence between them?give an best example?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is difference between static and dynamic call in cobol?
What is rmode(any) ?
What the difference is between continue and next sentence?
What is amode(31)
What is a report item?
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.
What is the difference between comp and comp-3 usage?
What are various search techniques in cobol? Explain.
What is Pic 9v99 Indicates in COBOL?
how to move the records from file to array table. give with code example
How to know whether the module is dynamical or statistical?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
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