Answer Posted / ashish
we declare table as
01 SALES-OF-YEAR-2010 OCCURS 12 TIMES indexed by YY.
02 MONTH PIC A(10).
02 NUM-OF-UNITS PIC 9(7).
02 PRICE-OF-UNIT PIC 9(5).
and we can call table elemnts as follows
procedure division.
.......
.......
MOVE 1 TO YY.
DISPLAY MONTH(YY).
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What is the syntax of sort?
What is input procedure?
Explain the syntax of sort?
Explain the output procedure?
What is comp?
What is the actual use of fillers?
What is perform?
why icetool be used in programmer view?
What is output procedure?
What is redefine?
What are fillers? What is the actual use of fillers? With mall/simple example?
What are fillers?
Explain the syntax of redefine?
Define redefine?
Explain how to detect record is locked in cobol/400? What is the solution for that?