Previous Topic: Estimate the Space Requirements for the Data Mart Output Data SetsNext Topic: Estimate the Amount of Storage Space for the ERRREPT DD Data Set


Estimate the Amount of Storage Space for the UNLOAD DD Data Set

Before you allocate the Data Mart UNLOAD DD data set, estimate the amount of space required. Because this data set can contain large amounts of event data, it is critical that the data set is allocated with enough space to allow Data Mart unload processing to complete successfully.

Follow these steps:

  1. Use the following equation to calculate the amount of space needed:

    (Total # of logstream records x 6,472 bytes) / 849,960 bytes =

    ______________ Total space (in cylinders)

  2. Determine how many records are in the system logstream that the Data Mart uses.

    You can query the Logger component, when it is active, with the F CMGRLOGR,STATUS console command to view the EventCount statistic. The statistic displays how many events the Logger component processed. For example, the following is a partial STATUS display, which shows the EventCount as 10,014 records the Logger component processed:

    CMGR240I  *** CMGR Logger Status ***                        
    CMGR240I    Logstream =        (CF) CMGR.CF.SYSLOG          
    CMGR240I    Autodelete =        Yes                         
    CMGR240I    Retention =         1                           
    CMGR240I    Logrbufsize =       32768                       
    CMGR240I    Maxbufrsize =       65532                       
    CMGR240I    Logrbufrnum =       16                          
    CMGR240I    LogrActiveBufrNum = 1                    
    CMGR240I    LogStreamSize =     2 Mb                 
    CMGR240I    EventCount =        10014                
    CMGR240I    WriteCount =        69                   
    CMGR240I    EventLostCount =    0                    
    ...
    
  3. Multiply the total number of system logstream records by the maximum UNLOAD data set security event record length (6,472 bytes), to determine the maximum number of bytes of storage needed for the data set.
  4. Divide the total number of bytes of storage needed by the number of bytes on a cylinder for the hardware disk model you are using, to determine the total number of cylinders of space to allocate.

    Note: IBM disk model 3390 has 849,960 bytes per cylinder.

Estimate the Amount of Storage Space for the STATREPT DD Data Set

The STATREPT DD data set requires a small amount of space.

Allocate enough space to hold several printed pages of Data Mart summary statistical information.