The ASSEM entry contains assembler statements that can be assembled to create an object module. It is created during JCLIN processing when SMP/E encounters an assembler step with inline assembler input. When the module is reassembled using the statements in the ASSEM entry, SMP/E copies those statements into the SMPWRK2 data set, and then assembles the module.
If a macro is invoked in the assembly, the ASSEM entry is pointed to by the GENASM subentry in the MAC entry created for that macro. As a result, when that macro is updated, SMP/E can reassemble the affected module using the statements in the ASSEM entry. For additional information, see the "Processing" sub-topic in the JCLIN command topic in SMP/E for z/OS Commands.
The name can contain from 1 to 8 alphanumeric characters.
The SYSMOD ID must contain 7 alphanumeric characters.
SET BDY(TGT1) /* Set to requested zone. */.
LIST ASSEM /* List all ASSEM entries. */.
SET BDY(TGT1) /* Set to requested zone. */.
LIST ASSEM(ASSEM01 /* List only these two */
ASSEM02) /* entries. */.
PAGE nnnn - NOW SET TO zzzzzz ZONE nnnnnnn DATE mm/dd/yy TIME hh:mm:ss SMP/E 36.nn SMPLIST OUTPUT
TGT1 ASSEMBLER ENTRIES
NAME
ASSEM01 LASTUPD = JXY1102 TYPE=ADD
ASSEMBLER INPUT = ...
... assembler statements
....
ASSEM02 LASTUPD = JXY1121 TYPE=UPD
ASSEMBLER INPUT = ...
... assembler statements
...
SET BDY(TGT1) /* Set to requested zone. */.
LIST ASSEM /* List all ASSEM entries */
XREF /* and macros that use them. */.
PAGE nnnn - NOW SET TO zzzzzz ZONE nnnnnnn DATE mm/dd/yy TIME hh:mm:ss SMP/E 36.nn SMPLIST OUTPUT
TGT1 ASSEMBLER ENTRIES
NAME
ASSEM01 LASTUPD = JXY1102 TYPE=ADD
ASSEMBLER INPUT = ...
... assembler statements
...
MACROS USED = NAME FMID
MAC01 JXY1102
MAC02 JXY1121
ASSEM02 LASTUPD = JXY1121 TYPE=UPD
ASSEMBLER INPUT = ...
... assembler statements
...
MACROS USED = NAME FMID
MAC01 JXY1102
MAC03 JXY1121
SET BDY(TGT1) /* Set to requested zone. */.
UNLOAD ASSEM /* Unload all ASSEM entries. */.
SET BDY(TGT1) /* Set to requested zone. */.
UNLOAD ASSEM(ASSEM01 /* Unload only these two */
ASSEM02) /* entries. */.
UCLIN .
REP ASSEM ( ASSEM01 )
LASTUPD ( JXY1102 )
LASTUPDTYPE ( ADD )
++ASMIN
...
... assembler statements
...
++ENDASMIN
.
REP ASSEM ( ASSEM02 )
LASTUPD ( JXY1121 )
LASTUPDTYPE ( UPD )
++ASMIN
...
... assembler statements
...
++ENDASMIN
.
ENDUCL.
The following examples are provided to help you use the ASSEM entry.