Glossary
The creation of a glossary can be an effective means of establishing naming conventions for database information. The glossary can be stored in the dictionary where it is readily available as a reference tool. Tools such as the glossary also aid in the development of consistent site-specific application coding standards.
Example
The following example shows sample entries from one type of glossary. This example shows one way in which a glossary can be defined; each design team must determine the naming conventions that best suit its needs. Note that the word WORD in this example is a user-defined entity defined to the data dictionary, as follows:
The sample entries from this glossary show one way in which naming conventions can be implemented within an installation. In this glossary, the application designers have determined that certain words are always to be abbreviated and others are never to be abbreviated; the majority of words are to be spelled out completely whenever possible. When stored on the data dictionary, the glossary is readily available as a reference guide for programmers and developers.
ADD CLASS NAME IS WORD
CLASS TYPE IS ENTITY.
ADD WORD ABEND ABBREVIATED NEVER
ADD WORD ABSOLUTE ABBREVIATED NEVER
ADD WORD ACCEPT ABBREVIATED NEVER
ADD WORD ACCOUNT ABBREVIATED SOMETIMES ABBR ACCT
ADD WORD ACCRUAL ABBREVIATED NEVER
ADD WORD ACCUMULATE ABBREVIATED SOMETIMES ABBR ACCUM
ADD WORD ACKNOWLEDGE ABBREVIATED SOMETIMES ABBR ACK
ADD WORD ADMINISTRATION ABBREVIATED ALWAYS ABBR ADMIN
ADD WORD ADDRESS ABBREVIATED ALWAYS ABBR ADDR
.
.
.
.
.
.
ADD WORD YIELD ABBREVIATED SOMETIMES ABBR YLD
ADD WORD YTD ACRONYM 'YEAR TO DATE'
ADD WORD YY ABBREVIATED NEVER
ADD WORD ZERO ABBREVIATED NEVER
ADD WORD ZONE ABBREVIATED NEVER
Information entities can use the following naming conventions:
EMPLOYEE-CODE DB-REC-EMPLOYEE-CODE MAP-EMPLOYEE-CODE WORK-EMPLOYEE-CODE
EMPLOYEE-0600 EMPLOYEE-2500 EMPLOYEE-6359
In CA ADS process source, as well as in COBOL, CA Culprit, and map source, the elements can be referenced by the element name plus the suffix, as follows:
EMPLOYEE-CODE-6359
CEMMILIS-MAP-RECORD
Elements in the map record utilize the prefix MAP- and the element name, as follows:
MAP-OFFICE-CODE
If the map needs more than one work record, a number is added to the word MAP, as follows:
CEMMILIS-MAP2-RECORD (the second map record) MAP2-OFFICE CODE (a record element from the second record)
CEMDULIS-WORK-RECORD
Elements in the dialog work record utilize the prefix WORK- and the element name, as follows:
WORK-OFFICE-CODE
If the dialog needs more than one work record, a number is added to the word WORK, as follows:
CEMDILIS-WORK2-RECORD (the second dialog work record) WORK2-OFFICE CODE (a record element from the second record)
EMPL-SKILL
|
Copyright © 2013 CA.
All rights reserved.
|
|