SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 7: Combining APPLY operands

SMP/E for z/OS Commands
SA23-2275-01

If you want to further divide the work that is to be done, you can specify combinations of the APPLY operands. The following is an example using all the SYSMOD selection operands of APPLY:
SET      BDY(MVSTST1)       /* Process MVSTST1 tgt zone.  */.
APPLY    SOURCEID(PUT0701   /* For these service levels.  */
                  PUT0702)  /*                            */
         FORFMID(HYY2102    /* For selected functions     */
                 TP)        /*                            */
         FUNCTIONS PTFS     /* install all type SYSMODs   */
         APARS USERMODS     /*                            */
         SELECT (UZ00001    /* plus these three for       */
                 UZ00002    /* other functions,           */
                 UZ00003)   /*                            */
         EXCLUDE(UZ00010    /* but not these three,       */
                 UZ00011    /*                            */
                 UZ00012)   /*                            */
         GROUP              /* plus all requisites.       */.

This APPLY command causes SMP/E to apply all the SYSMODs that came from either service level PUT0701 or PUT0702 (from the SOURCEID operand) and that are applicable either to function SYSMOD HYY2102 or to one of the function SYSMODs identified in the FMIDSET entry “TP” (specified on the FORFMID operand), plus any other SYSMODs required to install those SYSMODs (specified on the GROUP operand). All SYSMOD types are eligible for selection. (This includes the FUNCTIONS, PTFS, APARS, and USERMODS operands.) In addition, the selected SYSMODs (UZ00001, UZ00002, and UZ00003) are applied even though they came from a source other than the two specified service levels and even though they may belong to function SYSMODs other than those specified (from the SELECT operand). SMP/E does not install SYSMODs UZ00010, UZ00011, or UZ00012, even though they may be applicable to the functions specified and have one of the two SOURCEID values or may be required to install other SYSMODs that are eligible (from the EXCLUDE operand).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014