Hi Steve,
The decision to keep Onlines (MQ,CICS,DB2,Websphere,etc) within the primary STCTBL where all of the core resources reside is really up to you and how it fits into your environment specifically with how the resources are maintained (by someone that supports/maintains all of the resources, by groups or teams - CICS team, DB2 team,etc). Internally, I do not believe there are any pros/cons meaning that the SSM component is not more efficient one way or the other (single table versus multiple). I recall back in my CA days doing some SSM benchmarking with both types of setups simulating hundreds/thousands of resources and didnt see any real performance differences.
We do segregate onlines into tables at current shop - STCTBL for core resources, CICSTBL, DB2TBL,etc. Primary reason is that we have additional columns added needed to perform different types of decisions/automation based on the online resource. For example within the CICSTBL we have ENV and APPLICATIONS columns where we specify running environments (Production, Testing,Integration,etc) and list corresponding application types for different CICS regions. So the pro here is that these extra columns are only in the CICSTBL and not the others versus having one STCTBL with these extra columns added, but NULL or N/A for all the other resources. The con with multiple tables is that you will have to update any rules/pgms that manipulate the STCTBL to directly update the corresponding table, or invoke an external subroutine (like the SSMQUERY sample pgm) that determines what table a resource resides and then substitute the table name within the SQL insert/update/select statement. For example in your SSMMQ rule that sets the CS to UP/STOPPING for MQ regions, you can hardcode MQTBL name in the SQL update, but if using SSMSTART/SSMSTOP/SSMCNTL to manage resources , you'll have to add logic to invoke SSMQUERY to see what table the specific resources reside so that the correct table can be updated.
Good luck!
Dave
Original Message:
Sent: Jul 05, 2022 08:46 AM
From: Steve Ives
Subject: MQ Channels and queues in SSM?
I did do a search but didn't find an answer to this:
Is anyone using SSM to manage their MQ resources (Channels and queues), probably via a separate SSM table and if so, would you recommend it and whwat are the advantages and disadvantages?
Thanks,
Steve