MQ Interview Questions
MQ Interview Questions
MQ Interview Questions
Scenario 1
83. How can you connect to remote server from your desktop?
Using MSTSC
84. How many primary and secondary logs we can create on windows &
Linux (Max)?
Windows: primary file: 254, secondary: 253
Linux: primary files: 510, secondary: 509
85. Explain the concept of cluster workload balance?
86. What are the attributes of workload balance?
Defbind(notfixed)
Put()
clwluseq(local/any/QMGR)
clwlrank(0-9)
clwlprty(0-9)
clwlwght()
clwlmruse()
87. Explain client-server architecture?
88. What are the pre-requisites for MQ before install?
1. Hardware requirements----disk space
2. Software requirements----o/s specifications
89. Explain the process migration?
90. Have you ever done migration and how?
91. How can we take the Qmgr backup?
- create the backup queue manager
- copy the data and log files from your primary queue manager over the backup queue
manager's data and logs
- flag backup qmgr as a backup and replay log extents (strmqm -r)
- Periodically copy over the log files prior to the CURRLOG value from the queue
manager
saveqmgr -m MQ_BACKUP -r MQ_C1_01 -f MQ_C1_01.txt
92. Error log file name?
error log file name is:AMQERR01,AMQERR02,AMQERR03
93. What is the use of client channel tables?
Using client channel table we can connect with different QM’s and different clients will
connect to single QM
94. How many max channels can connect to a Qmgr?
The default for maximum channels is 100 for qmgr. it can be set to higher in the qm.ini.
95. How can you find the max channels are connected to a Qmgr?
dis qmstatus conns
96. Channel components?
chltype() conname() trptype() xmitq() batchsz() hbint()
97. What is the use of trig data in channel?
98. What does initiation queue contain?
This will contains trigger massage generated by QM
99. How can we check whether the Qmgr contain Dead-latter queue or not?
DIS QMGR DEADQ(*)
99. How many servers, Qmgrs in your environment?
100servers. 400qmgrs.
101. Which programs you use for running the trigger monitor when you use your own
initiation queue?(in application and channel triggering)
In application triggering we are using RUNMQTRM
in channel RUNMQCHI INITQ()
102. What is the default size of /var /mqm and /opt /mqm?
Allow 130 MB as a minimum for a WebSphere MQ server and 15 MB as a minimum for a
WebSphere MQ client.
x-86 201 mb iseries -183
Scenario 2
INTERVIEW QUESTIONS
Tell me about self (or) take me through your resume?
1. What are the different types of Logs?
We have two types of logs.
1. Transactional logs:
2. Error logs.
3. Difference between Errors and Qmgr errors?
Errors: This will contain all S/W level errors and Information
QMGR:This will contains all the information of QMGR objects and errors
4. How you enable Trace?
* Or start a high detail trace for one queue manager:
strmqtrc -t all -t detail -m MY.QMGR
* Or start a high detail wrapping trace and limit the file size to 5MB :
strmqtrc -l 5 -t all -t detail -m MY.QMGR
# End all tracing:
endmqtrc -a
# Format the trace files:
dspmqtrc *.TRC
Or format wrapping trace files:
dspmqtrc *.TRC *.TRS
101. Which programs you use for running the trigger monitor when you
use your own initiation queue?(in application and channel triggering)
In application triggering we are using RUNMQTRM
in channel RUNMQCHI INITQ()
102. What is the default size of /var /mqm and /opt /mqm?
Allow 130 MB as a minimum for a WebSphere MQ server and 15 MB as a minimum for a
WebSphere MQ client.
x-86 201 mb iseries -183
103. What is the difference between Control & Runmqsc Commands?
RUNMQSC commands are used with in Qm for creating Qm objects and altering
QMGR.
CONTROL commands are used for creating starting and running QM, and for set
authentication
104. In Cluster for Round-Robin process defbind (open) what is happen?
if you set defbind open, all msg’s are placed where the first msg is place
105. Explain the distributed queuing setup?
Scenario3
Software Requirements:
Operating system: The operating systems supported by WebSphere MQ for AIX, V5.3
are:
1. AIX V4.3.3, with PTF U472177, running in a 32 bit environment, on 32 or 64 bit
hardware.
2. AIX V5.1, with PTFs U476879, U477366, U477367 and U477368, and APAR fix
IY29345 running 32 bit kernel running on 32 or 64 bit hardware.
3. AIX V5.1, with PTF U476879, U477366, U477367 and U477368, and APAR fix
IY29345 running 64 bit kernel running on 64 bit hardware.
Connectivity The network protocols supported by WebSphere MQ for AIX, V5.3 are:
1. TCP/IP
2. SNA LU 6.2.
WebSphere MQ messages:
Messages are made up of Two parts: Message descriptor, Application data
Types of messages?
Datagram: A Message sent with no response expected.
Request: A Message sent for which a response is expected.
Reply: A Response Message for a requested message.
Report: A Message that describes the occurrence or eventEx COA/COD
Sizes ?
Qmanagerà10000 Msgs Maxmsglengthà4 Mb
Queueà5000 Msgs Maxmsglengthà4 Mb
What is the attribute used to see the Message length?
Ans: MaxMsgLength
What is MQ Client?
Ans: A Web Sphere MQ client is a component that allows an application running on a
system to issue MQI calls to a queue manager running on another system. The output
from the call is sent back to the client, which passes it back to the application.
What is MQ Server?
Ans: A Web Sphere MQ server is a queue manager that provides queuing services to
one or more clients. All the Web Sphere MQ objects, for example queues, exist only on
the queue manager machine (the Web Sphere MQ server machine), and not on the
client. A Web Sphere MQ server can also support local Web Sphere MQ Applications
What are the Objects used in Web sphere MQ?
Ans: 1. Queue Manager
2. Queues
3. Channels
4. Processes
5. Name lists.
SCRIPT COMMANDS:-
After entering in to queue manager we can find script commands.
Script commands are same for every queue manager.
(These Commands should be used in CAPITAL LETTERS)
· DEFINE :-To define/create MQ manager objects like queue,
Channels, process, and listener.
· ALTER :-to update or modify the existing objects
· DISPLAY :-to view all the properties of a particular object or to
How can we write the MQSC commands that have too many parameters/
Ans: For commands that have too many parameters to fit on one line, use continuation
characters to indicate that a command is continued on the following line:
1. A minus sign ( ) indicates that the command is to be continued from the start of _ the
following line.
2. A plus sign (+) indicates that the command is to be continued from the first nonblank
character on the following line.
What are commands used for creating the Queue manager from the
Command prompt?
Ans: crtmqm -q -d MY.DEFAULT.XMIT.QUEUE -u DEAD.LETTER.QUEUE QM1
Here -q used to define the Queue manager QM1 as a Default Queue manager
-d is used to define the default transmission Queue -u is used to define the default dead
letter queue.
How can U make the existing Queue Manager as an default Queue Manager?
Ans: On Windows systems, use the Web Sphere MQ Services snap-in to display the
properties of the queue manager, and check the Make queue manager the default box.
You need to stop and restart the queue manager for the change to take effect.
Where the backup files are present after creating the Queue Manager?
Ans: Windows systems: If you use Web Sphere MQ for Windows NT and Windows
2000, configuration information is stored in the Windows Registry.UNIX Systems: 1.
When you install the product, the Web Sphere MQ configuration file (mqs.ini) is
created. It contains a list of queue managers that is updated each time you create or
delete a queue manager. There is one mqs.ini file per node.
2. When you create a new queue manager, a new queue manager configuration file
(qm.ini) is automatically created. This contains configuration parameters for the queue
manager.
endmqm –i QMName
This type of shutdown does not wait for applications to disconnect from the queue
manager.
What is Queue?
Ans: A queue is a data structure used to store messages. A queue manager owns each
queue. The queue manager is responsible for maintaining the queues it owns, and for
storing all the messages it receives onto the appropriate queues
Queue: A safe place to store messages for Prior-To-Delivery, it belongs to the Qmgr to
which the application is connected.
Model Queue: Model queue is a template of a queue definition that uses when creating
a dynamic queue.
Alias Queue: Queue definition, which is Alias to an actual Local or Remote Q. Used for
security and easy maintenance.
Initiation Queue: An initiation queue is a local queue to which the queue manager
writes a trigger message when certain conditions are met on another local queue
Dynamic Queue: Such a queue is defined “on the fly” when the application needs it.
Dynamic queues may be retained by the queue manager or automatically deleted when
the application program ends. Use- To store intermediate results.
Reply-To-Queue: A request message must contain the name of the queue into which
the responding program must put the Reply Message.
What are the attributes required for the Remote Queue Definition?
Ans: 1.Name of the Queue
2. Transmission Queue Name.
3. Remote Queue Manager name
4. Remote Local Queue Name
What is the Algorithm followed in retrieving the Messages from the Queue?
Ans: 1. First-in-first-out (FIFO).
2. Message priority, as defined in the message descriptor. Messages that have the same
priority are retrieved on a FIFO basis.
3. A program request for a specific message.
What is Process Definition and what are the attributes does it contain?
Ans: A process definition object defines an application that starts in response to a
trigger event on a WebSphere MQ queue manager. The process definition attributes
include the application ID, the application type, and data specific to the application.
What is intercommunication and its components to send message ?
What is Intercommunication?
Ans: In Web Sphere MQ, intercommunication means sending messages from one
Queue manager to another. The receiving queue manager could be on the same machine
or another; nearby or on the other side of the world. It could be running on the same
platform as the local queue manager, or could be on any of the platforms supported by
Web Sphere MQ. This is called a distributed environment.
Message channels Message channel agents
Transmission queues Channel initiators and listeners
Channel-exit programs
Channel Errors?
Due to: 1. Xmitq is set to get disabled
2. Network Issues
3.QueueManager Stopped
4. Listener is not running
5.TriggerTurned Off
2. Linear: Linear logging gives you both restart recovery and media recovery. It is used
in Production. Linear logging keeps the log data in a continuous Sequence of files. Space
is not reused, so you can always retrieve any record logged from the time that the queue
manager was created. As disk space is finite, you might have to think about some form
of archiving. It is an administrative task to manage your disk space for the log, reusing
Or extending the existing space as necessary.
What is the Default location where the logs are stored and mention the
default sizes?
Ans: Default location:
Windows: C:\Program Files\IBM\WebSphere MQ\log\qmgr
UNIX: /var/mqm/log
what is the number for log primary and secondary file allocated?
Ans: Primary log files: The number of primary log files to be allocated is 3 by default the
minimum is 2 and MAX in Win 253 / Unix 510
Secondary log files: The number of secondary log files to be allocated is 2 by default the
minimum is 1 and MAX in Win 252 / Unix 509
What is the command that is used to provide authorization for the clients?
Ans: setmqaut -m QMName -t queue -n Queuename -p GUEST +all
What are the common errors u get in DQM? Explain how to resolve ?
Ans: mqrc 2058: MQRC_Q_MGR_NAME_ERROR
Mqrc 2059: MQRC_Q_MGR_NOT_AVAILABLE.
Mqrc 2033: MQRC_NO_MSG_AVAILABLE.
Mqrc 2085: MQRC_UNKNOWN_OBJECT_NAME.
Mqrc 2009: MQRC_CONNECTION_BROKEN.
Mqrc 2043: MQRC_OBJECT_TYPE_ERROR.
Mqrc 2086: MQRC_UNKNOWN_OBJECT_Q_MGR.
Mqrc 2035: MQRC_NOT_AUTHORIZED.
What is the command used to test whether the channel is active or not?
Ans: runmqsc QMName
Ping channel (channel name).
What are the administrative commands that are used in Publish and
Subscribe?
Ans: The strmqbrk command is used to start a broker. The first time this command is
run on a queue manager, all the relevant MQSeries objects are automatically created.
——–strmqbrk -m MYQMGRNAME
The dspmqbrk command is used to check the status of the broker. Possible states are:
starting, running, stopping, quiescing, not active and ended abnormally.
——–dspmqbrk -m MYQMGRNAME
The endmqbrk command is used to stop a broker. There are two options: -c requests a
controlled shutdown (default), -i requests an immediate shutdown.
——-endmqbrk -i -m MYQMGRNAME
Which field of the MQDLH structure contains a reason code that identifies
why the message is on the DLQ?
Reason field
Commit: To commit a unit of work, all updates must be successful to preserve data
integrity. If the program detects an error and decides that the put operation should not
be made permanent, it can back out the unit of work.
Back Out: When a program performs a back out, WebSphere MQ restores the queue by
removing the messages that were put on the queue by that unit of work. The way in
which the program performs the commit and back out operations depends on the
environment in which the program is running
BackoutCount (MQLONG)?
This is a count of the number of times that the message has been previously returned by
the MQGET call as part of a unit of work, and subsequently backed out. BackoutCount is
the number of times the application tried and failed to put the messages in the Queue
Ans:
Ans:
When messages arrive on a queue, they can automatically start an application using triggering.
If necessary, the applications can be stopped when the message (or messages) have been
processed.
Ans:
Integration.
Asynchrony
Assured Delivery
Scalability.
Ans:
Because the MQ is independent of the Operating System you use i.e. it may be Windows,
Solaris,AIX.It is independent of the protocol (i.e. TCP/IP, LU6.2, SNA, NetBIOS, UDP).It is not
required that both the sender and receiver should be running on the same platform
5) What Is Asynchrony?
Ans:
With message queuing, the exchange of messages between the sending and receiving
programs is independent of time. This means that the sending and receiving application
programs are decoupled; the sender can continue processing without having to wait for the
receiver to acknowledge receipt of the message. The target application does not even have to
be running when the message is sent. It can retrieve the message after it is has been started.
6) What Are The Hardware And Software Requirements For Mq Installation In Aix?
Ans:
WebSphere MQ for AIX, V5.3 runs on any machine that supports the AIX V4.3.3 PowerPC®
32.bit, or AIX® V5.1 Power 32 bit only operating system.
Server installation: 50 MB
Client installation: 15 MB
Data storage (server): 50 MB
Data storage (client): 5 MB.
AIX V4.3.3, with PTF U472177, running in a 32 bit environment, on 32 or 64 bit hardware.
AIX V5.1, with PTFs U476879, U477366, U477367 and U477368, and APAR fix IY29345
running 32 bit kernel running on 32 or 64 bit hardware.
AIX V5.1, with PTF U476879, U477366, U477367 and U477368, and APAR fix IY29345
running 64 bit kernel running on 64 bit hardware.
Connectivity The network protocols supported by WebSphere MQ for AIX, V5.3 are:
o TCP/IP
o SNA LU 6.2.
Oracle 8i and 9i
7) What Are The Software And Hardware Requirements For Installing Mq On Windows?
Ans:
Disk Storage:
Server installation: 50 MB
Client installation: 15 MB
Data storage (server): 50 MB
Data storage (client): 5 MB.
Connectivity The network protocols supported by WebSphere MQ for AIX, V5.3 are:
TCP/IP
SNA LU 6.2.
LU 6.2
NetBIOS
Oracle 8i and 9i
Ans:
A message is a string of bytes that is meaningful to the applications that use it. Messages are
used to transfer information from one application program to another (or between different
parts of the same application). The applications can be running on the same platform, or on
different platforms.
The application data. The content and structure of the application data is defined by the
application programs that use it.
A message descriptor. The message descriptor identifies the message and contains
additional control information, such as the type of message and the priority assigned to
the message by the sending application. WebSphere MQ defines the format of the
message descriptor. For a complete description of the message descriptor,
Ans:
The default maximum message length is 4 MB, although you can increase this to a maximum
length of 100 MB (where 1 MB equals 1 048 576 bytes).
10) What Is The Difference Between Persistent And Non Persistent Messages?
Ans:
In Web Sphere MQ, messages can be either persistent or non persistent. Persistent messages
are logged and can be recovered in the event of a WebSphere MQ failure. Thus, persistent
messages are guaranteed to be delivered once and only once. Nonpersistent messages are not
logged. Web Sphere still guarantees to deliver them not more than once, but it does not
promise to deliver them once.
Persistent messages are usually logged. Logging messages reduces the performance of your
application, so use persistent messages for essential data only. If the data in a message can be
discarded if the queue manager stops or fails, use a nonpersistent message.
Ans:
Ans:
A Web Sphere MQ server is a queue manager that provides queuing services to one or more
clients. All the Web Sphere MQ objects, for example queues, exist only on the queue manager
machine (the Web Sphere MQ server machine), and not on the client. A Web Sphere MQ server
can also support local Web Sphere MQ Applications
Ans:
Queue Manager
Queues
Channels
Processes
Name lists.
15) Mention The No Of Characters Required For Creating Names Of The Mq Objects?
Ans:
16) What About Is The Default Port Number For Mq Queue Manager?
Ans:
1414
Ans:
MQSC Commands: These commands are used to handle the admin related functions for the
components that are present in the MQ Series. In general MQSC commands are used for
creating and maintaining Message channels, Queue Managers, Clusters etc…
Control Commands: These commands are used to manage the processes and services that are
helpful in the functioning of the MQ Series. In general these commands are used for Channel
listener, Channel Initiator, Trigger monitor etc…
Ans:
MQSC commands, including their attributes, can be written in uppercase or lowercase. Object
names in MQSC commands are folded to uppercase (that is, QUEUE and queue are not
differentiated), unless the names are enclosed within single quotation marks. If quotation
marks are not used, the object is processed with a name in uppercase.
SCRIPT COMMANDS : After entering in to queue manager we can find script commands. Script
commands are same for every queue manager.(These Commands should be used in CAPITAL
LETTERS)
19) How Can We Write The Mqsc Commands That Have Too Many Parameters?
Ans:
For commands that have too many parameters to fit on one line, use continuation characters to
indicate that a command is continued on the following line:
A minus sign ( ) indicates that the command is to be continued from the start of _ the
following line.
A plus sign (+) indicates that the command is to be continued from the first nonblank
character on the following line.
20) How Can U Make The Existing Queue Manager As An Default Queue Manager?
Ans:
On Windows systems, use the Web Sphere MQ Services snap-in to display the properties of the
queue manager, and check the Make queue manager the default box. You need to stop and
restart the queue manager for the change to take effect.
SUBSCRIBE
21) Where Are The Backup Files Are Present After Creating The Queue Manager?
Ans:
Windows systems:
If you use Web Sphere MQ for Windows NT and Windows 2000, configuration information is
stored in the Windows Registry.
UNIX Systems:
When you install the product, the Web Sphere MQ configuration file (mqs.ini) is created. It
contains a list of queue managers that is updated each time you create or delete a queue
manager. There is one mqs.ini file per node.
When you create a new queue manager, a new queue manager configuration file (qm.ini) is
automatically created. This contains configuration parameters for the queue manager.
22) What Is The Command Used For Starting The Queue Manager?
Ans:
strmqm QMName
23) What Is The Command Used For Stopping The Queue Manager?
Ans:
endmqm -w QMName : The command waits until all applications have stopped and the
queue manager has ended.
endmqm –i QMName : This type of shutdown does not wait for applications to
disconnect from the queue manager.
Ans:
Ans:
dltmqm QMName
Ans:
These commands are issued from a programme for local or remote administration done by
programmers.
Ans:
Ans:
Parameter descriptions
BUFFERS(integer)
o Integer represents the number of 4096-byte buffers
Ans:
Telemetry enables Remote sensors, smart meters etc., to be easily connected with the
existing applications and services
Telemetry provides messaging technique for optimizing the needs of sensor networks
Decision makers can focus on significant data and events
It enables responses of rapid and proactive nature for current situations
Network traffic is reduced and responsiveness increases by only sending significant data
and events
It encourages various device manufacturers to enable their sensors that are ready to
connect into IBM connectivity solutions
Enables the custom implementation of messaging that is device-side for connecting
unusual devices
Optimizes the use of network to lower the traffic
The pay-per-byte costs can be reduced in satellite networks
31) What Are The Integration And Supported Environments In Ibm Mq?
Ans:
Ans:
Each command of MQSC starts with a primary parameter, followed by a secondary parameter
The name or generic name of the object should be followed by secondary parameter
The keywords, parentheses and values could be separated by unlimited number of
blanks and commas
At least one blank immediately preceding each parameter is mandatory, except on z/OS
Blanks enclosed within a pair of quotations marks are significant
Repeated parameters are not allowed
String can contain blanks, lowercase alphabets or special characters other than
period(.), forward slash(/), underscore(_) percent sign(%) must be enclosed in a single
quote
A blank pair of parenthesis is invalid with out significant information enclosed in
between
Keywords are not case sensitive
Ans:
Ans:
Ans:
Ans:
CCDT file or Client Channel Definition table is a binary file which contains connection details
required by MQ clients e.g. Java application using JMS to connect to MQ Server. In order to
connect to MQ Server, MQ clients needs MQ Server host name, MQ Server port name and
server channel name. All these details are encapsulated in CCDT file named as AMQCLCHL.TAB.
In order to create MQ Connection, MQ clients needs location of this file, which is provided as
configuration. most of MQ errors comes either with incorrect CCDT files.
37) What Is Difference Between Dead Letter Queue And Backout Queue In Websphere
Mq?
Ans:
As we have seen that dead letter queue is used to store messages which is receives for non
existent queue. On the other hand backout queue are application specific queue.If MQ client is
not able to process message and ask for redelivery, message is redelivered to client with
incremented delivery count. Once this deliveryCountcrossed a configured threshold message is
moved to back-out queue for later processing or error handling. In short if MQ Series not able
to deliver message to client after a preconfigured attempt, WMQ moves message to backout
queue.
Ans:
if you connected MQ via SSL. SSLPEER is a String usually DN (Distinguished Name) of MQ Client
which connect to QueueManager securely using QueueManager. This is a mechanism WMQ
uses to identify the client. In case of Java or JMS client, SSLPEER is DN of client certificate stored
in its keyStore and sent to the server during SSL handshake.
39) What are the benefits that corporations can have through IBM Websphere MQ?
Ans:
Organizations and corporations can simply send bulk messages over complex networks. There
are no strict protocols that need to be followed. Even if they are, the same can be managed
very easily. Enterprises can make sure of quick information delivery to the destinations and can
always have the things done in the best possible manner.
In the queue process, the process of sending or exchange of any message doesn’t depend on
the time. This is exactly what that makes both the sender, as well as the receiver to be
decoupled if the need of same is there. There is actually no need for the sender to wait for
getting the acknowledgment regarding the delivery of the message from the receiver. IT can
continue with this next task. This process is basically considered as Asynchrony in IBM
Websphere MQ.
41) What is the difference between the dead letter queue and backout queue in
Websphere MQ?
Ans:
This is a follow question of previous MQ interview question “What is dead letter queue in MQ
Series”. As we have seen that dead letter queue is used to store messages which are received
for the nonexistent queue. On the other hand, the backout queue is an application-specific
queue. If MQ client is not able to process message and ask for redelivery, the message is
redelivered to the client with the incremented delivery count. Once this delivery count crossed
a configured threshold message is moved to back-out queue for later processing or error
handling. In short if MQ Series are not able to deliver a message to the client after a
preconfigured attempt, WMQ moves message to backout queue.
Ans:
1. Predefined queues are created by an administrator using the appropriate MQSC or PCF
commands. Predefined queues are permanent; they exist independently of the applications
that use them and survive Web Sphere MQ restarts.
2 Dynamic queues are created when an application issues an MQOPEN request specifying the
name of a model queue. The queue created is based on a template queue definition, which is
called a model queue.
Ans:
SYSTEM.CLUSTER.REPOSITORY.QUEUES should have the same depth. Also, you should find
something in your error logs if it fails. If the channels between the two FRs are able to run, trust
IBM, and assume all good use runmqsc to display all cluster objects. Redirect the output into a
file Analyze both files for differences.
44) Is the procedure of installation the IBM WebSphere MQ on Aix similar to that for
Windows?
Ans:
Yes, all the requirements are the same except for a few basic ones. For older versions of
Windows such as 2000 and XP, it needs some customized settings in the application. It is
actually free from the network protocols and thus users have no reasons to worry about this.
Ans:
Ina network, there can be a very large number of nodes. Practically it is not possible to establish
a direct physical connection between them all. Of course, this can enhance the cost up to a
great extent and can make the network very complex. Thus, the concept of switching is
considered. It basically acts as a temporary path that is established between a sender and a
receiver for message transfer. The connection is terminated after the message is sent. Because
not all the nodes need channels all the time, this concept can be applied. It is having a lot of
advantages. All the data that seems to be sent on priority can be assigned sent immediately by
stopping other operations.
Ans:
The new IBM Connections Metrics application provides a comprehensive set of quantitative and
qualitative metrics that help measure the business value of IBM Connections to your
organization. IBM Connections uses IBM Cognos Business Intelligence to generate reports that
users can view directly in IBM Connections. Metrics reports can provide your organization with
the information and insight to make the right, fact-based business decisions.
For example, you can generate the following Metrics reports at the global level:
Number of unique authenticated (and anonymous) visitors for the entire system and for
individual components Number of users who created or updated content Most popular
content, based on number of visits, follows, or recommendations At the community level, you
can generate Metrics reports such as the following: Number of unique authenticated (and
anonymous) visitors for the community, including its widgets Number of contributors for each
widget in a community Most active contributors. Most popular content, based on a number of
visits, follows, or recommendations for more information about Metrics, refer to: What are
Metrics.
47) What are the differences between the Metrics reporting functionality for IBM
Connections 3.0 and IBM Connections 4.0?
Ans:
IBM Connections 3.0.1Metrics provides separate reports for each application. Metrics in IBM
Connections 4.0 provides one central user interface to display global metrics reports and
community metrics reports.
Metrics reports in IBM Connections 3.0.1 are presented using simple Metrics reports in IBM
Connections 4.0 are presented in various formats including tables, charts, and other kinds of
graphs.
Metrics in IBM Connections 4.0 employs the powerful capabilities of IBM Cognos Business
Intelligence to provide customers with more features, including reports, dimensions,
customization, and drill up/down.
48) What exactly do you understand with the term MQ and what it is responsible for?
Ans:
49) What is the difference between the local queue and the remote queue in WMQ?
Ans:
Rather simple and fact-based MQ Series interview question. This is asked to see whether the
candidate is familiar with MQ Series terminology or not. In WebSphere MQ, local queues are a
queue on the same queue manager while remote queue refers to queue on different
QueueManager.
Ans:
1. Integration.
2. Asynchrony
3. Assured Delivery
4. Scalability.
Ans:
Remote queue object: A remote queue object identifies a queue belonging to another queue
manager. This queue must be defined as a local queue to that queue manager. The information
you specify when you define a remote queue object allows the local queue manager to find the
remote queue manager so that any messages destined for the remote queue go to the correct
queue manager.
Alias queue object An alias queue allows applications to access a queue by referring to it
indirectly in MQI calls. When an alias queue name is used in an MQI call, the name is resolved to
the name of either a local or a remote queue at run time. This allows you to change the queues
that applications use without changing the application in any way; you merely change the alias
queue definition to reflect the name of the new queue to which the alias resolves. An alias
queue is not a queue, but an object that you can use to access another queue.
Model queue object A model queue defines a set of queue attributes that are used as a
template for creating a dynamic queue.
52) What is Process Definition and what are the attributes does it contain?
Ans:
A process definition object defines an application that starts in response to a trigger event on a
WebSphere MQ queue manager. The process definition attributes include the application ID,
the application type, and data specific to the application.
Ans:
In Web Sphere MQ, intercommunication means sending messages from one Queue manager to
another. The receiving queue manager could be on the same machine or another; nearby or on
the other side of the world. It could be running on the same platform as the local queue
manager or could be on any of the platforms supported by Web Sphere MQ. This is called a
distributed environment. Web Sphere MQ handles communication in a distributed
environment such as this using Distributed Queue Management (DQM).
The local queue manager is sometimes called the source queue manager and the remote
queue manager is sometimes called the target queue manager or the partner queue manager.
Ans:
A massage doesn’t just contain information that needs to be transferred but it contains other
information too. For example, type of message and what exactly its priority is. The same is
described in the message descriptor which is defined by WebSphere MQ. It contains all other
relevant information about the message and among all of the same, its priority that largely
matters.
Ans:
Persistent messages are logged and can be recovered in the event of a WebSphere MQ failure.
Thus, persistent messages are guaranteed to be delivered once and only once.
Nonpersistent messages are not logged. Web Sphere still guarantees to deliver them not more
than once, but it does not promise to deliver them once.
Ans:
When sending messages Remapping the queue-manager name, Altering or specifying the
transmission queue and Determining the destination.
When receiving messages, Using a queue manager as a gateway into the cluster. Gives the
different application to different levels of access authority to the target Queue Allows different
applications to work with the same queue in a different way Simplifies maintenance, migration
and workload balance.
Transmission queues are queues that temporarily store messages that are destined for a
remote queue manager. You must define at least one transmission queue for each remote
queue manager to which the local queue manager is to send messages directly.
58) What are the channel and mention different types of channels in MQ?
Ans:
Channels are objects that provide a communication path from one queue manager to another.
Channels are used in distributed queuing to move messages from one queue manager to
another. They shield applications from the underlying communications protocols. The queue
managers might exist on the same, or different, platforms.
1. Sender-Receiver Channels
2. Requester-Server Channels
5. Cluster Sender.
Ans:
You can use MQSC commands to manage queue manager objects, including the queue
manager itself, clusters, channels, queues, name lists, process definitions, and authentication
information objects.
Ans:
MQSC commands, including their attributes, can be written in uppercase or lowercase. Object
names in MQSC commands are folded to uppercase (that is, QUEUE and queue are not
differentiated) unless the names are enclosed within single quotation marks. If quotation marks
are not used, the object is processed with a name in uppercase.
Ans:
1. Circular: The circular logging is used for restart recovery. It is the default logging method.
Circular is used in Development and Testing Queues. Circular logging keeps all restart Data in a
ring of log files. Logging fills the first file in the ring, then moves on to the and so on, until all the
files are full. It then goes back to the first file in the ring and starts This continues as long as the
product is in use, and has the advantage that you never run out of log files.
2. Linear: Linear logging gives you both restart recovery and media recovery. It is used in
Production. Linear logging keeps the log data in a continuous Sequence of files. (COMPANY)
Space is not reused, so you can always retrieve any record logged from the time that the queue
manager was created. As disk space is finite, you might have to think about some form of
archiving. It is an administrative task to manage your disk space for the log, reusing Or
extending the existing space as necessary.
Ans:
A channel initiator acts as a trigger monitor for sender channels, because a transmission queue
may be defined as a triggered queue. When a message arrives on a transmission queue that
satisfies the triggering criteria for that queue, a message is sent to the initiation queue,
triggering the channel initiator to start the
appropriate sender channel. You can also start-server channels in this way if you specified the
connection name of the partner in the channel definition. This means that channels can be
started automatically, based upon messages arriving on the appropriate transmission queue.
You need a channel listener program to start receiving (responder) MCAs. Responder MCAs are
started in response to a startup request from the caller MCA; the channel listener detects
incoming network requests and starts the associated channel.
IBM WMQ Sample Resumes! Download & Edit, Get Noticed by Top Employers!
DOWNLOAD
Ans:
WebSphere MQ can start an application automatically when certain conditions on a queue are
met. For example, you might want to start an application when the maximum number of
messages on a queue reaches a specified number.
a. Application triggering
b. Channel Triggering
a) In the case of application triggering the components is Application queue: This is the
message queue associated with an application Process: A process definition defines the
application to be used to process messages from the application queue. Initiation queue: The
queue manager monitors the application queue. If the trigger type of the application queue is
set to Every then whenever a message is put to the application queue, the q manager looks into
the process definition and puts a message having the application name and other details to the
initiation queue Trigger monitor: The trigger monitor gets the trigger message from the
initiation queue and starts the program specified.
b) For channel triggering the transmission, queue is monitored and when messages are put in
the transmission queue, the q manager puts a message in the channel initiation queue. The
channel initiator is the program which monitors the initiation queue and starts the sender MCA.
For the message to reach the target queue, the channel listener has to be running in the target
queue manager
Ans:
A message is basically considered as a string of bytes which contains something useful for the
machine or for the user. Generally, messages are deployed when it comes to the sharing of
information among different nodes. It doesn’t matter whether the application runs on
platforms which are different from each other.
65) What is the difference between the control commands and the MQS commands?
Ans:
Control commands are used when it comes to managing the services, as well as different
processes related to messaging. Most of the time, these commands are deployed for the
channel listener, triggering or for the integration of the same. On the other side, the MQS
commands are useful when it comes to functions which are related to the tasks performed by
an administrator. It is also possible to create Queue Managers and channels through these
commands
Ans:
A message channel agent (MCA) is a program that controls the sending and receiving of
messages. There is one message channel agent at each end of a channel. One MCA takes
messages from the transmission queue and puts them on the communication link. The other
MCA receives messages and delivers them onto a queue on the remote queue manager.
A message channel agent is called a caller MCA if it initiated the communication; otherwise, it is
called a responder MCA.
67) How can U make the existing Queue Manager as a default Queue Manager?
Ans:
On Windows systems, use the Web Sphere MQ Services snap-in to display the properties of the
queue manager, and check the Make queue manager the default box. You need to stop and
restart the queue manager for the change to take effect.
Ans:
Ans:
When a program puts a message on a queue within a unit of work, that message is made visible
to other programs only when the program commits the unit of work.
Commit: To commit a unit of work, all updates must be successful to preserve data integrity. If
the program detects an error and decides that the put operation should not be made
permanent, it can back out the unit of work.
Back Out: When a program performs a back out, WebSphere MQ restores the queue by
removing the messages that were put on the queue by that unit of work. The way in which the
program performs the commit and back out operations depends on the environment in which
the program is running.
Answer: A message queue is a data structure used to store messages in transit between
applications. The sending application writes a message to a queue and the receiving
Answer: A channel is a communication link between two queue managers that allows
Answer: The different types of channels in IBM WebSphere MQ are Sender, Receiver,
Answer: A queue manager is a program that manages the queue and channel objects
Answer: You can create a queue in IBM WebSphere MQ using the MQSC (MQ Script
Answer: A listener is a program that waits for incoming connection requests from
Answer: A dead-letter queue is a queue where messages are sent when they cannot be
Answer: A backout queue is a queue where messages are sent if they fail to be
Answer: Queue depth refers to the number of messages currently held in a queue.
What is a message group in IBM WebSphere MQ?
specific order.
What is an MQ client?
or receive messages.
What is an MQ server?
messages, while an MQ server hosts the queue manager and handles incoming
Answer: In a point-to-point model, messages are sent directly between two applications
using a queue. In a publish-subscribe model, messages are sent to a topic, and any
What is an MQ header?
Answer: An MQ header is a section of the message that contains information about the
Answer: An MQ trace is a record of the events and messages that occur in an IBM
analysis.