PERFORM ACCUMULATE-TOTALS
VARYING A FROM 1 BY 2 UNTIL A >2
AFTER B FROM1 BY 1 UNTIL B>2
AFTER C FROM 2 BY -1 UNTIL C<2
How many times the paragraph ACCUMULATE-TOTALS would be
exicuted?
Answer Posted / shailendra
i think it will work once
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the difference between PIC 9.99 and PIC9v99?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What rules are to be followed while using the corresponding options?
What is the difference between Global and External Variables?
what is the difference between COBOL2 AND COBOL390?
What the difference is between continue and next sentence?
) How do u handle errors in BMS macro?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Have you used comp and comp-3 in your project? And how?
What is the difference between goback, stop run and exit program in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Can a Search can be done on a table with or without Index?
What are the pertinent COBOL commands?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?