WebSphere MQ for Applications Programmers
Course
In High Wycombe
Description
-
Type
Course
-
Location
High wycombe
-
Duration
4 Days
On successful completion of this course, attendees will be able to: establish a connection to a WebSphere MQ Queue Manager, open/close predefined and dynamic queues, pass data between WebSphere MQ programs using queues, pass Request/Reply messages between programs, use Msgid & Correlid to PUT and subsequently GET selected messages from a queue, understand the effect of. Suitable for: All those who will be writing applications using WebSphere MQ.
Facilities
Location
Start date
Start date
About this course
A conceptual understanding of WebSphere MQ functionality, as can be gained by attending the course Technical Introduction to WebSphere MQ (MQS1) or equivalent experience. Attendees should have the appropriate skills in the language and programming environment to be used for writing and deploying WebSphere MQ applications.
Reviews
Course programme
Objectives
On successful completion of this course attendees will be able to:
- establish a connection to a WebSphere MQ Queue Manager
- understand the concepts of Queues, Queue Managers and WMQ messages
- describe WMQ program design considerations and the MQI
- explain triggering, syncpoints and message grouping and segmentation
- discuss Distributed Queuing enablement
- understand and describe Clustering
- explain the role of WMQ system integrator
- open/close predefined and dynamic queues
- pass data between WebSphere MQ programs using queues
- pass Request/Reply messages between programs
- use Msgid & Correlid to PUT and subsequently GET selected messages from a queue
- understand the effect of putting and getting messages under Syncpoint control
- understand the effect of using Persistent messages.
Who Should Attend
All those who will be writing applications using WebSphere MQ.
Prerequisites
Attendees should have the appropriate skills in the language and programming environment to be used for writing and deploying WebSphere MQ applications.
ContentsBasic Messaging Concepts
Islands of information; File transfer; Client/Server model; Client/Server program structure; MQ program structure; Basic messages and queues; Shared queues; The Queue Manager; Basic message structure; Asynchronous messaging; Synchronous messaging; Program to program communications; Parallel processing; Business objects; Meshed objects; Batch considerations; MQ driving batch; MQ client.
Queue Managers Queues & Messages
Queue Managers communicate; Local queues; Alias queues; Dynamic and model queues; The message descriptor; Datagram message type; Request/Reply messages; Report messages - COA; Report messages - COD; Message priority; Message-id and correlation-id; Message retrieval by message or correlation id; Message persistence; Message persistence - logging; Logging - circular; Logging - linear; Message expiry; Message expiry usage; Message translation - encoding; Message translation - coded character set.
The MQI, Triggering, Syncpoints & Accounting
.The MQI layer; The MQI calls; Program preparation; Load module structure; MQCONN & MQCONN sample call; MQOPEN & MQOPEN sample call; MQPUT & MQPUT sample call; MQGET & MQGET sample call: MQCLOSE & MQCLOSE sample call; MQPUT1; MQDISC & MQDISC sample call; Triggering - why?; Using triggering; Triggering - how it works; Trigger message contents; Syncpoint control; MQCMIT; Syncpoints and non-resource managed objects; Recovery co-ordination without manager; MQ Recovery co-ordination of XA compliant resource manager(s); Recovery with transaction manager; Syncpoint non-MQ; Syncpoint with MQ; Compensating transactions; Accounting.
Distribution Lists, Name Lists & Message Segmentation
Distribution lists; Distribution list usage; Name lists; Message grouping and segmentation.
MQ Distributed Queuing
Remote queues; Transmission queues; Message Channel Agents; MCA configuration; MCA security exit; MCA Secure Sockets Layer (SSL); MCA other exits; Channel types; Triggering channels; Dead letter queues; The MQI client and server channel; The server channel; MQ clustering; Cluster resilience; Cluster queue handling; Queue Sharing Groups; Introducing Queue Sharing Groups.
The MQI Major Calls
Communicating with Queue Managers; Application protection; Purpose of MQCONN call; The connection handle; Default Queue Managers; The MQCONN call and CICS; MQCONN & single threaded applications; MQCONN & multi-threaded applications; MQCONN & the MQ client; Environment variables; Queue Manager grouping with the MQ client; The MQCONNX call; The MQDISC call; The MQI completion codes; MQCONN common reason codes; MQOPEN and MQCLOSE; MQOPEN & security; Queue name resolution; The MQOD object descriptor; The MQOD object descriptor for RPG; The MQC public interface for Java; The MQOD fields; Creating dynamic queues with MQOPEN; Controlling the name of dynamic queues; The open options fields; The open input options field; MQOPEN share options; Other MQOPEN options; Open options and clustering; Identity & context open options; MQOPEN sample call; MQCLOSE sample call; The MQCLOSE options.
The MQMD Message Descriptor
The MQMD layout; The MQMD layout for RPG; MQMD - report options; MQMD: message type, message expiry, feedback field, encoding field, encoding field usage, coded character set id, format field, priority, persistence, message id, correlation id, context information, context options, context userid field, context accounting field, application identity, context put information; Setting some MQMD values.
PUT Message Options
MQPMO structure; MQPMO options field; MQPMO layout; MQPMO layout for RPG; MQPMO resolved queue.s.
The MQPUT Call
MQPUT usage; MQPUT sample call.
GET Message Options
MQGMO structure; MQGMO structure for RPG; MQGMO fields; MQGMO options field; MQGMO WaitInterval field.
The MQGET Call
MQGET usage; MQGET sample call.
The MQPUT1 Call
MQPUT1 call description; MQPUT1 sample call.
MQI Facilities
Message id and correlation id; MSGID & CORRELID overview; Message & correlation id formats; Message retrieval using MSGID & CORRELID; Retrieved messages.
MQGET with WAIT
MQGET wait overview; Usage; MQGMO wait options; MQGMO set signal (z/OS); MQGMO set signal logic (z/OS); MQGMO set signal (Windows).
Request/Reply Messaging
Request/Reply overview; Request/Reply client side; Request/Reply client & server; Request/Reply timeouts.
Syncpoints
MQPUT & syncpoint control; MQGET & syncpoint control; Recovery co-ordination with manager; Recovery co-ordination without manager; MQ recovery co-ordination of XA compliant resource manager(s; Options controlling syncpoints; Mark skip backout; MQCMIT.
Triggering
Why trigger?; Trigger message generation; Processing the trigger message; Syncpoint considerations.
Minor Calls and Messaging
MQINQ and MQSET; MQINQ call format; Selectors and selector counts; MQINQ selector sample; MQINQ integer attributes; MQINQ integer attributes call sample; MQINQ character attributes; MQINQ character attributes sample; MQINQ code sample; MQSET call format; The MQSET code sample; Distribution lists; Using distribution lists; MQOPEN for distribution lists; MQOD & MQOR requirements; The MQRR response records; MQOPEN return codes; MQPUT for distribution lists; MQPMO & MQPMR relationships; MQPUT/MQPUT1 return code handling; MQCLOSE for distribution lists; Using NAMELISTs; Composite WMQ and DB2 calls - MQSEND; Composite WMQ and DB2 calls - MQRECEIVE.
WebSphere MQ for Applications Programmers