Which opcode is used as a pointer in RPG400 programming?
-
SETLL
-
SETGT
-
Both 1 & 2
-
Neither 1 nor 2
C
Correct answer
Explanation
Both SETLL (Set Lower Limit) and SETGT (Set Greater Than) are positioning operations in RPG/400 that act as pointers to specific records in a file. SETLL positions at the first record greater than or equal to a key, while SETGT positions at the first record greater than a key. Both are pointer operations used for record positioning.