Home
Start
Use the MQSC command START CHANNEL for sender, server, and requester channels. It should not be necessary where a channel has been set up with queue manager triggering.
Also use the START CHANNEL command for receiver and server-connection channels that have a disabled status. Starting a receiver or server-connection channel that is in disabled status resets the channel and allows it to be started from the remote channel.
When started, the sending MCA reads the channel definition file and opens the transmission queue. A channel start-up sequence is executed, which remotely starts the corresponding MCA of the receiver or server channel. When they have been started, the sender and server processes await messages arriving on the transmission queue and transmit them as they arrive.
When you use triggering or run channels as threads, you will need to start the channel initiator to monitor the initiation queue. Use the runmqchi command for this.
However, TCP and LU 6.2 do provide other capabilities:
- For TCP on UNIX systems, inetd can be configured to start a channel. This will be started as a separate process.
- For LU 6.2 in UNIX systems, configure your SNA product to start the LU 6.2 responder process.
- For LU 6.2 in Windows systems, using SNA Server we can use TpStart (a utility provided with SNA Server) to start a channel. This will be started as a separate process.
Use of the Start option always causes the channel to re-synchronize, where necessary.
For the start to succeed:
- Channel definitions, local and remote, must exist. If there is no appropriate channel definition for a receiver or server-connection channel, a default one is created automatically if the channel is auto-defined. See Channel auto-definition exit program.
- Transmission queue must exist, and have no other channels using it.
- MCAs, local and remote, must exist.
- Communication link must be available.
- Queue managers must be running, local and remote.
- Message channel must not be already running.
A message is returned to the screen confirming that the request to start a channel has been accepted. For confirmation that the start command has succeeded, check the error log, or use DISPLAY CHSTATUS. The error logs are:
- Windows
- mqmtop\qmgrs\qmname\errors\AMQERR01.LOG (for each queue manager called qmname)
mqmtop\qmgrs\@SYSTEM\errors\AMQERR01.LOG (for general errors)
On Windows systems, you still also get a message in the Windows systems application event log.
- UNIX systems
- /var/mqm/qmgrs/qmname/errors/AMQERR01.LOG (for each queue manager called qmname)
/var/mqm/qmgrs/@SYSTEM/errors/AMQERR01.LOG (for general errors)
Parent topic:
Channel functions
ic12410_
Home