Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

Scan mode JCL


The figure in this topic shows sample JCL for a reorganization when MODE(SCAN) is specified.

//******************************************************************************
//*     ONLINE REORG JCL FOR PART #3 OF A HALDB DATABASE USING MODE(SCAN)
//******************************************************************************
//*
//BMCOLR   EXEC PGM=BMCOLR
//STEPLIB  DD DISP=SHR,DSN=load.dataSet
//         DD DISP=SHR,DSN=mdalib.dataSet
//         DD DISP=SHR,DSN=steplib.dataSet
//DFSRESLB DD DISP=SHR,DSN=dfs.dataSet
//IMS      DD DISP=SHR,DSN=ims.dataSet
//PLUSIN   DD *
   OREORG    MONITOR(071) DBD(DATABASE) PSB(PSBNAME) PART(3)  +
             SSID(IMSID) DYNALLOC(Y) FSPF(95) BIPF(25) +
             MODE(SCAN)
//*

For DD statement descriptions, see JCL requirements—online reorganization. The PLUSIN control statement specifies the reorganization parameters:

DYNALLOC(Y) MODE(SCAN)

No keywords were specified to define the reorganization parameters. When no keyword values are specified, the default values are used: BIPF=25, MBI=5, FSPF=95. The Online/Defrag job scans the entire database and reorganizes every record that meets the criteria for reorganization.

The BIPF keyword value is 25. The analysis identifies only those records that can be improved by 25 percent. For example, a record that spans 100 blocks must be capable of being reduced to 75 blocks. If the record cannot meet the specified percentage, the record is not reorganized.

The MBI keyword was not specified; therefore, the default value (5) is used. If a record cannot be reduced by at least five blocks, it is not be reorganized.

The FSPF keyword value is 95. Online/Defrag determines database blocks as available or not available based on the FSPF value. If a block is not at least 95 percent free, it is not identified as available.

Note that dynamic allocation is requested. Dynamic allocation requires that the database be registered in the RECON data set. In the above figure, the RECON data set names are specified in the MDALIB. If no MDALIB is specified, RECONx DD statements are required.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Online Reorg for IMS 5.2