Home
Queue-sharing group definitions
Producing the following object definitions for one member of the queue-sharing group makes them available to all the other members.
Queue managers QM4 and QM5 are members of the queue sharing group. The definitions produced for QM4 are also available for QM5.
It is assumed that the coupling facility list structure is called 'APPLICATION1'. If is not called 'APPLICATION1', use your own coupling facility list structure name for the example.
The shared object definitions are stored in DB2 and their associated messages are stored within the Coupling Facility.
DEFINE QLOCAL(PAYROLL) QSGDISP(SHARED) REPLACE PUT(ENABLED) GET(ENABLED) + CFSTRUCT(APPLICATION1) + DESCR('Shared queue for payroll details') DEFINE QLOCAL(QM3) QSGDISP(SHARED) REPLACE USAGE(XMITQ) PUT(ENABLED) + CFSTRUCT(APPLICATION1) + DESCR('Transmission queue to QM3') TRIGGER TRIGTYPE(FIRST) + TRIGDATA(QSG1.TO.QM3) GET(ENABLED) INITQ(SYSTEM.CHANNEL.INITQ)
Parent topic:
What this example shows
ic15790_
Home