The job ASMAOPTS supplies a USERMOD to SMP/E to create a modified
options module ASMADOPT.
Before you run ASMAOPTS:
- Refer to General rules for coding the ASMADOPT ASSEMBLE file for more information
about how to enter the options into the sample job.
- Review the worksheets in Choices to make now, and enter these options and DDNAMES values into the sample
job ASMAOPTS.
- Edit and submit the sample job, ASMAOPTS, to change the default
options. Consult the instructions in the sample job for more information.
This job is shown in Figure 1.
Figure 1. Changing default options and DDNAMES//ASMAOPTS JOB <JOB CARD PARAMETERS>
//*
//USERMOD EXEC PGM=GIMSMP
//SMPCSI DD DSN=#globalcsi,
// DISP=SHR
//SMPOUT DD SYSOUT=*
//SMPRPT DD SYSOUT=*
//SMPLIST DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSLIB DD DSN=#hlq.SASMMAC1,
// DISP=SHR
//STEPLIB DD DSN=#hlq.SASMMOD1,
// DISP=SHR
//SMPPTFIN DD *
++USERMOD(ML00001) REWORK(#date). 1
++VER(Z038) FMID(HMQ4160). 2
++SRC(ASMADOPT) DISTLIB(AASMSAM1).
ASMAOPT ADATA=YES 3
ASMADD UT1=SYSUT2 4
END
/*
//SMPCNTL DD *
SET BDY(GLOBAL).
RECEIVE S(ML00001) SYSMODS.
SET BDY(#tzone).
APPLY S(ML00001) ASSEM. 5
/*
To change the default options and DDNAMES:
- In area 1 use the REWORK option if
you change the USERMOD frequently.
Specify REWORK if the USERMOD
name will be reused every time and you do not prefer to use the REJECT
command before receiving the USERMOD.
Every time you re-apply the USERMOD, increment
the value of REWORK using the form of yyyyddd, where yyyy is the year (for example,
2008) and ddd is the day of the year (for
example, 036 is the 5th February). For more information refer to SMP/E Reference.
If you do not increment the REWORK option, then on subsequent
APPLY commands the REDO operand is required on the SMP/E APPLY statement.
- In area 2 the ++VER may require a
PRE(UKxxxxx) parameter on the statement if any maintenance has already
been applied to the product. Refer to SMP/E Reference and SMP/E Commands for
more information.
- In area 3 specify new default assembler
values for options. The sample shows ADATA=YES being selected as an example. Only include values for options that
you want to change.
- In area 4 specify new default assembler
values for DDNAMES. The sample shows UT1=SYSUT2 being selected as an example. Only include values for DDNAMEs that
you want to change.
- In area 5 you might want to use the
COMPRESS option on the APPLY statement to minimize storage used for
some or all of the target libraries.
- Ensure that all PTF service which affects part ASMADOPT is ACCEPTed
before applying USERMOD ML00001 to avoid regressing service on that
part.
For the USERMOD, do not perform any ACCEPT processing.