The Benefits

The full benefits of LANSA's centralized Repository will be achieved if certain standards are adopted and rigorously enforced. These include:

Using a centralized Repository may extend the design phase of a project but this will easily outweigh the benefits achieved during the development and maintenance phases.

Consistency in validity checking, error messages and the names used on screens and reports and provides immeasurable benefits to end users.

Some Repository Guidelines

Some suggested guidelines for the definition of fields stored in the repository are as follows:

                                        should be        Part
                Part Number Status     ==========>      Status
                     XXX                                  XXX
                     XXX                                  XXX
                     XXX                                  XXX
 

                   Part               Customer
                   Number             Number         Date Due
 

                      Part Number
                      Cust Number
                      Date Due
 

In SAA/CUA compliant partitions the following input attributes should always be specified (in addition to any system default attributes):


PBEN

Panel body normal input field. For normal or non-significant fields (e.g. Zip Code).

PBEE

Panel body emphasized input field. For important, significant or key fields (e.g. Customer Number).


In SAA/CUA compliant partitions the following output attributes should always be specified (in addition to any system default attributes):


PBCN

Panel body normal output field. For normal or                    non-significant fields (e.g. Zip Code).

PBCE

Panel body emphasized output field. For important,                    significant or key fields (e.g. Customer Number).


This point should be emphasized to programmers used to "external" field definitions only being available when they use a file actually containing the field. In LANSA any field defined in the repository can be used in any RDML function.

Some of the advantages of using the LANSA repository for more than just defining the fields (or elements) which make up the records of files in the database are:

Portability Considerations for Repository Definitions

When working with fields, you should be aware of the following: