FreeKB - alter qlocal command
IBM MQ - alter qlocal command

The alter qlocal command can be used to alter a local queue. In this example, QUEUE01 is updated to have a description of "Hello World".

If the value contains white space, the value must be wrapped in single quotes or double quotes. In this example, Hello World is wrapped in single quotes.

echo "alter qlocal (QUEUE01) DESCR (Hello World)" | runmqsc MANAGER01

 

The display queue or display qlocal commands can be used to view the configuration of the queue, like this.

echo "display queue (QUEUE01) DESCR" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

QUEUE(queue01)             TYPE(QLOCAL)
DESCR (Hello World)

 


Alter multiple fields

In this example, both DESCR and MAXDEPTH are updated simultaneously.

echo "alter qlocal (QUEUE01) DESCR (Hello World) MAXDEPTH (100)" | runmqsc MANAGER01


Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter c1201 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |