consider the following two statements
MOVE 10 TO N
PERFORM PARA-X N TIMES
STOP RUN
PARA-X
MOVE 5 TO N
how many times PARA-X willbe exicuted?
a.10
b.5
c.infinate
d.execution error
Answer Posted / rehan
I think it'll execute infinite times
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
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 is Pic 9v99 Indicates in COBOL?
For rewrite, why is it mandatory that file needs to be opened?
What is the Purpose of Pointer in the string?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Write the code implementing the perform … varying.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Can we redefine the field of x(200) to less than 200?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Whats the difference between search & search ALL?
What rules are followed by the search verb.
What the difference is between continue and next sentence?