CA Tuesday Tip: (CA IDMS) How can I clear old queues in the DDLDCRUN area?

Discussion created by Eddy_G Employee on Feb 25, 2015
Latest reply on Mar 5, 2015 by ChuckHardee

CA IDMS Tuesday Tip by Edward Gorga, Principal Support Engineer for February 25, 2015


The QUED task normally runs at startup and deletes any expired queues but you can run the QUED task at any time. A queue with a retention period of 255 means it is permanent and will never be deleted.

Invoking QUED with no parameters will list all currently active queues and deletes all expired queues.

Invoming QUED PROMPT will list all unexpired queues one by one, and asks you if they should be deleted.

An alternative is to get a list of all unexpired queues with QUED or DCMT D QUEUE and then delete the ones you don't want with DCMT V QUEUE 'nnnnnnnnnnnnnn' DEL

Note that system queues start with RHDC (timer task, reports). ADSC queues start with $ADC, MAPC with $MPC, ADSA with $ADA, TCF with TCF and DME with DME_

The queues created by ADSC, ADSA and MAPC are created when they the entity is checked out. The queue record also stores changes made to the entity.

When compiled the queue record is deleted. If released without compiling the queue record will remain if it contains changes and deleted if not changes were made.

If you delete the queue the dialog and map will still be in the dictionary and in the load module but you will lose whatever changes are stored in the queue record.