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


Example 1: Using RESETRC between commands for one zone

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

The processing of one command may not depend on the success of preceding commands if you divide the work that is to be done to a single zone into multiple steps. For example, you might use the source ID and FMIDSET operands to apply SYSMODs for two different functions. In this example, you want to install two groups of PTFs from service level PUT0701. One group is for function EBB1102, and the other is for an unrelated function, EDM1102. To prevent possible errors from one APPLY command from affecting the processing of the other, you can put a RESETRC command between the two APPLY commands:
SET      BDY(MVSTST1)       /* Process MVSTST1 tgt zone.*/.
APPLY    SOURCEID(PUT0701)  /* Apply service level 0701 */
         FORFMID(EBB1102)   /* for function EBB1102.    */.
RESETRC                     /* Next set of commands
                               not dependent on
                               successful apply of
                               EBB1102 service.         */.
APPLY    SOURCEID(PUT0701)  /* Now apply service for    */
         FORFMID(EDM1102)   /* EDM1102.                 */.

SMP/E first applies PTFs from service level 0701 that are for function EBB1102. It then applies PTFs from service level 0701 that are for function EDM1102. Without the intervening RESETRC command, the second APPLY runs only if the return code for the first APPLY was less than 12.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014