Step 3. Apply maintenance
To apply maintenance to the target libraries, use the Generated JCL data set member:
- $15MAPLY (may include multiple products)
or - @xxM2APL (individual product)
To bypass any HOLDDATA, remove the period (.) from the end of the APPLY command and add the following parameter to the APPLY command:
BYPASS(HOLDSYSTEM,HOLDUSER).
($14MAPLY only) Comment out the SMP/E APPLY steps for any other products that may be present in the JCL.
After you review and modify the JCL, submit the job to start the apply process.
- Run the job in a job class suitable for long-running batch jobs.
- You may be required to have SMP/E restore a USERMOD prior to applying a PTF to a module. SMP/E messages inform you when this action is necessary. After the PTF is applied, you must then reapply the USERMOD.
- It is advisable to run an APPLY CHECK before applying any maintenance.
An APPLY may end with a non-zero return code, even though the APPLY CHECK ended with RC=0. This is because the APPLY may invoke external utilities, such as IEBCOPY or the linkage editor, while the APPLY CHECK only checks the SMP/E environment. A return code of 4 is expected from the linkage editor with messages similar to the following:
IEW2609W 5104 SECTION xxxxxxxx USABILITY ATTRIBUTE OF NON-REUSABLE
CONFLICTS WITH REQUESTED USABILITY OF REUSABLE.
IEW2609W 5104 SECTION xxxxxxxx USABILITY ATTRIBUTE OF REENTRANT
CONFLICTS WITH REQUESTED USABILITY OF REFRESHABLE.
IEW2454W 9203 SYMBOL module-name UNRESOLVED.
NO AUTOCALL (NCAL) SPECIFIED.
IEW2480W A711 EXTERNAL SYMBOL xxxxx OF TYPE LD WAS ALREADY DEFINED
AS A SYMBOL OF TYPE LD IN SECTION yyyyyy.
IEW2482W A712 THE ORIGINAL DEFINITION WAS IN A MODULE IDENTIFIED BY
DDNAME SMPWRK3. THE DUPLICATE DEFINITION IS IN SECTION zzzzzz IN A
MODULE IDENTIFIED BY DDNAME AXFAMOD.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*