6.1 Object Naming Standards

Use naming standards that only use letters of the English alphabet (A - Z) and numbers (0 - 9) and underscore (_) in all newly designed applications. The use of other characters should be avoided at all times. Although this is not a mandatory requirement it will mean that objects do not have to be automatically renamed if built on a non-IBM i platform.

Refer to LANSA Object Names in the Technical Reference Guide for object naming conventions and reserved words.

Package Development and Naming Standards

The term "Package Development" refers to applications developed specifically for sale on the open market.

All development, but especially package development, presents a particularly crucial problem with regard to naming standards. This is the problem of duplicated names.

For example, what happens if you design a package with a customer master file called CUSTMST, install it onto a new user's system and then find that the user has an existing customer master file called CUSTMST?

The best method of avoiding this situation is to set - and strictly follow - naming standards.

The suggested standard is to prefix all objects with two characters to identify the package. For example OE (order entry package) or GL (general ledger package).