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

input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1876


What is the Purpose of Pointer in the string?

643


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

857


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

748


What is the difference between PIC 9.99 and PIC9v99?

781






What guidelines should be followed to write a structured cobol prgm?

673


Why would you use find and get rather than to obtain?

690


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1943


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


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

685


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065


For rewrite, why is it mandatory that file needs to be opened?

623


What type of SDLC u followed? Why?

1520


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8167