Home

 

Create channel example

 

DEFINE CHANNEL(QM1.TO.QM2) CHLTYPE(SDR) +
DESCR('Sender channel to QM2') +
CONNAME(QM2) TRPTYPE(TCP) XMITQ(QM2) CONVERT(YES)

In all the examples of MQSC the command is shown as it would appear in a file of commands, and as it would be typed in Windows or UNIX systems. The two methods look identical, except that to issue a command interactively, first start an MQSC session. Type runmqsc, for the default queue manager, or runmqsc qmname where qmname is the name of the required queue manager. Then type any number of commands, as shown in the examples.

For portability, you should restrict the line length of your commands to 72 characters. Use the concatenation character, +, as shown to continue over more than one line. On Windows use Ctrl-z to end the input at the command line. On UNIX systems, use Ctrl-d. Alternatively, on UNIX or Windows, use the end command.

 

Parent topic:

Creating a channel


ic12250_


 

Home