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.



if a=b how the flow will complete??? perform test through test-exit. perform activa through act..

Answer / 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

More COBOL Interview Questions

What are 77 levels used for?

0 Answers  


how to transfer the file from pc to mainframe??

3 Answers  


How much salary you are expecting? If they ask in an interview, what we have to tell?

6 Answers   Tech Mahindra, Wipro,


what is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?

2 Answers   BirlaSoft,


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

0 Answers  






01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?

2 Answers   IBM,


How you can delete a record from a ps file in cobol?

1 Answers  


How to retain the Duplicates in the one records?

3 Answers   CS,


How can I tell if a module is being called DYNAMICALLY or STATICALLY?

3 Answers   CTS,


What is the significance of 'above the line' and 'below the line'?

2 Answers   Nokia,


What is the difference between goback, stop run and exit program in cobol?

0 Answers  


How to delete a front spaces in a data-name/variable in cobol Example:- 01 data-name-1 PIC x(20) value " cobol language". 01 data-name-2 PIC x(20). MOVE data-name-1 to data-name-2. would like the value of data-name-2 is "cobol language".

3 Answers  


Categories