

Coding Standards for Database Files › PL/1 Coding Structures and Program Logic › PL/1 Procedure and Label Names › Procedure Naming Convention
Procedure Naming Convention
Procedure names and label names should consist of meaningful mnemonics, connected by an underscore, and prefixed by a label group to indicate the relative hierarchy:
- High-level procedures should have a single-letter prefix, such as ‘A_’, ‘B_’.
- 2nd level procedures should have a two-letter prefix, such as ‘AB_’, ‘AC_’, ‘BA_’.
- 3rd level subroutines should have a three letter prefix, such as ‘ABA_’, ‘BBC_’.
- General-purpose procedures should have a two-letter prefix: ‘Z’ label, such as ‘ZH_’.
Copyright © 2014 CA.
All rights reserved.
 
|
|