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


Example 4: Processing multiple commands in one invocation of SMP/E

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

The preceding set of examples showed how the SET command is used to define the scope of processing to SMP/E when only one operation is to be performed at a time. SMP/E makes it possible to perform all these operations during one invocation, if desired. The commands are as follows:
SET      BDY(GLOBAL)        /* Process global zone.     */.
RECEIVE  SYSMODS            /* Receive SYSMODs.         */
         SOURCEID(PUT0701)  /* Assign SOURCEID.         */.
LIST     SYSMODS            /* List SYSMOD entry        */
         MCS(PUT0701)       /* and MCS                  */
         SOURCEID(PUT0701)  /* for SYSMODs received.    */.
SET      BDY(MVSTST1)       /* Set to process MVSTST1.  */.
APPLY    SOURCEID(PUT0701)  /* Apply service level.     */.
SET      BDY(MVSDLB1)       /* Set to process MVSDLB1.  */.
ACCEPT   SOURCEID(PUT0701)  /* Accept service level.    */.
Note: In a job with multiple SET commands, if you use DDDEF entries that specify SYSOUT for SMP/E output (such as SMPOUT or SMPRPT), SMP/E produces multiple SYSOUT data sets. This can cause undesirable results; for example, the output may appear to be out of sequence from one SET command to the next. Therefore, when you run such a job, you may prefer to use DD statements, rather than DDDEF entries, for SMP/E output data sets.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014