Example 3: Applying APARs and USERMODs

You may want to install just corrective fixes (APAR fixes) or user modifications (USERMODs) into the target libraries. This can be done with the APARS and USERMODS operands of the APPLY command. Assume that you want to install all APAR fixes and USERMODs for function HXY2102. You can do this with the following commands:
SET      BDY(MVSTGT1)       /* Process MVSTGT1 tgt zone.  */.
APPLY    FORFMID(HXY2102)   /* Apply for this FMID        */
         APARS              /* all APARs                  */
         USERMODS           /* and all USERMODs.          */.
The APARS and USERMODS operands indicate that SMP/E is to pick only APAR fixes and USERMODs.
Note: If you want to install specific APAR fixes or USERMODs, use the SELECT operand. You do not need to specify APARS or USERMODS, which install all SYSMODs of the specified type.