Multiple choice technology mainframe

When you have less that 20 elements in table, then which among the below is preferred

  1. Search

  2. Search ALL

  3. In-Line Perform

  4. All of the above

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

For tables with fewer than 20 elements, an inline PERFORM VARYING is more efficient than binary search methods like SEARCH ALL. The overhead of setting up a table index for SEARCH/SEARCH ALL outweighs benefits for small datasets. Inline perform provides simple sequential access without additional table setup requirements.