HP 3000 Manuals

COBOL COMPILER CONVENTIONS [ MPE Segmenter Reference Manual ] MPE/iX 5.0 Documentation


MPE Segmenter Reference Manual

Appendix C  COBOL COMPILER CONVENTIONS 

For information about COBOLII/3000 conventions, see the COBOLII/3000
Reference Manual (32233-90001).

One RBM for:

 *  Initialization (main).

 *  All consecutive sections with the same priority number (subprogram).

One segment for each RBM.

Can use priority numbers to assign sections to specific segments.

The outer block must appear at the top of the USL list (must be the first
RBM prepared).  That is, it must be the first module prepared that
allocates (sets up) the secondary DB.

$CONTROL SUBPROGRAM generates non-dynamic subprogram.

$CONTROL DYNAMIC generates dynamic subprogram.

COBOL naming conventions:  RBM

 *  Main and subprogram initialization program name:  First 14 characters
    plus apostrophe.

 *  Main and subprogram section name:  First 12 characters plus nn'
    (nn=priority number).

 *  Hyphens are not used in names.

COBOL naming conventions:  SEGMENT

 *  Main initialization program name:  First 15 characters.

 *  Subprogram initialization:  First 14 characters plus apostrophe.

 *  Main and subprogram section name:  First 12 characters plus nn'
    (nn=priority number).

 *  Hyphens are not used in names.



MPE/iX 5.0 Documentation