DB2 for zOS 流用可能なPLANの抽出。
SELECT COUNT(NAME),PLNAME FROM SYSIBM.SYSDBRM WHERE NAME IN ('moduleA','moduleB','moduleC') GROUP BY PLNAME HAVING COUNT(NAME) = 3 ORDER BY PLNAME