7.22 DEF_COND

The DEF_COND command is used to define a condition that may be used for one or more of the following tasks:

  • To "pre-define" an expression that is used repeatedly in subsequent IF, DOWHILE, DOUNTIL, or CONDCHECK commands.
  • To define a condition to be used to control the enabling (or disabling) of function keys on subsequent DISPLAY, REQUEST or POP_UP commands.
  • To define a condition to be used to control the appearance (or non-appearance) of fields on a screen panel or a report line.

Also See

7.22.1 DEF_COND Parameters

7.22.2 DEF_COND Examples


                                                                                        Mandatory

  DEF_COND ----- NAME --------- name of condition -------------->

                      >-- COND - 'condition to evaluate' ------------------>

 ----------------------------------------------------------------------
                                                                                           Optional

                     >-- COLHDG ------- *YES -----------------------------|
                                                      *NO

  • No labels