DFS2997E DATA SET ALLOCATED TO ANOTHER JOB AND CANNOT BE CREATED. PART=partname DSN=dsname

Explanation

IMS tried to create the OSAM data set dsname for the HALDB partition partname as part of either:
  • Starting a HALDB OLR for the partition.
  • Loading the IMS catalog

Creating the data set required that the data set be allocated as though DISP=NEW had been specified on a DD statement through JCL. However, a data set of the same name was already in use by another job, causing the allocation to fail.

System action

If this error occurred in starting the reorganization, then the reorganization is not started, but the partition remains accessible with the original active set of data sets -- either the A-through-J and X or the M-through-V and Y data sets.

If this error occurred while loading the IMS catalog with the IMS Catalog Populate utility (DFS3PU00), the IMS catalog is not loaded, message DFS4483E is written, and the DFS3PU00 utility ends with return code 12.

In any of these cases, other data sets might have been created before the error occurred.

Programmer response

Ensure that no other job is using a data set of the name dsname even if that data set is not cataloged and even if that data set is not intended to be the same data set as the output of the reorganization or as an IMS catalog data set.

Then if the error was detected in processing the INITIATE OLREORG command, reissue the command for partition partname.

If this error occurred while loading the IMS catalog with the DFS3PU00 utility, rerun the utility.

Module

DFSORA20