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

What are the access modes of START statement?

915


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

1047


Name the divisions, which are available in a cobol program?

910


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

905


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

886






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

611


Describe the cobol database components?

875


example for sub strings ? and refernce modifications whit output pls

2057


How you can characterize tables in cobol?

909


What type of SDLC u followed? Why?

1713


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1060


Name the sections present in data division.

884


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

1725


What are different data types in cobol?

899


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2169