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 |
in real time what is the suitable exp where in-stream procedure is better then catalog procedure.
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?
What is the difference between working storage copybook and linkage section copybook?
What are decleratives in COBOL ?
input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.
What is the usage of comp fields in cobol?
What is the difference between Global and External Variables?
Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya
how to convert the recors form vsam file to db2 table tru file aid
Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?
what is the use of keep and pass in disp