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 / hitesh karnani

First of all, when you code , you have to know what do you
want to do....
Perform after next sentence doesn't make sense ..it never
executes....

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1069


What are various search techniques in cobol? Explain.

849


What is a scope terminator give example?

820


How do you reference the following file formats from cobol programs?

899


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

970


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

973


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1870


What is length is cobol?

850


What are all the divisions of a COBOL program?

871


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

11490


What are 77 levels used for?

839


Define cobol?

1060


explain sorting techniques in cobol program?

875


What is static and dynamic call in cobol?

778


example for sub strings ? and refernce modifications whit output pls

2061