Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Delete a Queue, get INVPARLEN Error, Please Help.

 
SOLVED
Go to solution
J_Scott_L
Occasional Visitor

Cannot Delete a Queue, get INVPARLEN Error, Please Help.

I have these queues that I was able to create, however when attempting to delete them I get an error see below...

 

$SHO QUE TURBOX6ADGEN_MAC*


Batch queue TURBOX6ADGEN_MAC1, stopped, autostart inactive, on node1::

Batch queue TURBOX6ADGEN_MAC2, stopped, autostart inactive, on node1::

Batch queue TURBOX6ADGEN_MAC3, stopped, autostart inactive, on node1::

Batch queue TURBOX6ADGEN_MAC4, stopped, autostart inactive, on node1::

 

$ DEL/QUE TURBOX6ADGEN_MAC1

%DELETE-E-NOTDELETED, error deleting TURBOX6ADGEN_MAC1
-JBC-F-INVPARLEN, invalid parameter length

 

These are new queues, and have not been used, and there are no jobs in them.  I don't understand how I was able to create them, and cannot delete them.  I need some type of help/workaround...(like could I rename the queue and then delete it with a shorter name perhaps....?????)

 

I even tried to give you what the FULL Info is for the queue and get this....

 

$SHO QUE TURBOX6ADGEN_MAC1/FU

%JBC-F-INVPARLEN, invalid parameter length

 

And what completely blows me away is I was able to create a longer named GENERIC Batch Queue and it was able to DELETE that one fine, that name was TURBOX6ADGEN_GENERIC

 

 

Thank you all for any help you can give....

 

(I replaced my Nodename with a generic name for security concerns....FYI).

 

2 REPLIES 2
David R. Lennon
Valued Contributor
Solution

Re: Cannot Delete a Queue, get INVPARLEN Error, Please Help.

Hi,

 

Are you sure you don't have a logical name with the same name as the queue name?

I.E. $ SHOW LOGICAL TURBOX6ADGEN_MAC1

 

A trick to bypass any logical names when dealing with queues is to put a colon after the queue name, for example:

 

$ SHOW QUEUE/FULL TURBOX6ADGEN_MAC1:

 

- Dave

J_Scott_L
Occasional Visitor

Re: Cannot Delete a Queue, get INVPARLEN Error, Please Help.

That was it exactly!  Thank you so much for the answer....I had never encountered this before and it was causing other issues, as well....you are a Gentleman and a Scholar!

 

Again Thank you.