7.63 FUNCTION

Note: Usage options

The FUNCTION command is used to specify certain compilation options that affect the way an RDML program is generated and thus the way it behaves when it is actually being executed.

By specifying certain values with this command, the behavior of an RDML function can often be altered to produce better performance characteristics in a specific operating environment.

Portability Considerations

Note Visual LANSA considerations in this command's parameters.

Also See

7.63.1 FUNCTION Parameters

7.63.2 FUNCTION Examples


                                                                                                  Optional

  FUNCTION ----- OPTIONS ------ function control option -------------->
                                                          *NOMESSAGES
                                                          *DEFERWRITE
                                                          *HEAVYUSAGE
                                                          *LIGHTUSAGE
                                                          *DBOPTIMISE
                                                         *DBOPTIMIZE
                                                         *DBOPTIMISE_BATCH
                                                         *DBOPTIMIZE_BATCH
                                                         *PGMCOMMIT
                                                         *NOPGMCOMMIT
                                                         *NOIGCCNV
                                                         *NO_RLTB_MIRROR
                                                         *DIRECT
                                                         *CLOSE_DISPLAY
                                                         *MLOPTIMISE
                                                         *MLOPTIMIZE
                                                         *ALP_SYSTEM_VARIABLE
                                                         *NUM_SYSTEM_VARIABLE
                                                         *ALP_FIELD_VALIDATE
                                                        *NUM_FIELD_VALIDATE
                                                        *MINI_SCREEN
                                                        *OS400_EXT_PRINT
                                                        *BUILTIN
                                                     |                         |
                                                      ---- 9 max ----

                      >-- RCV_DS ------- data structure names ----------------->
                                                    |                          |
                                                    ----- 20 max ----

                     >-- RCV_LIST ------ working list names -------------------->
                                                    |                          |
                                                    ----- 20 max ----

                    >-- TRIGGER ------ *NONE  ----- name ---------------------|
                                                   *FIELD
                                                   *FILE
                                                   type