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

Answer Posted / harish

It depends on two coditions with PERFORM WITH TEST BEFORE/AFTER.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

684


How do you reference the fixed block file formats from cobol programs

705


Define cobol?

862


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

998


For rewrite, why is it mandatory that file needs to be opened?

623






What is a SSRANGE and NOSSRANGE?

820


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

2117


How do you define a variable of comp-1 and comp-2?

704


What is the Purpose of POINTER Phrase in STRING command in COBOL?

721


What is amode(24)?

684


What are the different rules for performing sort operation?

763


What is redefines clause in COBOL?

851


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

717


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1654


How do u write test cases?

1638