After upgrading CA 7 Server for AAI (MDP) from R2.0 to version 24.2.2, the Started Task (STC) fails during the first event data delivery cycle with the following error messages in the log:
The issue is caused by an uninitialized REXX variable, CA7WRKU (Work Unit Type), in the instance configuration.
During the mandatory upgrade step where the configuration is saved via the Instance Management System (IMS), the system attempts to write all configuration variables back to the SRVRSCFG member. Because version R2.0 did not contain a CA7WRKU entry, the REXX-based IMS treats the variable as uninitialized. In REXX, an uninitialized variable evaluates to its own literal name. Consequently, the configuration was saved with CA7WRKU=CA7WRKU instead of a valid DASD unit name (e.g., SYSDA).
When the STC attempts to dynamically allocate sort work datasets for SASSHIS8 processing, the allocation fails because CA7WRKU is not a valid unit.
To resolve this error, manually update the Work Unit Type in the instance configuration:
AI7CPRIM REXX exec from your local customization library: EX 'your.prefix.CUSTLIB(AI7CPRIM)'CA7WRKU. Change this to a valid DASD unit name for your environment (e.g., SYSDA).SRVRSCFG member.Expected Outcome: The STC will now correctly allocate SORTWK01 using the specified unit and proceed with the event data delivery cycle.