CA 7 Server for AAI: AI7.EV11E Error Allocating SORTWK01 After Upgrade
search cancel

CA 7 Server for AAI: AI7.EV11E Error Allocating SORTWK01 After Upgrade

book

Article ID: 440902

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

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:

AI7.MC03I: Creating SASSHIS8 HR70 report from ... to ...AI7.EV11E: Error allocating SASSHIS8 DD Name SORTWK01 - exiting program           dyncmd=ALLOC FI(SORTWK01)  UNIT(CA7WRKU) SPACE(100,50AI7.MC06W: Call to AIS7XEVT for event data file generation failed. RC=12AI7.TM02S: CA 7 Server for AAI has failed at line 838 - Review LOG messages

Environment

  • Product: CA 7 Server for AAI (MDP)
  • Version: 24.2.2
  • Upgrade Path: From R2.0 to 24.2.2 using existing installation libraries.

Cause

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.

Resolution

To resolve this error, manually update the Work Unit Type in the instance configuration:

  1. Launch the IMS: From ISPF, execute the AI7CPRIM REXX exec from your local customization library: EX 'your.prefix.CUSTLIB(AI7CPRIM)'
  2. Configure Instance: Type C (Configure) next to the affected instance and press Enter.
  3. Define Settings: Select Option 2 – Define CA7 Instance Settings.
  4. Update Unit: Locate the Work Unit Type field. It will likely contain the literal text CA7WRKU. Change this to a valid DASD unit name for your environment (e.g., SYSDA).
  5. Save: Press Enter, then PF3 to save the configuration change back to the SRVRSCFG member.
  6. Restart: Restart the CA 7 Server for AAI Started Task.

Expected Outcome: The STC will now correctly allocate SORTWK01 using the specified unit and proceed with the event data delivery cycle.