Db2 Tools

 View Only

TECH TIP: How do we override the sort work dataset allocations for Change Accumulation: 

Jul 04, 2016 11:06 AM

TECH TIP: How do we override the sort work dataset allocations for Change Accumulation:

CHA6801E DYNAMIC ALLOCATION FOR SORTWK DD
FAILED. RC= 04 RSN= 08


CHA1221E ALLOCATE SORTWORK DATASETS FAILED FOR GROUP "cagrp".

Answer:

The ITKDYN Global Parmlib member is used to specify dynamic allocation
parameters for data sets including the sort work data sets. ITKDYN is called by
any module whose dynamically allocated work data set parameters can be
overridden, including CHAASRT.



To specify dynamic allocation parameters for Change Accumulation sort work data
sets, we would need to add a CHA record with the SORTWRK ddname to the
ITKDYN member in the Global Parmlib (IDIPARM) as follows:



CHA(SORTWRK,unit,allocunit,prim,sec,#volser)



For example:



CHA(SORTWRK,SYSALLDA,CYL,100,0,1

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.