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 / vikas
Just once. The 'move 1 to a' is not in the para1. So its is NOT infinite loop.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What are the cobol coding sheets?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What are different data types in cobol?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Can we change the password using ALTER? anyone tried and changed?
What guidelines should be followed to write a structured cobol prgm?
What is rmode(24)
what is the difference between COBOL2 AND COBOL390?
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
What are the different rules for performing sort operation?
What is a SSRANGE and NOSSRANGE?
Write a program to enter and display the names of students in a class using the occurs clause.
A table has two indexes defined. Which one will be used by the SEARCH?
Name some of the examples of COBOl 11?