MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Reference and Help > Technical Support > Key Concepts and Procedures > Basic Concepts > Naming Conventions

Naming Conventions

 

 

Programs, reports, screens, and files use a simple numbering scheme that helps you determine how various objects are related.  The following format is used throughout MAC-PAC:

XXnnnYn

XX  The first two characters are the module's initials.  Information about the entity can be found by referring to the corresponding module user manual or program documentation manual.  Note that the technical support manuals contain information about objects with the following initials:

 

HP

Help Text

MA

Menu Authorization

RM

Recovery Management

TR

International Translation Facility

VV

Valid Values

 

nnn  The middle three characters are a number that is shared by all related objects.  For all modules except the financial modules (AR, AP, and GL), the following program numbering convention is used:

 

000-090

Initialization programs

100-290

File maintenance programs

300-490

Report request programs

500-790

Report generation programs

800-900

Inquiry programs

 

Y    The next characters indicate whether the object is a program, file, report, or screen, as follows.

 

A,B,..

Report

AP

Transaction file

BP

Audit trail file

CLP

Control language program

CP

Work file

DF

Display file

DP

Asynchronous transaction file

E

 Program

L

Logical file

M

Master file

P

Printer file

S

Screen

 

n    A sequential number used if more than one object exists with the same identifier.  For example, OP100E creates four files:  OP100M1, OP100M2, OP100M3, and OP100M4.

For example:

 

Part Master Maintenance Program is:

DE100E

The control language program that calls DE100E is:

DE100CLP

The Part Master File, which is maintained through that program, is:

DE100M

The individual screens used in the maintenance process are:

DE100S01
DE100S02

The display file defining how these screens are formatted is:

DE100DF1

 

The DE100E program does not create any reports.  If it did, however, they would be called DE100A, DE100B, etc. 

Source code for each module is found in the XXRPGSRC file within the source library, where XX is the module's initials.  Display files are found in the XXDDSSRC file within the source library.

The numbering scheme can help you investigate problems or answer questions about the software.  For example, if you have questions about a screen, you can refer to the online help or user manual.  If you want additional information about how the screen is processed, you can refer to the corresponding program's description in the program documentation module.  If you need even more detailed information, you can refer to the program's source code or display files.