MICS DAY500 Abends with 'ERROR: LIBRARY MAPSGFK DOES NOT EXIST' After SAS Upgrade
search cancel

MICS DAY500 Abends with 'ERROR: LIBRARY MAPSGFK DOES NOT EXIST' After SAS Upgrade

book

Article ID: 439153

calendar_today

Updated On:

Products

MICS Resource Management

Issue/Introduction

After upgrading to SAS 9.4 TS1M9, MICS daily job(s) abend at the DAY500 step with a user error.
The SAS log contains the following error messages:

ERROR: LIBRARY MAPSGFK DOES NOT EXIST.
NOTE: UNABLE TO INITIALIZE THE OPTIONS SUBSYSTEM.
ERROR: (SASXKINI): PHASE 3 KERNEL INITIALIZATION FAILED.
ERROR: Unable to initialize the SAS kernel.

Cause

The issue typically occurs because the JCL or the proc being executed (e.g., MICSSHRx) contains
hard-coded //CONFIG DD statements or references that point to outdated SAS library versions.
Specifically, the MAPSGFK library is part of SAS/Graph; if the SAS configuration does not point to the new 9.4 M9 libraries,
or if the SAS/Graph libraries were not included in the new installation, the SAS kernel fails to initialize.

Resolution

  • Identify Hard-coded References: Review the JCL for the DAY500 step and the executed proc to find any //CONFIG DD statements pointing to legacy high-level qualifiers (HLQs).
  • Update Configuration Libraries: Update all hard-coded dataset names to reference the correct SAS 9.4 TS1M9 versions.

         Example update:

        //CONFIG   DD DISP=SHR,DSN=sas-hlq.SAS94.TS1M9.CNTL(BATCH)
        //                 DD DISP=SHR,DSN=sas-hlqSAS94.TS1M9.CNTL(COMMON)

  • Verify SAS/Graph Installation: Confirm with your SAS administration team that the SAS/Graph Map libraries (MAPS, MAPSSAS, or MAPSGFK) were properly installed as part of the upgrade.
  • Check User Code: Review the user code in the DYUSER member (e.g., prefix.USER.SOURCE(DYUSER)) to determine if updates are required for 9.4 TS1M9.
  • Re-run Initialization: Ensure JCLDEFC is updated with the new SAS versions and run JCLGEN0 to regenerate the necessary JCL before retrying the DAY500 step.

Additional Information

For more information refer to the Converting MICS to a New SAS Version checklist.