Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.8 BROWSE

Note
titleNote
Usage options

The BROWSE command is used to display selected fields from selected file records at a workstation.

...

Portability Considerations

A build warning will be generated if used in Visual LANSA code. An error will occur at execution time. Code using this facility can be conditioned so that it is not executed in this environment.

Also See

7.8.1 BROWSE Parameters

7.8.2 BROWSE Examples


No Format
                                                      Required
  BROWSE ------- FIELDS ------- field name  field attributes --->
                                |          |               |    |
                                |            --- 7 max -------- |
                                 ------ 100 max ----------------
             >-- FROM_FILE ---- file name . *FIRST ------------->
                                            library name
                                                       Optional
             >-- WHERE -------- 'condition' -------------------->
             >-- WITH_KEY ----- key field values --------------->
             >-- NBR_KEYS ----- *WITHKEY ----------------------->
                                numeric field name
             >-- GENERIC ------ *NO ---------------------------->
                                *YES
             >-- IO_STATUS ---- *STATUS ------------------------>
                                field name
             >-- IO_ERROR ----- *ABORT ------------------------->
                                label
             >-- VAL_ERROR ---- *LASTDIS ----------------------->
                                *NEXT
                                label
             >-- USE_SELECT --- *YES  -------------------------->
                                *NO
             >-- NO_SELECT ---- *NEXT -------------------------->
                                label
             >-- ONE_FOUND ---- *DISPLAY------------------------>
                                *SELECT
             >-- ISSUE_MSG ---- *NO ---------------------------->
                                *YES
             >-- RETURN_RRN --- *NONE -------------------------->
                                field name
             >-- DOWN_SEP ----- *DESIGN ------------------------>
                                decimal value
             >-- ACROSS_SEP --- *DESIGN ------------------------>
                                decimal value
             >-- EXIT_KEY ----- *YES -- *EXIT ------------------>
                                *NO     label
             >-- MENU_KEY ----- *YES -- *MENU  ----------------->
                                *NO     label
             >-- ADD_KEY ------ *NO --- *NEXT ------------------>
                                *YES    label
             >-- CHANGE_KEY --- *NO ---- *NEXT ----------------->
                                *YES     label
             >-- DELETE_KEY --- *NO ---- *NEXT ----------------->
                                *YES     label
             >-- USER_KEYS ---- fnc key---'description'--label-->
                              |                               |
                               --------- 5 maximum -----------
             >-- SHOW_NEXT ---- *PRO ---------------------------|
                                *YES
                                *NO