NAME

Use NAME to generate a link-edit NAME card for each object module. You can also use NAME to generate names for each program object when you are doing batch compilations.

When NAME is specified, a NAME card is appended to each object module that is created. Program object names are formed using the rules for forming module names from PROGRAM-ID statements.

NAME option syntax

Read syntax diagramSkip visual syntax diagramNONAMENAME(NOALIASALIAS)

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.

Related references  
PROGRAM-ID paragraph (Enterprise COBOL for z/OS® Language Reference)