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 / guest

1 time

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules to perform a Search?

621


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5701


In COBOL, what is the different between index and subscript?

768


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2346


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

748






What is the difference between next sentence and continue in cobol programing language?

716


What is the difference between PIC 9.99 and 9v99 in COBOL?

739


What is the Purpose of Pointer in the string?

649


What is the difference between comp and comp-3 usage?

683


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

683


how do you reference the ksds vsam file formats from cobol programs

671


Which is not true about evaluate statement

1629


Define static linking and dynamic linking.

674


Explain how to differentiate call by context by comparing it to other calls?

693


explain sorting techniques in cobol program?

694