shared-queues group, the four IVTNO (nonserial) transactions queued were
processed and the command
/DISPLAY QCNT TRANSACTION MSGAGE 0 showed no
messages in the shared-queue.
The previous scenario is a description of a working-as-designed situation where
we tried to change from nonserial to serial a transaction that had a global queue
count greater then zero.
We reran the tests with only serial transactions on the shared-queue:
/DISPLAY QCNT TRANSACTION MSGAGE 0
QUEUENAME QCNT-TOTAL QCNT-AGED TSTMP-OLD TSTMP-NEW
IVTNO IMA2 1 1 98212/110444 98212/110444
IVTNO IMA1 1 1 98212/110458 98212/110458
*98212/111819*
These transactions were correctly forced to process on the IMS where the
transactions were entered:
IVTNO entered from IMA1 processed on IMA1
IVTNO entered from IMA2 processed on IMA2
11.3 EMH Structure Testing
This test was cursory as Telstra does not use any EMH transactions, but the
Fast-Path control macro (FPCTRL) is present in their generation deck for DEDB
support. The test was conducted to show the use of EMH structure. The IMS
EMH IVP transaction (IVTFD) was used for this test.
The test began with starting the IFP region in IMA1. Initial statistics are shown
below.
/DISPLAY Q BALGRP
BALGRP NO.RGNS MSG CT ENQ COUNT DEQ COUNT
*NO QUEUES*
*98212/081921*
/DISPLAY QCNT BALGRP MSGAGE 0
QUEUENAME QCNT-TOTAL QCNT-AGED TSTMP-OLD TSTMP-NEW
*98212/081930*
Chapter 11. Miscellaneous Shared-Queue Tests 103
/CQQUERY STATISTICS STRUCTURE ALL
STRUCTURE NAME LEALLOC LEINUSE ELMALLOC ELMINUSE LE/EL
IMA0MSGQ 126 12 127 12 0001/0001
IMA0MSGQOV N/A N/A N/A N/A N/A
IMA0EMHQ 126 4 127 4 0001/0001
IMA0EMHQOV N/A N/A N/A N/A N/A
*98212/081939*
The transaction IVTFD TADD was entered, without any reply to the WTOR, as
shown below:
/DISPLAY Q BALGRP
BALGRP NO.RGNS MSG CT ENQ COUNT DEQ COUNT
DFSIVP4 1 0 1 1
*98212/082315*
/DISPLAY QCNT BALGRP MSGAGE 0
QUEUENAME QCNT-TOTAL QCNT-AGED TSTMP-OLD TSTMP-NEW
*98212/082348*
/CQQUERY STATISTICS STRUCTURE ALL
STRUCTURE NAME LEALLOC LEINUSE ELMALLOC ELMINUSE LE/EL
IMA0MSGQ 126 12 127 12 0001/0001
IMA0MSGQOV N/A N/A N/A N/A N/A
IMA0EMHQ 126 4 127 4 0001/0001
IMA0EMHQOV N/A N/A N/A N/A N/A
*98212/082406*
Log on to IMA2 and enter one IVTFD display transaction. The displays are
shown below:
/DISPLAY Q BALGRP
BALGRP NO.RGNS MSG CT ENQ COUNT DEQ COUNT
*NO QUEUES*
*98212/082601*
/DISPLAY QCNT BALGRP MSGAGE 0
QUEUENAME QCNT-TOTAL QCNT-AGED TSTMP-OLD TSTMP-NEW
DFSIVP4 1 1 98212/082510 98212/082510
*98212/082614*
104 IMS/ESA Shared Queues Planning Guide
/CQQUERY STATISTICS STRUCTURE ALL
STRUCTURE NAME LEALLOC LEINUSE ELMALLOC ELMINUSE LE/EL
IMA0MSGQ 126 12 127 12 0001/0001
IMA0MSGQOV N/A N/A N/A N/A N/A
IMA0EMHQ 126 5 127 5 0001/0001
IMA0EMHQOV N/A N/A N/A N/A N/A
*98212/082623*
The display showed that the IVTFD transaction entered from IMA2 is queued to
the EMH structure because there is no local IFP region and the remote IFP
region is not available.
A further five IVTFD transactions were entered from IMA1 where the IFP region is
running but not available (it is still processing the initial TADD transaction.) The
resulting display is shown below:
/DISPLAY Q BALGRP
BALGRP NO.RGNS MSG CT ENQ COUNT DEQ COUNT
DFSIVP4 1 5 6 1
*98212/083049*
/DISPLAY QCNT BALGRP MSGAGE 0
QUEUENAME QCNT-TOTAL QCNT-AGED TSTMP-OLD TSTMP-NEW
DFSIVP4 1 1 98212/082510 98212/08 2510
*98212/083104*
/CQQUERY STATISTICS STRUCTURE ALL
STRUCTURE NAME LEALLOC LEINUSE ELMALLOC ELMINUSE LE/EL
IMA0MSGQ 126 12 127 12 0001/0001
IMA0MSGQOV N/A N/A N/A N/A N/A
IMA0EMHQ 126 5 127 5 0001/0001
IMA0EMHQOV N/A N/A N/A N/A N/A
*98212/083119*
The five transactions entered from IMA1 do not show up in the structure display.
This is because no more than five transactions are queued to this balancing
group.
One more IVTFD transaction was then entered from IMA1.
The number of IFP regions servicing this balancing group divided by 4 (that is
1/4) is less than the number of transactions queued (6), so there are more
transactions to be processed than can sensibly be processed locally. They are
passed to CQS and put on the EMHQ structure, as shown below:
Chapter 11. Miscellaneous Shared-Queue Tests 105
/DISPLAY Q BALGRP
BALGRP NO.RGNS MSG CT ENQ COUNT DEQ COUNT
DFSIVP4 1 5 6 1
*98212/083242*
/DISPLAY QCNT BALGRP MSGAGE 0
QUEUENAME QCNT-TOTAL QCNT-AGED TSTMP-OLD TSTMP-NEW
DFSIVP4 2 2 98212/082510 98212/083230
*98212/083253*
/CQQUERY STATISTICS STRUCTURE ALL
STRUCTURE NAME LEALLOC LEINUSE ELMALLOC ELMINUSE LE/EL
IMA0MSGQ 126 12 127 12 0001/0001
IMA0MSGQOV N/A N/A N/A N/A N/A
IMA0EMHQ 126 6 127 6 0001/0001
IMA0EMHQOV N/A N/A N/A N/A N/A
*98212/083303*
An IFP was then started on IMA2:
/START REGION IMA2FPI1
DFS058I 08:35:45 START COMMAND IN PROGRESS
All transactions in the structure were processed, as shown below:
/DISPLAY Q BALGRP
BALGRP NO.RGNS MSG CT ENQ COUNT DEQ COUNT
DFSIVP4 1 0 3 3
*98212/083703*
/DISPLAY QCNT BALGRP MSGAGE 0
QUEUENAME QCNT-TOTAL QCNT-AGED TSTMP-OLD TSTMP-NEW
*98212/083728*
/CQQUERY STATISTICS STRUCTURE ALL
STRUCTURE NAME LEALLOC LEINUSE ELMALLOC ELMINUSE LE/EL
IMA0MSGQ 126 12 127 12 0001/0001
IMA0MSGQOV N/A N/A N/A N/A N/A
IMA0EMHQ 126 4 127 4 0001/0001
IMA0EMHQOV N/A N/A N/A N/A N/A
*98212/083738*
The five transactions entered from IMA1 on the local BALGRP were not
processed because the IFP on IMA1 was still processing the IVTFD TADD
transaction; it was waiting for the WTOR.
106 IMS/ESA Shared Queues Planning Guide

Get IMS/ESA Shared Queues: A Planning Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.