12.01.2013 Views

z/OS V1R8 DFSMS Technical Update - IBM Redbooks

z/OS V1R8 DFSMS Technical Update - IBM Redbooks

z/OS V1R8 DFSMS Technical Update - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

In Figure 3-21 we show the JCL to extract the SMF records and run the program.<br />

Note: This JCL assumes that an extract is being taken from the active SMF data set, which<br />

is then passed to the SMFT42TG program. The JCL could be changed to make a<br />

permanent extract of the SMF data, or to read of an already created SMF data extract.<br />

//MHLRES1L JOB (999,POK),MSGLEVEL=1,NOTIFY=MHLRES1<br />

// EXEC PGM=IFASMFDP<br />

//SYSPRINT DD SYSOUT=*<br />

//DUMPIN DD DISP=SHR,DSN=SYS1.SC64.MAN2<br />

//*DUMPIN DD DISP=SHR,DSN=SMFDATA.ALLRECS.G3196V00<br />

//OUTDD DD DSN=&SMFT85,<br />

// SPACE=(CYL,(10,5)),<br />

// RECFM=VB,LRECL=32760,<br />

// DISP=(,PASS,DELETE),<br />

// UNIT=SYSDA<br />

//SYSIN DD *<br />

INDD(DUMPIN,OPTIONS(DUMP))<br />

OUTDD(OUTDD,TYPE(42(16)))<br />

/*<br />

// EXEC PGM=SMF42TG<br />

//STEPLIB DD DISP=SHR,DSN=MHLRES1.SMF42TG.LOAD<br />

//SYSUDUMP DD SYSOUT=A<br />

//SMFIN DD DISP=SHR,DCB=BFTEK=A,<br />

// DSN=&SMFT85<br />

//PRINT DD SYSOUT=A,RECFM=UA<br />

Figure 3-21 JCL to extract SMF records and run program SMF42TG<br />

Note: As a result of the problems described by APAR OA17704 (see “OA17704” on<br />

page 456) there may be abnormal displays in the output. The fact that a record is not<br />

correctly built in the SMF records is usually indicated by the cycle time records being zero<br />

or abnormally large.<br />

There are four sets of records contained in the SMF records type 42 subtype 16, two sections<br />

relating to below the 2 GB bar and two relating to above the 2 GB bar. Hence, a large amount<br />

of output could be produced. Samples of each type of output are presented from a run of the<br />

program. The ability to use buffers above the 2 GB bar was made available with z/<strong>OS</strong> V1R7,<br />

but the SMF data about activity was not available until z/<strong>OS</strong> <strong>V1R8</strong>.<br />

Program SMF42TG output uses headings for the output that are taken from the SMF records<br />

that it was obtained from. To assist with interpretation of the output, we provide extracts from<br />

parts of the SMF mapping macro IGWSMF. In order to distinguish between the SMF record<br />

type 42 subtype 16 fields from below and above the 16 GB bar, those relating to below the<br />

2 GB bar are prefixed SMF42, and those relating to above the 2 GB bar are prefixed SMF2A<br />

(2A is hexidecimal for 42).<br />

The records (in each group) consist of SYSPLEX-wide data and Data set/MVS system<br />

summary data.<br />

Chapter 3. <strong>DFSMS</strong>dfp <strong>V1R8</strong> enhancements 31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!