DC245003 QUEUE REQUEST FAILED--COULD NOT GET RUN UNIT
search cancel

DC245003 QUEUE REQUEST FAILED--COULD NOT GET RUN UNIT

book

Article ID: 100555

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

A program that is run many times each day sometimes abends with error message:

​DC245003 QUEUE REQUEST FAILED--COULD NOT GET RUN UNIT

The documentation says it could be a problem with subschema IDMSNWKS, but it is not defined as a program in the SYSGEN and does not exist in the load library.

What else can cause this error?

Environment

Release: All supported releases.

Cause

The documentation states:

A queue request has failed because the system was unable to allocate a system run unit. Possible causes of this error are as follows:

  • No RCE or RLE was available.
  • The subschema IDMSNWKS has not been loaded successfully.
  • The subschema IDMSNWKS has not been defined as a program by means of a sysgen PROGRAM statement.

 

Resolution

In earlier releases of IDMS, IDMSNWKS was used by system rununits to access the queue area. IDMSNWKS is no longer distributed. For the queue area, IDMSNWK7 is now used. Check that subschema IDMSNWK7 has been defined in the SYSGEN and it has been loaded. However, if the problem is intermittent this is unlikely to be the problem.

RCE/RLEs should not be a problem because they are now dynamically allocated when exhausted. 

The other possible cause is that an insufficient number of queue system rununtis have been pre-defined in the sysgen. Do a DCMT D RU command and see if there are any Overflow Rununits for the QUEUE system rununit.

Increase the number of QUEUE system rununits by 1 or 2. For example if currently 5, to increase it to 6 using the following SYSGEN syntax:

MOD SYSTEM xx
RUNUNIT FOR QUEUE 6.
GEN.