The LOC_ENTRY command is used to locate the first entry in a list that satisfies a specified condition.
The list specified must be a working list (used to store information within a program). It is not possible to use the LOC_ENTRY command against a browse list (used for displaying information at a workstation).
Refer to the DEF_LIST command for more details of lists and list processing.
Also See
Optional
LOC_ENTRY ---- IN_LIST ------ *FIRST ------------------------->
list name
>-- WHERE -------- 'condition' -------------------->
>-- RET_NUMBER --- *NONE -------------------------->
field name
>-- RET_STATUS --- *STATUS ------------------------>
field name
>-- RET_ENTRY ---- *YES ---------------------------|
*NO