cobol2.hlp (Table of Contents; Topic list)
MAPNAME Details (↑ Choosing Run-time Behavior)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Specifying MAPNAME affects program-names and entry-points defined
     in the compilation and those referenced by the program as follows:
 
      o  ENTRY statements only in the outermost program
      o  CALL literal, but not CALL identifier, statements
      o  PROGRAM-ID entries in the outermost program, but not in nested
         programs.
 
     When a name is found to be incompatible a warning message is
     given and a modified name is used in the object program. The
     rules enforced and the modifications made are:
 
      o  The first eight characters must be unique among program-names.
         The name is truncated to the first eight characters.
 
      o  The first character must be alphabetic. If it is numeric it is
         changed as follows:
 
           0                   becomes             J
           1 through 9         become              A through I
 
      o  Hyphen (-) is not allowed. If one appears it is changed to zero
         (0).
                                    -♦-