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

how to refer the data field?

1985


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

837


What is the difference between goback, stop run and exit program in cobol?

1218


What is the usage of comp fields in cobol?

866


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

899


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

859


When is inspect verb is used in cobol?

906


What is the Purpose of POINTER Phrase in STRING command in COBOL?

959


What is cobol?

937


What do you understand by psb and acb?

842


What is the difference between a binary search and a sequential search what are the pertinent cobol?

916


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

2352


What is a SSRANGE and NOSSRANGE?

1100


What are the different rules of SORT operation?

890


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

838