DC245003 QUEUE REQUEST FAILED COULD NOT GET RUN UNIT

Document ID : KB000100555
Last Modified Date : 19/06/2018
Show Technical Document Details
Issue:

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 susbchema 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:
All IBM mainframe operating systems
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:
                   o  No RCE or RLE was available.
                   o  The subschema IDMSNWKS has not been loaded
                      successfully.
                   o  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 we now use IDMSNWK7.
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 we now automatically do a secondary allocation when you run out of them. 

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  use the following SYSGEN commands:
 
MOD SYSTEM xx
RUNUNIT FOR QUEUE 6.
GEN.


 

Additional Information:
See DocOps message DC245003 and section SYSTEM Statement Syntax