Example 3: Evaluating a randomizer

The following figure shows a JCL example for evaluating a randomizer.

In this example:
  • RECON data sets are allocated dynamically by using the DFSMDA members in the IMSDALIB DD data set.
  • The input ADS is dynamically allocated. The allocation information (DD name and DS name of the ADS) is obtained from DBRC.
  • The RMODLIB and the RMOD keywords specify the new randomizer, TSTRAND1 in USER.RMODLIB. FPA simulates placement of the segments with the new randomizer.
  • The threshold values of SYN_LEN_AVG and SYN_MAX are evaluated twice: for the current areas and for the simulated areas. The results are written in the Area Tuning Summary report.
  • The FILECTL subcommand specifies DSNAME='HPFP.TAR.&AREA', which causes a tuning aid record data set allocated dynamically for each area with the name of HPFP.TAR.areaname.
  • Two sets of analysis reports are generated in the data set pointed to by the HFPRPTS DD statement: one for the current areas and another for the simulated areas.
Figure 1. Evaluating a randomizer
//HFP      EXEC PGM=HFPMAIN0
//STEPLIB  DD DISP=SHR,DSN=HPFP.SHFPLMD0
//         DD DISP=SHR,DSN=IMSVS.SDFSRESL
//         DD DISP=SHR,DSN=IMSVS.PGMLIB
//IMSACB   DD DISP=SHR,DSN=IMSVS.ACBLIB
//IMSDALIB DD DISP=SHR,DSN=IMSVS.MDALIB
//HFPRPTS  DD SYSOUT=*
//HFPPRINT DD SYSOUT=*
//HFPSYSIN DD *
 GLOBAL
   DBRC=YES
 TUNE
   DBD=DEDBJN22,
   IAREA=ALL
 SIMULATE
   OAREA=ALL,
   RMODLIB='USER.RMODLIB',
   RMOD=TSTRAND1,
   REPORTDD=HFPRPTS
 THRESHOLD
   SYN_LEN_AVG=2,
   SYN_MAX=8
 FILECTL
   DSNAME='HPFP.TAR.&AREA',
   STORCLAS=STORCLAS,
   DISP=(NEW,CATLG),
   SPACE=(CYL,100,100)
 REPORT
   REPORTDD=HFPRPTS
/*