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


Example 3: REPORT SOURCEID (ZONES operand specified)

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

Assume that you want to find out the source IDs associated with SYSMODs in DLB3, plus all the zones defined by ZONESET MYPROD3. (MYPROD3 defines two zones: DLB3 and TGT3.) You are not interested in knowing the specific SYSMODs each source ID is assigned to. You can use the following commands:
SET BDY(GLOBAL).
REPORT SOURCEID
       ZONES(DLB3, MYPROD3).

SMP/E writes one report for each zone specified by the ZONES operand. Even though DLB3 is specified individually and also included by ZONESET MYPROD3, it is reported on only once.

Figure 1 shows examples of the reports SMP/E would write for DLB3 and TGT3:

Figure 1. Example of SOURCEID reports (ZONES operand specified)
PAGE nnnn  - NOW SET TO zzzzzz ZONE nnnnnnn  DATE mm/dd/yy TIME hh:mm:ss SMP/E 36.nn SMPLIST OUTPUT

          SOURCEID REPORT FOR DLIB   ZONE DLB3


________________________SOURCEIDS_________________________

PUT0606   PUT0607   PUT0608   PUT0701   PUT0702   PUT0703
PUT0704

PAGE nnnn  - NOW SET TO zzzzzz ZONE nnnnnnn  DATE mm/dd/yy TIME hh:mm:ss SMP/E 36.nn SMPLIST OUTPUT

          SOURCEID REPORT FOR TARGET ZONE TGT3


________________________SOURCEIDS_________________________

PUT0606   PUT0607   PUT0608   PUT0701   PUT0702

SMP/E also writes the commands shown in Figure 2 to the SMPPUNCH data set:

Figure 2. Example of SMPPUNCH output for REPORT SOURCEID (ZONES operand specified)
SET BDY(DLB3).
RESETRC.
LIST SYSMOD SOURCEID(
                     PUT0606
                     PUT0607
                     PUT0608
                     PUT0701
                     PUT0702
                     PUT0703
                     PUT0704
                    ).
SET BDY(TGT3).
RESETRC.
LIST SYSMOD SOURCEID(
                     PUT0606
                     PUT0607
                     PUT0608
                     PUT0701
                     PUT0702
                    ).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014