How do we override the sort work data set allocations for Change Accumulation:
CHA6801E DYNAMIC ALLOCATION FOR SORTWK DD FAILED. RC= 04 RSN= 08
CHA1221E ALLOCATE SORTWORK DATASETS FAILED FOR GROUP "cagrp".
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)