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.
Answers were Sorted based on User's Feedback
Answer / suresh
it performs 10 times only it donot change while looping
| Is This Answer Correct ? | 14 Yes | 3 No |
Answer / shiva
initally a=10
perfrm para1 a(10) times
move 20 to a...so now a=20
now again perform para1 a(20)times
and loop goes on
hence infinite loop
| Is This Answer Correct ? | 3 Yes | 5 No |
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
How can we increase the size of an existing PDS to include more no. of modules.
give the examples of strings in cobol
What is an explicit scope terminator?
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?
what is rediffine clause?in what situation it can use?give me real time example?
when COMP-3 is preferrable?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What kind of error is trapped by on size error option?
Without using move verb how to move one variable to another.
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
should I use Go back in the main program ? Yes we can use Go back in main program as well.