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


Example 2: Using RESETRC between commands for different zones

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

You might also want to use the RESETRC command when you are installing the same changes on different systems. If the two systems are not identical, errors that might occur during installation on one system may not occur during installation on the other system. For example, Assume that you want to install two PTFs that are applicable to two different systems, MVSTST1 and MVSTST2. To prevent possible errors from the SET or APPLY commands for one system from affecting processing in the other system, you can put a RESETRC command between the two groups of SET and APPLY commands:
SET      BDY(MVSTST1)       /* Set to process MVSTST1.  */.
APPLY    S(UR12345,UR12346) /* Apply two PTFs.          */.
RESETRC                     /* Next set of commands is
                               not dependent on successful
                               apply of two PTFs.       */.
SET      BDY(MVSTST2)       /* Set to process MVSTST2.  */.
APPLY    S(UR12345,UR12346) /* Apply two PTFs.          */.

SMP/E first applies the two PTFs to MVSTST1, and then applies the same PTFs to MVSTST2. Without the intervening RESETRC command, the second group of SET and APPLY commands 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