SM MQ CICS Integration
SM MQ CICS Integration
SM MQ CICS Integration
Scott Meridew
Director of Professional Services, TxMQ
Agenda
WebSphere MQ Introduction and Overview
Typical Environment
Business Requirements: E - Business
Diverse Environment
Diverse Data
DB2 VSAM IMS Lotus Notes Oracle/SYBASE SAP Multiple Network Types
Role of Middleware
Communication Networking Transparency
Time Independence
Types of Messaging
Fax
Distribute
Retrieve E - Mail
Store
Queue
Application
Application
WebSphere MQ Product
Common API
WebSphere MQ Benefits
Interoperability
WebSphere MQ Structure
WebSphere MQ Components
APPLICATION
Queues
Queue Manager
Logging
NETWORK
OS Interface
Message Structure
Header
Message Attributes Message Format A Series of Message Attributes Understood and augmented by the Queue Manager Unique Message Id Correlation Id Routing information Reply routing information Message priority Message codepage/ encoding Message format .... etc.
User Data
Free format
Any sequence of bytes Private to the sending and receiving programs Not meaningful to the Queue Manager
WebSphere MQ Objects
Queue Manager
Most platforms except OS/400 can have multiple Queue Managers Queues
Process
Channels
Local and Remote Objects Cluster Objects
Distributed Queuing
Sales Application Inventory Application
MQI
MQI
QMGR ABC
Remote Queue
LOG
LOG
Channel
Transmission Queue
WebSphere MQ Client
Message Channel Agent
Channel
Client Channel SYNCHRONOUS
MQ Client
Q Manager
Local Queue
The MQI
MQI Languages
COBOL
C
PL/I C++ (wrapper classes) Java (wrapper classes) Visual Basic (also COM wrapper classes) TAL (Tandem) Assembler (MVS) RPG (AS400) Smalltalk (wrapper classes)
Interfaces
TSO/ISPF REXX CICS IMS TM Java, JMS Web Lotus Notes
SAP
Visual Age Generator NON-IBM - INTERSPACE, MERCATOR, CANDLE, NEON
Send-and-Depend
Application a
Application b
Queue
Application a
Application b
Reply Queue
Application a
Application b
Reply Queue
Application c
Application b
Subscription Queue
Application a
Pub/Sub Broker
Publication Queue
Application c
Subscription Queue
Application d
Subscription Queue
SYNCPOINT
LOGICAL UNIT OF WORK ASYNCHRONOUS MODEL DB WRITE PUT SYNCPOINT
UOW 3
Q
UOW 2 UNIT OF WORK 1
DB
Queue A
Queue B
Queue B
Queue A
Queue A
MQPUT
CF
DB
APPL MQSeries LQ1 MOVER MVS1
DB DB2 SQ1
APPL MQSeries LQ1 MOVER MVS2
MQSeries AIX
MQSeries Windows
Transactional control
Local unit of work
MQPUT/ MQGET (MQ*_ SYNCPOINT) updates only Coordinated by MQCMIT/ MQBACK Global unit of work (MQ) (Version 5 queue managers only)
MQPUT/ MQGET (MQ*_ SYNCPOINT) updates Database updates Coordinated by MQBEGIN/ MQCMIT/ MQBACK
Transactional control
Global unit of work (external coordination) MQPUT/ MQGET (MQ*_ SYNCPOINT) updates Other resource updates Coordinated by external transaction coordinator (e. g. CICS, Encina ...)
Triggering
Channel Exits
security
M C A
message
message
retry
Transmission Queue
Security Exit: For channel authentication Send Exit: For Data compression Receive Exit: For Data decompression Message Exit: For encryption/decryption Message Retry Exit: For put failures Vendor products available for encryption/decryption, compression and compaction
CKQC
From the command line:
Parameters used for the connection Statistics totals for current connection Statistics produced by the adapter
Start/Stop CKTI
Via control panel: INITQ name must be provided Via command line:
Additional Resources
System parameters
WebSphere MQ for z/OS System Administration Guide WebSphere MQ for z/OS Messages and Codes WebSphere MQ Application programming Guide CICS Internal and External Interfaces Guide