Multiple choice technology mainframe

How can you reference an element of a 3 dimensional table?

  1. Indexes

  2. Subscripts

  3. Search

  4. Search-all

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In COBOL, table elements can be referenced using either subscripts or indexes. However, subscripts (using actual numeric values or data items in parentheses) are the most direct way to reference individual table elements. SEARCH and SEARCH-ALL are verbs used for searching tables, not for direct element reference. Indexes are used with OCCURS clauses but require SET statements to modify.