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

What is comp-1 and comp-2?

0 Answers  


I want ALL jcl ERROR cods

1 Answers  


how do you reference the esds vsam file formats from cobol programs

0 Answers  


if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible

3 Answers   IBM,


perform I from 0 by 1 until I=5?How maney times it will executes

8 Answers  






where do we use dyanamic call ? and where do we use static call pls give any example pls ?

3 Answers   Patni,


what is the difference b/w level no.01 & level no.77?

3 Answers   HCL,


What is SDSF?

13 Answers   IBM,


how to check whether the open command of a sequential file is successful? or not?

2 Answers   CSC, IBM,


I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??

2 Answers   HCL,


can you declare redefine in level 01?

8 Answers   Patni,


how you read control card into array?

3 Answers   HCL,


Categories