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 / manj
CONTINUE inside IF loop searches for the first terminator
END-IF and comes out.
NEXT SENTENCE searches for the first FULL STOP and goes to
the next line after that.
The above code does nothing. IF A=B, control comes to the
next line after END-IF and same for ELSE part too.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Name the divisions, which are available in a cobol program?
What is the difference between binary search and sequential search?
how to access the file from prodution from changeman tool and to submit a file to production
What is length is cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the difference between goback, stop run and exit program in cobol?
What kind of error is trapped by on size error option?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How do you differentiate between cobol and cobol-ii?
How do you define a variable of comp-1 and comp-2?
What is the use of intialize verb?
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.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Write a program to explain size error.
What are the pertinent COBOL