MainframeSupports
tip week 3/2012:

Back in week 48/2009 I wrote about CEMT I TSQ not being able to show shared TS queues. Recently I discovered it is indeed possible. It has very likely been possible since the invention of shared TS queues. The odd thing is that the information does not seem to be available if you base your assumptions on the CEMT interface alone. And that is what I did in the above mentioned tip.

To show shared TS queues in CEMT I TSQ you specify the parameter POOL on the CEMT command. POOL must be specified using a valid value or else it will not work. To find a valid value please start by using CEMT I TSM:

i tsm(MY*)
STATUS:  RESULTS
 Tsm(MYMODEL  ) Pre(MYSHRTSQ        ) Mai
    Poo(MYPOOL  )

The above example assumes that a TS model starting with MY is defined. The displayed TS model tells you that TS queues starting with the name MYSHRTSQ belongs to the pool called MYPOOL. This is the information you need to have in order to execute a valid CEMT I TSQ for a shared TS queue:

i tsq(*) pool(MYPOOL)
STATUS:  RESULTS - OVERTYPE TO MODIFY
 Tsq(MYSHRTSQ0001    ) Num(00003) Len(0000001216) Mai
    Tra(MYTR) Max(00576) Min(00064) Las( 00005996 )

This example shows you that only one TS queue exists in MYPOOL, but it could easily have been many more, and they would not necessarily all have MYSHRTSQ as name prefix. This is due to the fact that many TS models may use the same POOL. It is fairly easy to execute a CEMT I TSQ(*) POOL(*) to show all shared TS queues, but the output from this command will not tell you anything about which POOL each TS queue belongs to, or which prefixes that will turn your TS queue into a shared TS queue. But it is indeed nice to know that shared TS queues are available using CEMT.

Previous tip in english        Forrige danske tip        Tip list