You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

7.95 OVERRIDE


The OVERRIDE command is used to override the data dictionary attributes of a field in a function or component.


Any field attribute (except the type) can be overridden.

Any overrides specified take effect only within the function. The LANSA data dictionary remains totally unaffected by the override.

Also See

7.95.1 OVERRIDE Parameters

7.95.2 OVERRIDE Examples


                                                        Required

  OVERRIDE ----- FIELD -------- field name --------------------->

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

             >-- LENGTH ------- *SAME -------------------------->
                                numeric value
                                      incr/decr      *PLUS
                                                     *MINUS
                                                     *NONE
                                      # to incr/decr *NONE
                                                     numeric value

             >-- DECIMALS ----- *SAME -------------------------->
                                numeric value
                                      incr/decr      *PLUS
                                                     *MINUS
                                                     *NONE
                                      # to incr/decr *NONE
                                                     numeric value

             >-- LABEL -------- *SAME -------------------------->
                                label name

             >-- DESC --------- *SAME -------------------------->
                                text description

             >-- COLHDG ------- *SAME -------------------------->
                                column heading
                                |             |
                                -- 3 maximum --

             >-- EDIT_CODE ---- *SAME -------------------------->
                                edit code

             >-- EDIT_WORD ---- *SAME -------------------------->
                                edit word

             >-- INPUT_ATR ---- *SAME -------------------------->
                                input attributes

             >-- OUTPUT_ATR --- *SAME -------------------------->
                                output attributes

             >-- DEFAULT ------ *SAME -------------------------->
                                default value

             >-- TO_OVERLAY --- *NONE -------------- 1 --------à
                                #field name    start position

             >-- SHIFT ------ *SAME --------------------------|
                                keyboard shift
  • No labels