Use NAME to generate a link-edit NAME card for each object module. You can also use NAME to generate names for each load module when you are doing batch compilations.
When NAME is specified, a NAME card is appended to each object module that is created. Load module names are formed using the rules for forming module names from PROGRAM-ID statements.
NAME option syntax .-NONAME-------------------. >>-+--------------------------+-------------------------------->< '-NAME-+-----------------+-' | .-NOALIAS-. | '-(-+-ALIAS---+-)-'
Default is: NONAME, or NAME(NOALIAS) if only NAME is specified
Abbreviations are: None
If you specify NAME(ALIAS), and your program contains ENTRY statements, a link-edit ALIAS card is generated for each ENTRY statement.
The NAME or NAME(ALIAS) option cannot be used for compiling programs that will be prelinked with the Language Environment prelinker.
related references
PROGRAM-ID paragraph (Enterprise COBOL Language Reference)