Home

 

Example syntax diagram

 

Here is an example syntax diagram that describes the hello command:


Hello Command >>-hello--+----------+--+--------------+-----------------------><     '-| Name |-' '-| Greeting |-'    Name    .-,-----------.       V (1) |    |---- --name-----+----------------------------------------------| Greeting |--, --how are you?---------------------------------------------|

Notes:

  1. We can code up to three names.

According to the syntax diagram, these are all valid versions of the hello command:

hello
hello name
hello name, name
hello name, name, name
hello, how are you?
hello name, how are you?
hello name, name, how are you?
hello name, name, name, how are you?

The space before the name value is significant, and that if you do not code name at all, still code the comma before how are you?.

 

Parent topic:

How to use WebSphere MQ control commands


fa15520_


 

Home