Professional Documents
Culture Documents
Chapter 15: Websphere MQ: Introduction To Z/Os Basics
Chapter 15: Websphere MQ: Introduction To Z/Os Basics
Chapter 15 WebSphere MQ
Chapter objectives
Be able to:
Explain why messaging and queuing is used Describe the asynchronous flow of messages Explain the function of a queue manager List three zSeries-related adapters
Chapter 15 WebSphere MQ
dead-letter queue
QM remote queue syncpoint
Chapter 15 WebSphere MQ
MQI
1 eue Qu 2 eue Qu
MQI
MQI
Chapter 15 WebSphere MQ
MQI
1 eue u Q 2 eue Qu
MQI
MQI
A C
Chapter 15 WebSphere MQ
Styles of Communication
Conversational
Program A
Program B
Program A
Program Program A A
Program A
Messaging
Program B
Program C
Chapter 15 WebSphere MQ
Messages
Types of messages:
Datagram Request Reply Report
Chapter 15 WebSphere MQ
Queue Manager
Program DB2 Data
Program
Chapter 15 WebSphere MQ
Chapter 15 WebSphere MQ
Message layout
10
Chapter 15 WebSphere MQ
Queue types
System 1 System 2
Program A
Program B
Program C
MQPUT Q2
MQPUT Q1
MQGET Q1
MQGET Q2
MQI
Queue manager
Queue manager
QX
Q1 Network - MCA
Q2 DLQ
11
Chapter 15 WebSphere MQ
Channels
Program 1 get put Program 2 get put
MQI
Local Q2 Remote Q1 Local Q1
MQI
Remote Q2
QMA
XmitQ QMB
QMB
XmitQ QMA
Network
12
Chapter 15 WebSphere MQ
Security
Local Queue Manager
MCA
MCA
MQMD
Application Data
USERID Context
Database
13
Chapter 15 WebSphere MQ
Data Integrity
Synchronous model Write Send 2-phasa commit Unit of work
DB
DB
Syncpoint
DB
Write
Asynchronous model
q
Unit of work 1 Put Syncpoint
q DB
Unit of work 2
14
Chapter 15 WebSphere MQ
Flight
Flight
MQPUT
15
Chapter 15 WebSphere MQ
Interfacing to WebSphere MQ
MQ is available on many platforms
On z/OS it has interfacing to:
CICS
IMS
Batch or TSO
16
Chapter 15 WebSphere MQ
MQ functions
Common application programming interface (MQI) Assured delivery: messages do not get lost and they arrive only once
17
Chapter 15 WebSphere MQ
Summary
Messaging and queuing enables communication between applications on different platforms. WebSphere MQ is an example of software that manages messaging and queuing in the mainframe and other environments. With messaging, programs communicate by through messages, rather than by calling each other directly. With queuing, messages are retained on queues in storage, so that programs can run independently of each other (asynchronously).
18