COMMAND
SERVER:
It is a background process for
queue manager when the queue manager starts command server will be running
(default)
Note: we have one attribute (SCMDSERV) and we have two options
in that
1. QMGR
2. MANUAL
By default the queue manager
command server will be under control of (QMGR). If we change the SCMDSERV
attribute to manual then we need to start command server manually.
CONTROL
COMMANDS FOR COMMAND SERVER:-
• Dspmqcsv
• Strmqcsv
• Endmqcsv
1. Dspmqcsv: To display the command server for particular queue
manager
Syntax:
dspmqcsv qmgrname
E.g:
Dspmqcsv QM1.qmgr
2. Strmqcsv: To start the command server for a particular queue
manager
Syntax: strmqcsv –a
qmgrname
Eg:
strmqcsv Qm1
3. Endmqcsv: To end the command server for a particular queue manager
Syntax:
endmqcsv –c –I qmgrname
Eg :
endmqcsv –I QM1(queue manager)
-c stops the command in a
controlled manner.
-I stop the command
immediately.
USE
OF COMMAND SERVER:
The command server will allow
commands to execute on a queue manager using
(SYSTEM.ADMIN.COMMAND QUEUE).
When the command server is stopped
the commands, the commands will be stored in the command queue called (SYSTEM.ADMIN.COMMAND
QUEUE) After command server comes up the commands would be executed those are
in the command queue.
Comments