Example 3: REPORT SOURCEID (ZONES operand specified)
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:
SMP/E also writes the commands shown in Figure 2 to the SMPPUNCH data set: