SELECT 0 , CIT5.LM_CI_ID , M314LNG5.LANGUAGE_CD , M314LNG5.MESSAGE_TEXT , ' ' , CITLNG5.LM_CS_LONG_NM , CITLNG5.LM_CS_DESCR FROM PS_LM_CI_TBL CIT5 LEFT OUTER JOIN PSMSGCATLANG M314LNG5 ON M314LNG5.MESSAGE_SET_NBR = 18088 AND M314LNG5.MESSAGE_NBR = 314 , PS_LM_CI_LANG CITLNG5 WHERE %Sql(LM_ELIG_NOT_APPL_SQL,CIT5) AND CIT5.LM_CI_ID = CITLNG5.LM_CI_ID AND CIT5.EFFDT = CITLNG5.EFFDT AND CITLNG5.LANGUAGE_CD = M314LNG5.LANGUAGE_CD UNION SELECT 0 , CIT5A.LM_CI_ID , M314LNG5A.LANGUAGE_CD , M314LNG5A.MESSAGE_TEXT , ' ' , CIT5A.LM_CS_LONG_NM , CIT5A.LM_CS_DESCR FROM PS_LM_CI_TBL CIT5A LEFT OUTER JOIN PSMSGCATLANG M314LNG5A ON M314LNG5A.MESSAGE_SET_NBR = 18088 AND M314LNG5A.MESSAGE_NBR = 314 WHERE %Sql(LM_ELIG_NOT_APPL_SQL,CIT5A) AND NOT EXISTS ( SELECT 1 FROM PS_LM_CI_LANG CITLNG5A WHERE CIT5A.LM_CI_ID = CITLNG5A.LM_CI_ID AND CIT5A.EFFDT = CITLNG5A.EFFDT AND CITLNG5A.LANGUAGE_CD = M314LNG5A.LANGUAGE_CD) UNION SELECT 0 , CITLNG5B.LM_CI_ID , CITLNG5B.LANGUAGE_CD , M3145B.MESSAGE_TEXT , ' ' , CITLNG5B.LM_CS_LONG_NM , CITLNG5B.LM_CS_DESCR FROM PS_LM_CI_TBL CIT5B LEFT OUTER JOIN PSMSGCATDEFN M3145B ON M3145B.MESSAGE_SET_NBR = 18088 AND M3145B.MESSAGE_NBR = 314 , PS_LM_CI_LANG CITLNG5B WHERE %Sql(LM_ELIG_NOT_APPL_SQL,CIT5B) AND CIT5B.LM_CI_ID = CITLNG5B.LM_CI_ID AND CIT5B.EFFDT = CITLNG5B.EFFDT AND NOT EXISTS ( SELECT 1 FROM PSMSGCATLANG M314LNG5B WHERE M314LNG5B.MESSAGE_SET_NBR = 18088 AND M314LNG5B.MESSAGE_NBR = 314 AND M314LNG5B.LANGUAGE_CD = CITLNG5B.LANGUAGE_CD)
|