YouTube Icon

Interview Questions.

Ibm Websphere Mq Placement Papers - Ibm Websphere Mq Interview Questions and Answers - Jul 28, 2022

fluid

Ibm Websphere Mq Placement Papers - Ibm Websphere Mq Interview Questions and Answers

Q1. What Is Channel In Ibm Websphere Mq?

In WebSphere MQ or WMQ, Queue Manager use channel to trmit messages to other QueueManager. Channel contains one way site visitors in MQ Series (i.E. Channels are uni directional). You could have either sending channel or receiving channel in MQ.

Q2. What Is Difference Between Local Queue And Remote Queue In Wmq?

In WebSphere MQ, local queues are queue on same QueueManager even as far off queue refers to queue on special QueueManager.

Q3. What Are The Integration And Supported Environments In Ibm Mq?

IBM MQ supports in virtual integration

Supports extra than 80 platform configurations, consisting of z/OS aid

Integrates with CICS,IMS,DB2,Microsoft .Net and JEE environments

Supports Message Queue Interface and Industry standards inclusive of JMS interface together with incorporated public-and-subscribe assist

Internet comfortable communication is supported with enterprise wellknown SSL

IBM MQ supports IP V6

Awarded Common Criteria certification

Supports stop-to-give up governance with Extended Security Edition

Q4. What Are The Objects Used In Web Sphere Mq?

Queue Manager

Queues

Channels

Processes

Name lists.

Q5. What Is Mq And What Does It Do?

MQ stands for MESSAGE QUEUEING. WebSphere MQ permits software applications to use message queuing to participate in message-driven processing. Application applications can speak throughout unique structures with the aid of using an appropriate message queuing software merchandise.

Q6. What Is Dead Letter Queue In Ibm Mq Series?

Dead letter Queue in WebSphere MQ is a queue which is utilized by QueueManager to archive messages for a non existent queue. For example of QueueManagerQMGR, receives a messages for queue ABC and if it didn’t exist on that QueueMangaer then message will be routed to lifeless letter queue.

Q7. What Is Asynchrony?

With message queuing, the trade of messages between the sending and receiving applications is impartial of time. This me that the sending and receiving application applications are decoupled; the sender can continue processing without having to watch for the receiver to acknowledge receipt of the message. The goal software does now not even ought to be jogging while the message is despatched. It can retrieve the message after it's far has been began.

Q8. What Is Queuemanager In Ibm Websphere Mq ? What Does Queuemanager Do?

QueueManageris primary aspect of WebSphere MQ or WMQ. QueueManager is responsible for storing and routing messages to other Queue Manager within MQ and it also communicate with outdoor global e.G. Java program or another MQ customer.

Q9. What Is Ccdt File On Websphere Mq Or Wmq?

CCDT report or Client Channel Definition desk is a binary report which includes connection details required by means of MQ clients e.G. Java utility the use of JMS to hook up with MQ Server. In order to hook up with MQ Server, MQ customers needs MQ Server host name, MQ Server port name and server channel name. All these details are encapsulated in CCDT record named as AMQCLCHL.TAB. In order to create MQ Connection, MQ customers desires area of this record, that's furnished as configuration. Most of MQ errors comes both with wrong CCDT documents.

Q10. What Are The Telemetry Capabilities?

Telemetry allows Remote sensors, clever meters etc., to be without problems related with the present programs and services

Telemetry offers messaging approach for optimizing the desires of sensor networks

Decision makers can focus on significant facts and activities

It permits responses of fast and proactive nature for modern-day situations

Network visitors is decreased and responsiveness increases by using best sending sizeable data and activities

It encourages various device manufacturers to allow their sensors which are equipped to connect into IBM connectivity answers

Enables the custom implementation of messaging that is tool-side for connecting uncommon gadgets

Optimizes using community to decrease the site visitors

The pay-in line with-byte expenses can be reduced in satellite networks

Q11. What Is Ibm Mq Series? What Is The Significance Of Mq Series?

A center ware from IBM

It has runtime managers which includes Queue Managers and Queues

Queue is an item which holds messages of various formats – XML/textual content/byte

Queue manger maintains and manages gadgets like Queues, channels

Various listener applications concentrate to these queues for grabbing the messages, followed via processing those messages

Java Messaging Service is one of the standards furnished with the aid of JEE specification for asynchronous messaging

The queues may be defined in JEE field and send messages on those queues

Message Driven Bean can be configured for listening the JMS queues

When a message is at the JMS queue, the corresponding MDB’s onMessage() approach is invoked and the message processing can be carried out

Significance of Websphere MQ Series:

WebSphere MQ will considerably improves the waft of statistics throughout an company

The message is located and altered for dynamic business necessities

MQ series lessen upkeep, integration fees and acts as a bridge to numerous technology

MQ Series reduces expenses and all the disruptions are processed from information loss

Allows ongoing renovation efforts via prevalent provider delivery

Security breaches are removed and insures the compliance thru message and traction integrity

Q12. What Is The Max Length Of The Message Does Mq Support?

The default maximum message length is 4 MB, even though you may growth this to a most duration of one hundred MB (wherein 1 MB equals 1 048 576 bytes).

Q13. What Is The Effect Of Using Persistent Messages?

Persistent messages are typically logged. Logging messages reduces the overall performance of your utility, so use continual messages for vital facts handiest. If the facts in a message can be discarded if the queue manager stops or fails, use a nonpersistent message.

WebSphere MQ messages: Messages are made up of Two components: Message descriptor, Application statistics

Q14. What Are The Hardware And Software Requirements For Mq Installation In Aix?

WebSphere MQ for AIX, V5.Three runs on any machine that helps the AIX V4.Three.Three PowerPC® 32.Bit, or AIX® V5.1 Power 32 bit simplest working system.

Disk Storage: Typical storage requirements are as follows:

Server set up: 50 MB

Client set up: 15 MB

Data garage (server): 50 MB

Data storage (patron): five MB.

Software Requirements: Operating machine: The operating structures supported with the aid of WebSphere MQ for AIX, V5.3 are:

AIX V4.3.Three, with PTF U472177, strolling in a 32 bit environment, on 32 or sixty four bit hardware.

AIX V5.1, with PTFs U476879, U477366, U477367 and U477368, and APAR restoration IY29345 running 32 bit kernel going for walks on 32 or sixty four bit hardware.

AIX V5.1, with PTF U476879, U477366, U477367 and U477368, and APAR repair IY29345 going for walks sixty four bit kernel going for walks on 64 bit hardware.

Connectivity The network protocols supported by way of WebSphere MQ for AIX, V5.Three are:

TCP/IP

SNA LU 6.@

Databases: DB2 7.1, 7.2

Oracle 8i and 9i

Sybase v12 or v 12.Five

Q15. What Is Mq Server?

A Web Sphere MQ server is a queue manager that gives queuing offerings to one or more customers. All the Web Sphere MQ objects, for instance queues, exist simplest on the queue supervisor machine (the Web Sphere MQ server machine), and not at the purchaser. A Web Sphere MQ server can also help neighborhood Web Sphere MQ Applications

Q16. How Can U Make The Existing Queue Manager As An Default Queue Manager?

On Windows systems, use the Web Sphere MQ Services snap-in to show the residences of the queue supervisor, and check the Make queue manager the default field. You want to stop and restart the queue supervisor for the change to take impact.

Q17. How Does It Support The Integration?

Because the MQ is impartial of the Operating System you use i.E. It is able to be Windows, Solaris,AIX.It is impartial of the protocol (i.E. TCP/IP, LU6.2, SNA, NetBIOS, UDP).It isn't always required that each the sender and receiver have to be going for walks at the equal platform

Q18. What Is Programmable Command Format (pcf) Commands?

These commands are issued from a programme for neighborhood or faraway management carried out through programmers.

Q19. What Is Difference Between Binding Connection And Client Connection?

If MQ customers sits on same physical server in which QueueManager is located than it may create binding connection which is highly quicker than client connection, which is usually created through MQ customers dwelling on same community but no longer equal host. Most of application makes use of MQ customer connection to attach QueueMangaer, which is simple and bendy.

Q20. What Is The Difference Between Persistent And Non Persistent Messages?

In Web Sphere MQ, messages can be either chronic or non continual. Persistent messages are logged and may be recovered within the event of a WebSphere MQ failure. Thus, chronic messages are guaranteed to be brought once and most effective once. Nonpersistent messages aren't logged. Web Sphere still guarantees to supply them not more than once, but it does now not promise to deliver them as soon as.

Q21. What Is The Sizes Of Messages?

Qmanagerà10000 Msgs Maxmsglengthà4 Mb

Queueà5000 Msgs Maxmsglengthà4 Mb

Q22. Difference Between Mqsc Commands And Control Commands?

MQSC Commands: These commands are used to address the admin associated capabilities for the additives that are gift in the MQ Series. In general MQSC instructions are used for creating and retaining Message channels, Queue Managers, Clusters etc…

Control Commands: These commands are used to manipulate the approaches and offerings which are beneficial inside the functioning of the MQ Series. In fashionable those instructions are used for Channel listener, Channel Initiator, Trigger screen and so forth…

Q23. What Are Advantages Of The Mq?

Integration.

Asynchrony

Assured Delivery

Scalability.

Q24. Where Are The Backup Files Are Present After Creating The Queue Manager?

Windows structures: If you use Web Sphere MQ for Windows NT and Windows 2000, configuration information is saved inside the Windows Registry.

UNIX Systems:

When you install the product, the Web Sphere MQ configuration document (mqs.Ini) is created. It incorporates a listing of queue managers that is up to date each time you create or delete a queue manager. There is one mqs.Ini document consistent with node.

When you create a brand new queue manager, a brand new queue supervisor configuration report (qm.Ini) is routinely created. This includes configuration parameters for the queue supervisor.

Q25. What Is The Attribute Used To See The Message Length?

MaxMsgLength

Q26. What Is Sslpeer In Ibm Websphere Mq?

In case you connected MQ via SSL. SSLPEER is a String normally DN (Distinguished call) of MQ Client which connect with QueueManager securely using QueueManager. This is a mechanism WMQ makes use of to become aware of patron. In case of Java or JMS customer, SSLPEER is DN of patron certificate stored in its keyStore and sent to server at some stage in SSL handshake.

Q27. What Is The Command Used To Delete The Queue Manager?

Dltmqm QMName

Q28. What Is Mq Client?

A Web Sphere MQ patron is part that permits an utility walking on a gadget to trouble MQI calls to a queue manager running on another gadget. The output from the call is despatched back to the client, which passes it lower back to the utility.

Q29. Display The Attributes Of The Queue Manager Qm1?

Runmqsc QM1 Display qmgr

Q30. What Is Message Driven Process?

When messages arrive on a queue, they can robotically start an application the use of triggering. If essential, the programs may be stopped when the message (or messages) were processed.

Q31. What About Is The Default Port Number For Mq Queue Manager?

1414

Q32. How To Define A Buffer Pool For Holding Messages In Main Storage? Explain?

Buffer pool is defined by way of using DEFINE BUFFPOOL

DEFINE BUFFPOOL may be issued simplest from CSQINP1 facts set

DISPLAY USAGE TYPE(PAGESET) can be used for displaying buffer pool records

The synonym DEF BP also can be used instead of DEFINE BUFFPOOL

Example:

DEFINE BUFFPOOL

BUFFERS(one thousand)

DEFINE BUFFPOOL(buf-pool-identification)

BUFFERS(integer)

Parameter descriptions

(buf-pool-identity) Buffer pool identifier, and a obligatory access

An integer which inside the variety from 0 thru @

BUFFERS(integer)

Integer represents the range of 4096-byte buffers

Q33. Mention The No Of Characters Required For Creating Names Of The Mq Objects?

For MQ Channels it's miles 20 Characters

For Remaining items it's miles 48 characters.

Q34. What Is A Message And What Does It Contain?

A message is a string of bytes this is significant to the programs that use it. Messages are used to trfer records from one software program to any other (or among exceptional parts of the same application). The programs can be strolling on the equal platform, or on exceptional platforms.

WebSphere MQ messages have two elements:

The application statistics. The content and structure of the utility statistics is defined by the software programs that use it.

A message descriptor. The message descriptor identifies the message and includes additional manage information, consisting of the kind of message and the concern assigned to the message by using the sending software. WebSphere MQ defines the format of the message descriptor. For a complete description of the message descriptor,

Q35. What Is The Command Used For Stopping The Queue Manager?

Endmqm -w QMName : The command waits till all programs have stopped and the queue manager has ended.

Endmqm –i QMName : This kind of shutdown does now not wait for applications to disconnect from the queue supervisor.

Q36. Mention Some Rules For Using Mqsc Commands?

Each command of MQSC starts offevolved with a primary parameter, accompanied by a secondary parameter

The name or ordinary name of the item must be observed via secondary parameter

The key phrases, parentheses and values may be separated by way of unlimited variety of blanks and commas

At least one blank right away preceding each parameter is mandatory, besides on z/OS

Blanks enclosed inside a pair of quotations marks are great

Repeated parameters aren't allowed

String can include blanks, lowercase alphabets or special characters apart from duration(.), forward decrease(/), underscore(_) percentage signal(%) must be enclosed in a single quote

A blank pair of parenthesis is invalid without vast records enclosed in between

Keywords are not case sensitive

Q37. What Is Difference Between Dead Letter Queue And Backout Queue In Websphere Mq?

 As we've visible that dead letter queue is used to save messages which is gets for non existent queue. On the alternative hand backout queue are software particular queue.If MQ patron isn't capable of method message and ask for redelivery, message is redelivered to patron with incremented delivery rely. Once this deliveryCountcrossed a configured threshold message is moved to back-out queue for later processing or blunders managing. In short if MQ Series not capable of deliver message to consumer after a preconfigured try, WMQ actions message to backout queue.

Q38. What Are The Software And Hardware Requirements For Installing Mq On Windows?

MQ v 5.3 supports Windows 2000, Windows 2000XP,Windows 2000NT,

Windows 2003 SE, Windows 2003EE.

Disk Storage:

Typical garage necessities are as follows:

Server installation: 50 MB

Client installation: 15 MB

Data storage (server): 50 MB

Data garage (patron): 5 MB.

Connectivity The community protocols supported by way of WebSphere MQ for AIX, V5.3 are: 

TCP/IP

SNA LU 6.@

LU 6.2

NetBIOS 

Databases: DB2 7.1, 7.2

Oracle 8i and 9i

Sybase v12 or v 12.Five

Q39. How Can We Write The Mqsc Commands That Have Too Many Parameters?

For commands which have too many parameters to match on one line, use continuation characters to indicate that a command is sustained on the subsequent line:

A minus signal ( ) suggests that the command is to be persevered from the start of _ the subsequent line.

A plus signal (+) suggests that the command is to be endured from the first nonblank individual on the following line.
 

Q40. Is The Mqsc Attributes Are Case Sensitive?

MQSC instructions, together with their attributes, may be written in uppercase or lowercase. Object names in MQSC commands are folded to uppercase (this is, QUEUE and queue are not differentiated), except the names are enclosed inside single citation marks. If citation marks aren't used, the item is processed with a name in uppercase.

SCRIPT COMMANDS : After entering in to queue manager we can locate script commands. Script commands are identical for each queue manager.(These Commands must be utilized in CAPITAL LETTERS)

DEFINE: To outline/create MQ manager gadgets like queue, Channels, process, and listener.

ALTER: to update or alter the present items

DISPLAY: to view all of the homes of a specific item or to Display all gadgets

DELETE: to delete created gadgets

CLEAR: to clean the message from the queue

END :-to pop out of the queue manager

PING :-to check whether other facet channel / queue supervisor is prepared to accept our request.

START :- to begin the specific channel or listener

STOP :-to stop specific channel or listener

REFRESH :-used to refresh the security every time after giving or executing, set mgr or command for queue manager or object

RESET :-used to reset channel,cluster,queue supervisor

RESOLVE :-to solve the channel which is in indoubt state

SUSPEND :-to suspend a queue manager from a cluster environment

RESUME :-to cast off a queue supervisor from a cluster surroundings

Q41. What Is The Command Used For Starting The Queue Manager?

Strmqm QMName




CFG