IDMS CV shows many RHDCREPTxxxxnnn queues
search cancel

IDMS CV shows many RHDCREPTxxxxnnn queues

book

Article ID: 131169

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

An IDMS CV shows many queues with names that begin with RHDCREPT. What creates these? It is possible that a great number of these queues may fill the DDLDCRUN area and need to be manually deleted.

Environment

Release: All supported releases.

Resolution

When a program issues WRITE PRINTER (#PRINT), a RHDCREPTxxxxnnn queue is created and goes away when the report gets written to the printer. 

DCMT D REPORTS should show any queued reports 

If such queues are amassing and not going away, most likely there are applications writing to one or more printers that were offline for some reason. Resolve the printer problem and the queued reports will print and the queues will be deleted.

Example:  If a user sets their printer class to 1, and that class is not associated with any actual printer, the reports sent there will simply queue up. 

As an example, four WRITE PRINTER requests are sent to this print class. 

DCMT D REP             
CL/DEST   REPORTS  LINES
 01       00004  0003120

this shows four reports queued in class 1. 

 DCMT D CLASS 1                                                 
ON       REPORT   ORIGINAL PROGRAM   RPT  RPT  NUM   NUM        
PRINTER  NAME     LTERM-ID  NAME     PRI  ID  LINES COPIES USER 
         HLQJ1    LTVTM001 IDMSDDDC  010  001 00780  001   ###  
         HLQJ2    LTVTM001 IDMSDDDC  010  001 00780  001   ###  
         HLQJ3    LTVTM001 IDMSDDDC  010  001 00780  001   ###  
         HLQJ4    LTVTM001 IDMSDDDC  010  001 00780  001   ###  

The above display shows the four queued reports.  

QUED task shows those four queued reports with RHDCREPT followed by the report names in the above display

IDMS DC256002 V1900 T84              *** QUEUE STATUS IN DDLDCRUN ***          
IDMS DC256003 V1900 T84    QUEUE NAME    INV TASK RECORDS CREATE RET EXP ACTION
IDMS DC256004 V1900 T84 RHDCREPTHLQJ1             0000051 19.112 001 001 KEPT L
IDMS DC256004 V1900 T84 RHDCREPTHLQJ2             0000051 19.112 001 001 KEPT L
IDMS DC256004 V1900 T84 RHDCREPTHLQJ3             0000051 19.112 001 001 KEPT L
IDMS DC256004 V1900 T84 RHDCREPTHLQJ4             0000051 19.112 001 001 KEPT L