Products Downloads


French version


 

When the knowledge base's naming conventions are used unchanged (application area: DB_STANDARDS, environment: KLBCONCEPT) on the AS/400, the equivalent Adelia Studio programs are available.

 

The procedure is described below:

  1. Select BCONNAIS.DLL or BCONNAIS128.DLL (with guide words limited respectively to 15 and 128 characters) as the specific DLL in the environment attributes' Miscellaneous tab.

  2. Then create the work file FICHIEP containing the file of files' data.

The syntax of the FICHIEP file is as follows:

EntityName,Prefix,Description,FileName;

...

 

Example:

CUSTOMER,CU,Customer File,CUSTP;

ORDER,OR, ,ORDERP;

ITEM,IT,Items,ITEMP;

 

Naming convention programs of the knowledge base

Function/Program

Adelia/400

Use

Function

HSLRZR / HS#RZR

Creation of redundant property names (due to relationships).

Builds the property's new name, taking the first 8 characters of its name, followed by "_xxx" where xxx represents either the 3 characters that follow the "_" in the relation's name or else the first 3 characters in the relation name.

HSLREF / HS#REF

Creation of format and file names.

Calculates the physical and logical file code and the format of a logical entity.

 

 

Physical file name

:

Name found in the file of files.

Logical file name

:

Replacement of the last character in the file name by L1, or L if the length is 10.

Format name

:

Replacement of the last character in the file name by F.

 

 

If the entity has not been referenced, a record is created in the file of files:

 

The first two characters in the entity name are defined as a prefix. If they are already used for another file, the program will replace them by QQ and include a warning in the description in the file of files.

 

The physical file name is made up of the first six characters in the entity name, followed by a P.

 

HARMRE / HA#RMRE

Creation of the logical property's guide word from the property's name.

Builds the logical property's guide word as follows:

The system looks for the two-character prefix in the file of files; the prefix is followed by a "_" and added to the property's name.

 

HARZRE / HA#RZRE

Creation of the logical property's short name from the conceptual short name.

Builds the logical property's short name as follows:

The system looks for the two-character prefix in the file of files; the prefix is added to the conceptual property's short name.

 

HALRMA / HA#RMA

Creation of the associated guide word from the logical property's guide word.

Builds the associated field's guide word as follows:

The first two characters of the guide word are replaced by ZZ.

 

HALRZA / HA#RZA

Creation of the associated short name from the logical property's short name.

Builds the associated field's short name as follows:

The first two characters of the short name are replaced by ZZ.

HALRDF / HA#RDF

Creation of the DSPF name from the layout code (FM).

From the layout's name, gives the display file's default name. This is the layout's name with the suffix FM.

HALRPF / HA#RPF

Creation of the PRTF name from the layout code (PR).

From the layout's name, gives the print file's default name. This is the layout's name with the suffix PR.

 

↑ Top of page