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 / khasim
compile error.
d-test and d-exit. not defined in Procedure division.
if we code the d-test and d-exit.
control goes to d-exit. not goback to a-test1.
after d-exit, it will go back.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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 reference the variable unblock file formats from cobol programs
Write a program to enter and display the names of students in a class using the occurs clause.
What is cobol?
Difference between array and sub-script ?
How do you define a variable of comp-1 and comp-2?
What is rmode(any) ?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is report-item in COBOL?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Write a cobol program making use of the redefine clause.
What are the different types of condition in cobol and write their forms.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
how do you reference the fixed unblock file formats from cobol programs