Use the mqsichangetrace command to set the tracing characteristics for a broker.
>>-mqsichangetrace--brokerName-- -e --isName-- -u --------------> >--+------------+--+-------------------+------------------------> '- -c --size-' '- -f --messageFlow-' >--+----------------------+--+-------------+--+------------+----> '- -k -applicationName-' '- -l --level-' '- -m --mode-' >--+------+--+------------------+------------------------------>< '- -r -' '- -y -libraryName-'
>>-mqsichangetrace--brokerName-- -t ----------------------------> >--+- -b --------------------------------------------+----------> '- -e -- isName--+--------------------+--+------+-' '- -f -- messageFlow-' '- -r -' >--+------------+--+----------------------+--+-------------+----> '- -c --size-' '- -k -applicationName-' '- -l --level-' >--+------------+--+------------------+------------------------>< '- -m --mode-' '- -y -libraryName-'
(Optional) The size of the trace file in KB (kilobytes). If you do not specify this parameter, the current value is left unchanged.
On HP-UX, set the size value below 500 MB.
However you intend to retrieve the trace file, you might want to keep its size small, either by using a low value for this parameter, or by using the reset (-r) option on this command to clear the trace log. The benefit of adopting this approach is that the formatting process (mqsiformatlog) is much faster and requires less resource to carry out its task.
If you change this value, it affects tracing for the integration server (if you have specified one), or for the agent component (if you have not specified an integration server).
Identifies the integration server for which trace options are to be modified (for example, started or stopped).
(Optional) Identifies the message flow for which trace options are to be modified. This option is valid only if you have specified an integration server (flag -e).
When you set this parameter, you must also set the -f (message flow) parameter. To change trace options for a named message flow in a specific application, set the -k and -f parameters.
You can use this parameter with the -y (library name) parameter to specify that the message flow is contained in a library referenced by the application.
Each broker is created with a default value of none. If you do not specify this parameter, the current value is unchanged. When you have successfully changed this value, it is persistent.
If you change this value, it affects tracing for the integration server (if you have specified one), or for the agent component (if you have not specified an integration server).
(Optional) This option requests that the trace log is reset: that is, all current records are discarded. Use this option when you start a new trace to ensure that all records in the log are unique to the new trace.
This option is valid only if you have specified an integration server (flag -e).
Specifies that user trace options are to be modified.
When you set this parameter, you must also set the -f (message flow) parameter. To change trace options for a named message flow in a specific library, set the -y and -f parameters.
Use these options only when directed to do so by your IBM® Support Center, or by a BIPxxxx message.
(Required) Specifies that service trace options for the agent subcomponent of the broker specified are to be modified (for example, started or stopped). You can specify this flag only if -t is also specified.
mqsichangetrace IB9NODE -e default -t -l debug -m temp
mqsichangetrace IB9NODE -e default -t -l debug -m temp=BIP2213E
mqsichangetrace IB9NODE -e default -t -l debug -m temp=BIP4395E,BIP2213E
(Required) Specifies that service trace options are to be modified.
mqsichangetrace IB9NODE -u -e default -l normal -c 5000
mqsichangetrace IB9NODE -t -e default -m fast
mqsichangetrace IB9NODE -t -b -m safe -l normal
mqsichangetrace IB9NODE –n off -e default