The NMLDEF macro

Use the NMLDEF macro to generate an NML. The macro generates a CSECT statement, the list of module names, and an END statement. The generated NML is a load module that resides in SYS1.NUCLEUS.

When using NMLDEF, ensure that:
  • All SYS1.NUCLEUS members listed in an NML are in SYS1.NUCLEUS. If the system cannot find the specified SYS1.NUCLEUS member, it enters wait state X'055', with reason code X'2'.
  • Each SYS1.NUCLEUS member is listed in only one NML. If the system finds a duplicate NML entry, it enters wait state X'025'.
See z/OS MVS Programming: Authorized Assembler Services Reference LLA-SDU for details on coding the NMLDEF macro.