SELECT A.MSGNODENAME , A.LOCALDEFAULTFLG , A.TOOLSREL , C.PTIBCIPHERDATA FROM PSMSGNODEDEFN A , PSTRUSTNODES B , PSIBCIPHERTOKEN C WHERE A.MSGNODENAME = B.MSGNODENAME AND A.MSGNODENAME = C.MSGNODENAME AND A.active_node ='1' AND A.AUTHOPTN IN ('C','P') AND A.LOCALDEFAULTFLG = 'N' AND C.PTIBCIPHERTYPE IN ('C') UNION ALL SELECT D.MSGNODENAME , D.LOCALDEFAULTFLG , E.TOOLSREL , F.PTIBCIPHERDATA FROM PSMSGNODEDEFN D , PSSTATUS E , PSIBCIPHERTOKEN F WHERE D.LOCALDEFAULTFLG = 'Y' AND D.MSGNODENAME = F.MSGNODENAME AND D.active_node ='1' AND D.AUTHOPTN IN ('C','P')
|