Example 4: Control statements for PHDAM
The following subsections provide example control statements for PHDAM.
Changing randomizing parameters for all partitions consistently
This example shows how to change the randomizing parameters for all partitions consistently.
SAMPDB1 is a PHDAM database. This set of CTL statements is the simulation of changing the randomizer name of each partition. HD Tuning Aid assigns the same randomizer name to each partition.
//CTL DD *
SAMPDB1 DFSHDC40
/*
Changing randomizing parameters for individual partitions
This example shows how to change the randomizing parameters for individual partitions.
This example is for an input PHDAM database with two partitions. Change only the randomizer name of the first partition.
//CTL DD *
SAMPDB1
SAMPP1 DFSHDCAA
/*
Changing the high key value of partition
This example shows how to change the high key value of a partition.
SAMPDB1 is a PHDAM database. This example shows how to change the high key value of a specific partition.
//CTL DD *
SAMPDB1
SAMPP1 DFSHDCAA +
C’1234000000000000100000000’ +
C’00000000000000000000000000000’
/*
The partition high key is assigned as
123400000000000010000000000000000000000000000000000000.
Changing the partition selection
This example shows how to change the partition selection.
SAMPDB1 is a PHDAM database. This example shows how to a change a partition selection from a high key selection to a partition selection exit.
//CTL DD *
SAMPDB1 S
DFSPSE00
SAMPP1 +
C’1234000000000000000000000’
SAMPP2 +
C’5678900000000000000000000’
/*
Adding and deleting some partitions
This example shows how to add and delete partitions.
SAMPDB1 is a PHDAM database. This is an example of two additions to and one deletion for a PHDAM.
//CTL DD *
SAMPDB1
SAMPP4 RMOD3 1000 10 4096 0 ADD +
C’300’
SAMPP5 RMOD4 2000 20 2048 0 ADD +
C’700’
SAMPP1 DEL
/*
The following table shows the original configuration of the PHDAM database.
Part name | Part ID | High key | Randomizer | rbn | anch | blksz | bytes |
---|---|---|---|---|---|---|---|
SAMPP1 | 1 | 300 | RMOD1 | 1,000 | 40 | 4,096 | 0 |
SAMPP2 | 2 | 500 | RMOD2 | 1,000 | 20 | 2,048 | 0 |
SAMPP3 | 3 | 600 | RMOD2 | 2,000 | 30 | 2,048 | 100 |
The following table shows the modified configuration of PHDAM database that is to be used by HD Tuning Aid for its simulation.
Part name | Part ID | High key | Randomizer | rbn | anch | blksz | bytes |
---|---|---|---|---|---|---|---|
SAMPP2 | 2 | 500 | RMOD2 | 1,000 | 20 | 2,048 | 0 |
SAMPP3 | 3 | 600 | RMOD2 | 2,000 | 30 | 2,048 | 100 |
SAMPP4 | 4 | 300 | RMOD3 | 1,000 | 10 | 4,096 | 0 |
SAMPP5 | 5 | 700 | RMOD4 | 2,000 | 20 | 2,048 | 0 |