File Names

Many of the files in VPM Enterprise are named using a naming convention that identifies the source, ownership and functionality of the file.

First Character - Source

The name of a VPM Enterprise file begins with “s”, identifying it as a system file. When a file is referenced in code, the “s” is lowercase.

Tip: Begin your file names with a letter other than “s” to easily identify them as your files. Perhaps, a “d” for “developer” would work for you.

Characters 2 thru 4 - Ownership

Characters 2 thru 4 of a VPM Enterprise file name identify the file’s ownership, as follows:

·       If the characters contain “APP” or “SYS”, the file belongs to VPM Enterprise. VPM Enterprise puts copies of “APP” files in the new applications that you develop, but changes the “APP” to the application’s identifying prefix.

·       If the characters contain an application prefix, the file belongs to an application that you are developing. If you create a file for a specific application, put the application prefix in characters 2 - 4 of the file name to identify the application that owns the file.

·       If you add a file to VPM Enterprise’s New Projects Objects list, you should place “USR” in characters 2 -4 of the file name and a “D” in the first character to identify it as a developer created file that will automatically be included in new applications you develop.

Character 5 - Function Category

The fifth character of a VPM Enterprise file name identifies the file’s function in a VPM Enterprise application. The following table shows the function category codes and the functionality they represent.

If the 5th character is:

The file’s functionality involves:

D

Data Dictionary

E

Error Handling

F

Foundation

H

Help

P

Project

S

Security

U

Utility

Remaining Characters - Description

The remaining characters of a VPM Enterprise file name are used to provide a clue to the file’s specific purpose.

 

More:

Tips & Techniques