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
Explain the input procedure?
What is the syntax of sort?
What is sort? And its syntax?
Explain how to update data area in cobol 400 program?
Define perform?
How to detect record is locked in cobol/400? What is the solution for that?
Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?
Explain the syntax of sort?
Define redefine?
What is input procedure?
How to update data area in cobol 400 program?
What is redefine?
What is perform?
Explain the difference between search and searchall?
Explain the difference between comp & comp-3?