IMS-DEDB Alter
IMS-DEDB Alter
while restructuring it
Jiří Vandas
CA Technologies
RMNAME
Randomizer name and flag for two stage randomizer capability
SIZE
Control Interval (CI) size of VSAM dataset
UOW (Unit Of Work)
Number of CIs per one UOW
Subset of Cis dedicated to Dependent overflow part
ROOT
Number of UOWs in both Root addressable and Independent overflow part
Number of UOWs in Independent overflow part
Structure of DEDB area
Root addressable part Independent overflow Sequential dependent data
UOW
CI CI
CI CI CI
CI
Base part
CI CI
CI CI
CI CI
CI CI
CI CI
CI CI
CI CI
CI CI
Dependent
overflow CI CI
CI CI
part
CI CI
What you can change in IMS v13
DBD NAME=DEALT,ACCESS=DEDB,RMNAME=(DBFHDC20,2)
*
AREA1 AREA DD1=DEALTDD1,SIZE=1024,UOW=(50,10),ROOT=(100,30)
AREA2 AREA DD1=DEALTDD2,SIZE=1024,UOW=(50,10),ROOT=(100,30)
AREA3 AREA DD1=DEALTDD3,SIZE=1024,UOW=(50,10),ROOT=(100,30)
*
*
SEGM NAME=SEGROOT,BYTES=300,PARENT=0
• Physical DEDB area attributes like Control Interval size, sizes of various
parts and overflows
• Randomizer name for the entire DEDB database
What you can change in IMS v14
DBD NAME=DEALT,ACCESS=DEDB,RMNAME=(DBFHDC20,2)
*
AREA1 AREA DD1=DEALTDD1,SIZE=1024,UOW=(50,10),ROOT=(100,30)
AREA2 AREA DD1=DEALTDD2,SIZE=1024,UOW=(50,10),ROOT=(100,30)
AREA3 AREA DD1=DEALTDD3,SIZE=1024,UOW=(50,10),ROOT=(100,30)
AREAxx add new area definition here…
*
SEGM NAME=SEGROOT,BYTES=300,PARENT=0,
COMPRTN=(IMEXPRES,DATA,INIT)
• Physical DEDB area attributes like Control Interval size, sizes of various
parts and overflows
• Randomizer name for the entire DEDB database
• Add one or more DEDB areas
• Add segment edit/compression routine. The change or removal is not
allowed.
The process in the nutshell
• Problems:
After running DEDB ALTER these data sets will be swapped and
the shadow data set becomes active you always need to refer to
DBRC for active data set names, which makes difficult to have
areas allocated in JCL directly.
Initialize shadow area / data set
• Problem: Omit shadow data set and image copy allocations in JCL
DFS3725I AREA=DEALTDD1 JCL DD STATEMENT DOES NOT
EXIST
– Bit more complicated to have a prepared (automatic) job already
because data set names for area are changing/switching
http://conferences.gse.org.uk/2016/feedback/HD
• Session is HD