All subscripts should be defined as PIC ____?
-
NUMERIC
-
BINARY
-
ALPHANUMERIC
-
ANY OF THE ABOVE
B
Correct answer
Explanation
In COBOL, subscripts should be defined as BINARY (COMP) because binary representation avoids decimal-to-binary conversion overhead during array or table indexing, leading to highly optimized execution speeds compared to using standard alphanumeric or numeric variables which degrade runtime performance.