7 68 LOC_ENTRY

LANSA Technical

7.68 LOC_ENTRY

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.68.1 LOC_ENTRY Parameters

7.68.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