Technical data

Setting Up and Maintaining Queues
14.8 Solving Queue Problems
If you see a message similar to the following one, a reference to the queue, form,
or characteristic still exists:
%DELETE-E-NOTDELETED, error deleting object-name
-JBC-E-REFERENCED, existing references prevent deletion
For example, the queue you are attempting to delete might be named as a target
for a generic queue, or the form you are attempting to delete might be specified
for a print job. All references to a queue, form, or characteristic must be removed
before you can delete the queue, form, or characteristic.
How to Perform This Task
Perform the following steps to find and remove references to a queue, form, or
characteristic:
1. Enter SHOW QUEUE/FULL/ALL_JOBS/OUTPUT=filespec, where filespec is
a name of a file to which the display output of the command is to be sent.
2. Use the SEARCH command to search the output file for the name of the form
or queue, or the number of the characteristic to be deleted. The result of your
search will include all references to the queue, form, or characteristic.
3. If the SEARCH command reveals any queues with references to the queue,
form, or characteristic you are trying to delete, perform the following steps:
a. Use STOP/QUEUE/NEXT to stop each queue with an offending reference.
b. Use START/QUEUE with the appropriate qualifiers to restart each queue
without the reference.
4. If the SEARCH command reveals any jobs with references to the queue,
form, or characteristic you are trying to delete, perform the following steps to
eliminate the job reference:
a. Wait for the job to complete. (You might want to raise the priority of
the job as explained in Section 14.6.5.2, so the job will be scheduled for
processing sooner.)
b. Perform either of the following actions:
Delete the job as explained in Section 14.7.2.6.
Modify the options for the job as explained in Section 14.7.2.2, or ask
the owner of the job to do so.
Setting Up and Maintaining Queues 1475