7.88 LOC_ENTRY

Note: Usage options

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

7.88.1 LOC_ENTRY Parameters

7.88.2 LOC_ENTRY Examples


                                                         Optional

  LOC_ENTRY ---- IN_LIST --------- *FIRST -------------------------->
                                                       list name

                     >-- WHERE --------- 'condition' ---------------------->

                    >-- RET_NUMBER --- *NONE ------------------------->
                                                       field name

                    >-- RET_STATUS ----- *STATUS ------------------------>
                                                       field name

                   >-- RET_ENTRY ------- *YES ----------------------------|
                                                       *NO