A
Andrew_A_Paul
I've been working on an assignment for my COBOL class and there are few I can't seem to find in the book. Here's the question.
"A subscripted data name can be used in an IF statement, but not and EVALUATE statement"
Also, im asked to code data division entry to define a 50 element table named X-TAB. Each element in the table has a PIC of S9(3)V99 and should be in a group item named DATA-TABLE. This would work, correct?
01 DATA-TABLE
05 X-TAB OCCURS 50 TIMES PIC S9(3)V99.
Hopefully someone can help me out. Thanks
"A subscripted data name can be used in an IF statement, but not and EVALUATE statement"
Also, im asked to code data division entry to define a 50 element table named X-TAB. Each element in the table has a PIC of S9(3)V99 and should be in a group item named DATA-TABLE. This would work, correct?
01 DATA-TABLE
05 X-TAB OCCURS 50 TIMES PIC S9(3)V99.
Hopefully someone can help me out. Thanks