6.2 The Repository

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

 

 

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).

 

 

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).

 

Y

For any form of date field.

4

For numeric fields that will never be negative.

M

For numeric fields that may be negative.

 

Portability Considerations for Repository Definitions

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

*JOBD is always QBATCH

*CPU_NUMBER is always 0

*GUIDEVICE is always Y

*OUTQNAME is always QPRINT

*OUTQLIB is always QGPL

*MSGQNAME is always the job name

*MSGQLIB is always QGPL

*GROUP_OWNER is always *USRPRF.