SELECT DISTINCT A.INTFC_TYPE , B.XLATLONGNAME FROM PS_INTFC_PHY_A A , %Table(XLATTABLE_VW) B WHERE A.LOAD_STATUS NOT IN ('CON' , 'UNI') AND A.INTFC_TYPE <> ' ' AND B.FIELDNAME = 'INTFC_TYPE' AND A.INTFC_TYPE = %Substring(B.FIELDVALUE, 1, 3) AND %EffdtCheck(XLATTABLE_VW C, B, %CurrentDateIn) AND B.EFF_STATUS = 'A' UNION SELECT DISTINCT A.INTFC_TYPE , B.XLATLONGNAME FROM PS_INTFC_FIN A , %Table(XLATTABLE_VW) B WHERE A.LOAD_STATUS NOT IN ('CON' , 'UNI') AND A.INTFC_TYPE <> ' ' AND B.FIELDNAME = 'INTFC_TYPE' AND A.INTFC_TYPE = %Substring(B.FIELDVALUE, 1, 3) AND %EffdtCheck(XLATTABLE_VW C, B, %CurrentDateIn) AND B.EFF_STATUS = 'A'
|