if a=b how the flow will complete???

perform test through test-exit.
perform activa through activa-exit.

test.

if a=b then
next sentence
else
move a to c.
test-exit.
exit.

activa.
--
--
activa-exit.
exit.

Answer Posted / subbu

It will come out of the activa-exit.

Mans a the condition is a=b fist it will perform "perform
test through test-exit."

if a=b then
next sentence --> comes here
else
move a to c.
test-exit.
exit.


As it is satisfying the if part it should go to next
sentence i.e it will come out of the text-exit.

Now it will perform "perform activa through activa-exit."

so it will come out of the activa-exit.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you reference the variable block file formats from cobol programs

686


What is Pic 9v99 Indicates in COBOL?

726


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2105


How you can read the file from bottom?

660


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17036






what is the use of outrecord?

1771


What are all the divisions of a COBOL program?

663


what are decleratives in cobol?

1827


Write a program that uses move corresponding.

673


explain sorting techniques in cobol program?

689


Why did you choose to work with ibm mainframe cobol programming?

631


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

711


Difference between cobol and cobol-ii?

704


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

932


What are the different data types in cobol?

795