In COBOL "BEFORE" advancing is there or not ?

Answers were Sorted based on User's Feedback



In COBOL "BEFORE" advancing is there or not ?..

Answer / nag(igate)

Yes, Before advancing clause is there. but it is default in
perform statement.

ex:
Perform para1 varying I from 1 by 1 until I > 10 { test
before or after}
1. if we code before: the condition will check first then
loop will execute. it is default.
2. if we code after: the loop will execute first then
condition will check.

pls correct me, if i am wrong..............

Is This Answer Correct ?    1 Yes 0 No

In COBOL "BEFORE" advancing is there or not ?..

Answer / raja

After clause is default, but before clause also there.

Is This Answer Correct ?    0 Yes 0 No

In COBOL "BEFORE" advancing is there or not ?..

Answer / ravi

Before advancing is not there.

only after advanving is allowed

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

how can we find total no of records in a file ....is there any utility......?

3 Answers   IBM,


If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.

1 Answers  


How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree

3 Answers   Merrill Lynch,


which one is the best of com and com-3.using of real time ?

7 Answers   Cap Gemini,


I want ALL ERROR codes in VSAM

3 Answers   American Express, TCS,






Explain about level numbers?

3 Answers  


what is soc7 abend?how u can trace it?

4 Answers   Accenture,


explain sorting techniques in cobol program?

0 Answers  


how to display comp3 variables reply soon ?

4 Answers   Patni,


write a program to eliminate duplicate records in a input file and send them to output file.

2 Answers   IBM,


how many maximum no of variables can be declared in linkage section ?

2 Answers   HCL,


01 A pic 9(100) find record length of it

6 Answers   TCS,


Categories