

Coding Standards for Database Files › Coding Standards for COBOL Programs › Naming Standards in COBOL › COBOL Field Naming Convention › COBOL Subroutine and Label Names
COBOL Subroutine and Label Names
Given that COBOL source code is edited online using a small (24 x 80 or 24 x 132) panel, it is important to make an effective use of subroutine and label names. The subroutine and label naming conventions for COBOL described below are intended to:
- Help distinguish between the major and minor sections of the code
- Indicate whether you need to scroll forwards or backwards to find a section of code R
- Relate labels to section names
Subroutine names and label names should take the following forms:

Copyright © 2014 CA.
All rights reserved.
 
|
|