SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DISTSRC, ASSEM, and DISTMOD operands

SMP/E for z/OS Commands
SA23-2275-01

Because SMP/E cannot determine from the data processed by JCLIN what source is contained in a totally copied library, the DISTSRC, ASSEM, and DISTMOD operands are provided to pass this information to SMP/E when a macro being replaced or updated, must cause the reassembly of source.
  • The DISTSRC operand value specifies the name of the distribution library containing the source.
  • The ASSEM and PREFIX operand values specify a list of sources that should be assembled during APPLY processing.
  • The DISTMOD operand value specifies the name of the distribution library containing the load modules.

These four operands are specified on ++MAC and ++MACUPD statements. The DISTMOD operand is also specified on ++SRC and ++SRCUPD statements.

The ASSEM operand values are placed in the associated SYSMOD entry on the distribution zone as ASSEM subentries. If any of the modules specified in the ASSEM operand values are found on the target zone as SRC or ASSEM entries, the DISTLIB and SYSLIB subentry values are used in lieu of the DISTSRC operand value.

If neither a SRC nor an ASSEM entry exists for a module in the ASSEM operand values, a SRC entry is created. The DISTSRC operand value is placed in the SRC entry as the DISTLIB subentry.

If there is no MOD entry on the distribution zone for a module in the ASSEM operand list, one is created. The DISTMOD operand value is placed in the MOD entry as the DISTLIB subentry.

After the macro update or replacement is accomplished, all modules specified in the ASSEM and PREFIX operand lists are assembled. If no member is found in the source distribution library or in the distribution library for a source specified in the ASSEM operand list, a warning message is issued, and processing of the SYSMOD continues without assembling or link-editing the module. If an assembly completes with a return code greater than the one you specified in the RC subentry of the ASM UTILITY entry (or the SMP/E default of 4 if the RC subentry is null), the processing of the SYSMOD stops. If the resulting object text from a successful assembly can be link-edited into a load module, the link-edit is performed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014