07.02.2013 Views

Best Practices for SAP BI using DB2 9 for z/OS - IBM Redbooks

Best Practices for SAP BI using DB2 9 for z/OS - IBM Redbooks

Best Practices for SAP BI using DB2 9 for z/OS - 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.

RUNSTATS will then be called over the stored procedure DSNUTILS. So you<br />

have to wait a couple of minutes <strong>for</strong> large tables. When RUNSTATS is<br />

processed, the function comes back with the window shown in Figure 4-6.<br />

Figure 4-6 Testmode <strong>for</strong> function RSDU_ANALYZE_TABLE_<strong>DB2</strong><br />

Click Display output list of function module to see the output of the function<br />

(Example 4-1).<br />

Example 4-1 Output of function module RSDU_ANALYZE_TABLE<br />

22.03.2007 SV Parameter 1<br />

---------------------------------------------------------------------------------------------------------------------<br />

RUNSTATS TABLESPACE "FA40XK1C"."EZGMA2X"<br />

TABLE(<strong>BI</strong>9DB."/<strong>BI</strong>C/EZGMA2") SAMPLE 010<br />

COLUMN( KEY_ZGMA21,KEY_ZGMA22,KEY_ZGMA23,KEY_ZGMA24,KEY_ZGMA25,KEY_ZGMA2P,KEY_ZGMA2T,KEY_ZGMA2U )<br />

COLGROUP ("KEY_ZGMA2P") FREQVAL COUNT 0 HISTOGRAM NUMQUANTILES 50<br />

COLGROUP ("KEY_ZGMA2U") FREQVAL COUNT 0 HISTOGRAM NUMQUANTILES 50<br />

INDEX(<br />

<strong>BI</strong>9DB."/<strong>BI</strong>C/EZGMA2~0" KEYCARD FREQVAL NUMCOLS 1 COUNT 0 HISTOGRAM NUMCOLS 4 NUMQUANTILES 50<br />

,<strong>BI</strong>9DB."/<strong>BI</strong>C/EZGMA2~040" KEYCARD FREQVAL NUMCOLS 1 COUNT 0 HISTOGRAM NUMCOLS 1 NUMQUANTILES 50<br />

,<strong>BI</strong>9DB."/<strong>BI</strong>C/EZGMA2~050" KEYCARD FREQVAL NUMCOLS 1 COUNT 0 HISTOGRAM NUMCOLS 1 NUMQUANTILES 50<br />

,<strong>BI</strong>9DB."/<strong>BI</strong>C/EZGMA2~060" KEYCARD FREQVAL NUMCOLS 1 COUNT 0 HISTOGRAM NUMCOLS 1 NUMQUANTILES 50<br />

,<strong>BI</strong>9DB."/<strong>BI</strong>C/EZGMA2~070" KEYCARD FREQVAL NUMCOLS 1 COUNT 0 HISTOGRAM NUMCOLS 1 NUMQUANTILES 50<br />

,<strong>BI</strong>9DB."/<strong>BI</strong>C/EZGMA2~080" KEYCARD FREQVAL NUMCOLS 1 COUNT 0 HISTOGRAM NUMCOLS 1 NUMQUANTILES 50<br />

42 <strong>Best</strong> <strong>Practices</strong> <strong>for</strong> <strong>SAP</strong> <strong>BI</strong> <strong>using</strong> <strong>DB2</strong> 9 <strong>for</strong> z/<strong>OS</strong>

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

Saved successfully!

Ooh no, something went wrong!