how many times PARA-A is performed :
PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1
UNTIL TIMES-COUNTER >0
PARA-A
MOVE P TO Q
MOVE H TO TIMES COUNTER
a.10
b.1
c.11
d.0
Answer Posted / harish
hi,
according to me i think its b. 1 times
initially times-counter is 1 > 0
so its right
condition satisfies
pls correct me if i am wrong
HARISH POOMGAME SHIVAPPA
NIIT TECHNOLOGY
KOLKATA
Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
What is rmode(24)
How to remove 2 duplicate records and copy only one using job control language?
What are the different open modes available in cobol?
How you can characterize tables in cobol?
How arrays can be defined in COBOL?
Write a program to enter and display the names of students in a class using the occurs clause.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
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?
Write the code implementing the perform … varying.
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 we get current date from system with century in COBOL?
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
Why would you use find and get rather than to obtain?
For rewrite, why is it mandatory that file needs to be opened?
What is difference between static and dynamic call in cobol?