As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
-SET EMPTYREPORT=ON; -RUN ENGINE SQLDBC SET DEFAULT_CONNECTION TDProdC SQL SQLDBC CREATE VOLATILE TABLE CMPN_SEG, NO LOG as ( SELECT B.MKTG_CMPN_I , B.MKTG_SEG_I , B.SEG_SPLIT_SEQ_I , B.CMPN_ANLS_PER_C , B.CMPN_PTCP_ROLE_C , B.CS_STR_RESP_IPRS_DLVR_Q AS DLVR_Q , B.CS_PTCP_Q AS PTCP_Q , B.CS_STR_TRAN_ADJD_A AS SLS_A , B.CS_STR_STD_DEV_ADJD_A AS STD_SLS_A , B.CS_STR_TRIP_Q AS TRIP_Q , B.CS_STR_PRCH_PTCP_Q AS PRCH_Q , B.CS_STR_STD_DEV_TRIP_Q AS STD_TRIPS , B.CS_STR_UNIT_Q AS UNIT_Q , B.CS_STR_STD_DEV_UNIT_Q AS STD_UNITS , B.CS_STR_EXLV_REDM_TRIP_ADJD_A AS EXLV_REDM_SLS , B.CS_STR_EXLV_REDM_Q AS EXLV_REDM_Q , B.CS_STR_EXLV_REDM_ADJ_A AS EXLV_REDM_A , B.CS_STR_EXLV_REDM_TRIP_Q AS EXLV_REDM_TRIPS , B.CS_STR_EXLV_REDM_TRIP_UNIT_Q AS EXLV_REDM_UNITS , B.CS_STR_EXLV_REDM_PTCP_Q AS EXLV_REDM_PTCP_Q , B.CS_STR_RESP_IPRS_DLVR_Q AS IMP_Q FROM CMP_ADW.MKTG_CMPN_DIM_V as C INNER JOIN CMP_ADW.CMPN_SEG_FCT_V as B ON C.MKTG_CMPN_I = B.MKTG_CMPN_I WHERE C.CMPN_CODE_REF_I = '002971V014' AND B.CMPN_ANLS_PER_C IN ('1','2') AND B.CMPN_PTCP_ROLE_C IN ('TEST','NML') ) WITH DATA PRIMARY INDEX(MKTG_SEG_I) ON COMMIT PRESERVE ROWS ; END SQL SQLDBC COMMIT WORK END -RUN TABLE FILE SQLOUT PRINT * ON TABLE HOLD AS HOLDC1 FORMAT SAME_DB END -RUN 0 NUMBER OF RECORDS IN TABLE= 0 LINES= 0 ENGINE SQLDBC SET DEFAULT_CONNECTION TDProdC SQL SQLDBC CREATE VOLATILE TABLE SEG_PERIOD, NO LOG as ( SELECT B.MKTG_SEG_I , B.SEG_SPLIT_SEQ_I , B.CMPN_PTCP_ROLE_C , A.DLVR_Q AS PRE_DLVR_Q , B.DLVR_Q AS PRM_DLVR_Q , A.PTCP_Q AS PRE_PTCP_Q , B.PTCP_Q AS PRM_PTCP_Q , A.SLS_A AS PRE_SLS_A , B.SLS_A AS PRM_SLS_A , A.STD_SLS_A AS PRE_STD_SLS_A , B.STD_SLS_A AS PRM_STD_SLS_A , A.TRIP_Q AS PRE_TRIP_Q , B.TRIP_Q AS PRM_TRIP_Q , A.PRCH_Q AS PRE_PRCH_Q , B.PRCH_Q AS PRM_PRCH_Q , A.STD_TRIPS AS PRE_STD_TRIPS , B.STD_TRIPS AS PRM_STD_TRIPS , A.UNIT_Q AS PRE_UNIT_Q , B.UNIT_Q AS PRM_UNIT_Q , A.STD_UNITS AS PRE_STD_UNITS , B.STD_UNITS AS PRM_STD_UNITS , B.EXLV_REDM_SLS AS PRM_EXLV_REDM_SLS , B.EXLV_REDM_Q AS PRM_EXLV_REDM_Q , B.EXLV_REDM_A AS PRM_EXLV_REDM_A , B.EXLV_REDM_TRIPS AS PRM_EXLV_REDM_TRIPS , B.EXLV_REDM_UNITS AS PRM_EXLV_REDM_UNITS , B.EXLV_REDM_PTCP_Q AS PRM_EXLV_REDM_PTCP_Q , B.IMP_Q AS PRM_IMP_Q FROM CMPN_SEG as A INNER JOIN CMPN_SEG as B ON A.MKTG_SEG_I = B.MKTG_SEG_I AND A.SEG_SPLIT_SEQ_I = B.SEG_SPLIT_SEQ_I AND A.CMPN_PTCP_ROLE_C = B.CMPN_PTCP_ROLE_C WHERE A.CMPN_ANLS_PER_C = '1' AND B.CMPN_ANLS_PER_C = '2' ) WITH DATA NO PRIMARY INDEX ON COMMIT PRESERVE ROWS ; END SQL SQLDBC COMMIT WORK END -RUN TABLE FILE SQLOUT PRINT * ON TABLE HOLD AS HOLDC2 FORMAT SAME_DB END END -RUN 0 NUMBER OF RECORDS IN TABLE= 0 LINES= 0 SET XRETRIEVAL=OFF -EXIT
Need Help?This message has been edited. Last edited by: <Kathryn Henning>,
7.6.10 Windows HTML, PDF, Excel etc DevStudio/Webfocus/Focus ETL 7.6.10 SQL Server 2000 / 2008 DB2 ,Oracle
Posts: 5 | Location: Dallas,TX | Registered: July 09, 2010