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 / vel
2 times
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can you get the ksds file records into your cobol program?
State the various causes of s0c1, s0c5 and s0c7.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What are all the divisions of a COBOL program?
What is rmode(24)
What is Pic 9v99 Indicates in COBOL?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
) what is the difference between AID and HANDLE AID?
In which area will you utilize 88 level items in cobol?
What are different data types in cobol?
What are the different rules of SORT operation?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
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.