Assume that you want to direct all the SYSPRINT output for assemblies
to the MYSYSPRT DD statement rather than to the SYSPRINT DD statement.
To do this you need to build a UTILITY entry for the assembler and
then specify that UTILITY entry in the OPTIONS entry that will be
in effect. Assume that the UTILITY entry to be defined is named IEUASM,
and that the OPTIONS entry to be used is MYOPT1. The following UCL
will accomplish your objectives:
SET BDY(GLOBAL) /* Set to global zone. */.
UCLIN /* */.
ADD UTILITY(IEUASM) /* Assembler utility. */
PRINT(MYSYSPRT) /* Alternate SYSPRINT */
/* Other values remain as
in SMP/E defaults. */.
REP OPTIONS(MYOPT1) /* Connect to OPTIONS. */
ASM(IEUASM) /* Use IEUASM for ASM. */
/* */.
ENDUCL /* */.
Note: Remember, if you specify a DDDEF for a DUMMY data set or a DDDEF
for a data set that is sent to a SYSOUT class that suppresses output,
you do not receive SYSPRINT output from this utility.