How many times the loop runs here
01 a pic 9(2) value 10.
perform para1 a times
stop run.
para1:
move 20 to a.

Answer Posted / suresh

it performs 10 times only it donot change while looping

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the usage of comp fields in cobol?

653


what are decleratives in cobol?

1827


Can a Search can be done on a table with or without Index?

800


what is the difference between COBOL2 AND COBOL390?

2450


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

695






can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1950


In COBOL programming, what is PERFORM? What is VARYING?

668


What guidelines should be followed to write a structured cobol prgm?

668


i want a program using by if, evaluate , string, unstring, perform, occurs?

4046


When is inspect verb is used in cobol?

671


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

704


How many bytes S(8) comp field occupy and its maximum value?

1627


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

892


Differentiate between structured cobol programming and object-oriented cobol programming.

663


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

706