CONVERT example: Specifying the partition size

If you know how large you want each partition to be, you can use the PARTSIZE parameter to specify this number.

To specify the size of partitions, use the member IHCECVT2. The following example converts a database into partitions each with a size of 2048 MB.
Figure 1. Sample JCL (IHCECVT2) for batch using PARTSIZE
//JOBNAME   JOB NAME,000,CLASS=A,MSGCLASS=X                                    
//********************************************************************         
//*         SAMPLE JCL FOR CONVERT - using PARTSIZE method                     
//*                                                                            
//*  Your databases must be registered to DBRC                                 
//*  You must /dbr your databases prior to executing this job                  
//*      unless you use ONLINE(Y) and have Online Reorg installed              
//********************************************************************         
//S2     EXEC PGM=IHCHALDB,DYNAMNBR=999,REGION=80M                             
//STEPLIB  DD DISP=SHR,DSN=your.SIHCLOAD   <=== your hcma loadlib              
//         DD DISP=SHR,DSN=your.SDFSRESL     <=== ims reslib                   
//         DD DISP=SHR,DSN=your.SHPSLMD0     <=== ims tools loadlib            
//DFSRESLB DD DISP=SHR,DSN=your.SDFSRESL     <=== ims reslib                   
//MACLIB   DD DISP=SHR,DSN=your.SDFSMAC      <=== ims maclib                   
//IMS      DD DISP=SHR,DSN=your.dbdlib       <=== ims dbdlib                   
//IMSDALIB DD DISP=SHR,DSN=your.mdalib       <=== ims mdalib                   
//SYSPRINT DD SYSOUT=*                                                         
//MSGPRINT DD SYSOUT=*                                                         
//DBDPRINT DD SYSOUT=*                                                         
//LNKPRINT DD SYSOUT=*                                                         
//AMSPRINT DD SYSOUT=*                                                         
//SYSUDUMP DD SYSOUT=*                                                         
//IHCLIST  DD SYSOUT=*                                                         
//IHCSYSIN DD *                                                                
  CONVERT  ONLINE(N) -                                                         
           PARTSIZE(2048) -                                                    
           DBDPATT(*****...) DSNPREF(DBSMS.DB) -                               
           DBD(xxxx) -                                                         
           ICMID(3) -                                                          
           ICHLQ(DBSMS.DB.IC) -                                                
           ICTRLR(2) -                                                         
           IC.COMP(Y) -                                                        
           IC.COMPRTN(FABJCMP2) -                                              
           PTRCHECK(Y)