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 / 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 |
Post New Answer View All Answers
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
what is the difference between COBOL2 AND COBOL390?
explain sorting techniques in cobol program?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Give some examples of command terminators?
How do you reference the following file formats from cobol programs?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What are the different types of condition in cobol and write their forms.
how can i see junk values in dclgen or in hostvariable of comp ?
What are the rules of the move verb?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
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?