Description: Searches an array or table for a value and sets indicators.
Legacy RPG400 Example:
C SearchVal LOOKUP ArrayName 99
Modern RPGLE Example:
dcl-s Index int(10);
Index = %lookup(SearchVal : ArrayName);
if Index > 0;
// Found
endif;
From AS400 to iSeries to System i to IBM i on Power
Description: Searches an array or table for a value and sets indicators.
Legacy RPG400 Example:
Modern RPGLE Example:
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.