Consider the below example
call a-test1.
--
--
--
a-test1.
if a=b
perform a-test through a-exit
next sentence
else
if b=c
perform c-test through c-exit.
if a=d
perform d-test through d-exit.
a-test.
--
--
a-exit.
exit.
can u tell me what will happen if a=b
after looping into a-exit will the control go back to a-
test1.
will the condition a=d be checked???
Answer Posted / dimpy19
Compilation Error.
both NEXT SENTENCE and CONTINUE place holder.
above situation NEXT SENTENCE will give compilation error
CONTINUE will not generate compilation error
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
example for sub strings ? and refernce modifications whit output pls
What are 77 levels used for?
What guidelines should be followed to write a structured cobol prgm?
What is the difference between next sentence and continue in cobol programing language?
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.
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
What is link edit in cobol?
What are literals?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between external and global variables in COBOL?
What is length is cobol?
Write a program that uses move corresponding.
State the various causes of s0c1, s0c5 and s0c7.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning