cobol2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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).
                                    -♦-