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.
I have a parameterized report and I want to use the selected parms in the header, so I've got some set commands to make the header pretty but sometimes I get unprintable characters in the parms which messes everything up. I've tried using POSITION and PATTERN to figure out where the characters are so I could maybe substring them out, but I'm getting errors. Here is the code and the ECHO ALL mess. I've checked and rechecked the code; there are no unbalanced parenthesis in the code. TABLE FILE pol_active SUM POL_ACTIVE.COUNTER AS 'Cnt' COMPUTE c_Percent_of_Total/D12.2=POL_ACTIVE.COUNTER/TOT.D_Active * 100 ; AS 'Tot%' BY d_Ded_Category AS 'Category' BY D_DED_CAT_TEXT AS 'Deductible' ACROSS POL_ACTIVE.ME_M1 AS ' ' WHERE POL_ACTIVE.POLICY_TYPE EQ 'CMP'; WHERE D_Region EQ &D_Region.(OR(,,,, |FORMAT=A255V)).D_Region:. AND POL_ACTIVE.POLICY_STATE EQ &POLICY_STATE.(OR(FIND POL_ACTIVE.POLICY_STATE IN POL_ACTIVE |FORMAT=A2)).State:. AND POL_ACTIVE.AGENCY_NAME EQ &AGENCY_NAME.(OR(FIND POL_ACTIVE.AGENCY_NAME IN POL_ACTIVE |FORMAT=A100)).Agency Name:. AND POL_ACTIVE.RISK_TYPE_DESC EQ &RISK_TYPE_DESC.(OR(FIND POL_ACTIVE.RISK_TYPE_DESC IN POL_ACTIVE |FORMAT=A50)).Risk Type Desc:. AND D_TIV_Group EQ &D_TIV_Group.(OR(,,, |FORMAT=A255V)).TIV Group:.;
-SET &SRegion= ' '; -SET &SRegion= TRIM('B', (STRIP(47, 'CR', '''', 'A47V')), 47, ' ', 1, 'A47V'); -SET &Region= IF CRgion-?ê? EQ 'CR OR ER OR SR OR WR OR Large Account' THEN 'All Regions' ELSE CRgion-?ê? ; -SET &State = IF _FOC_NULL EQ _FOC_NULL THEN '' ELSE ' State(s): ' | _FOC_NULL; -SET &Agency = IF _FOC_NULL EQ _FOC_NULL THEN '' ELSE ' Agency: ' | _FOC_NULL; -SET &Risk = IF _FOC_NULL EQ _FOC_NULL THEN '' ELSE ' Risk: ' | _FOC_NULL; -SET &STIV= TRIM('T', (STRIP(65, 'A. 0-4 TIV', '''', 'A55V')), 50, ' ', 1, 'A46V'); -SET &TIV = IF A. 0-4 TIV0?ê? EQ '0-4 TIV OR 4-10 TIV OR 10-20 TIV OR 20plus TIV' THEN 'All TIV Groups' ELSE 'A. 0-4 TIV0?ê?'; -SET &Header3= CRgion-?ê? | | | ; -SET &STIVp= PATTERN(100, A. 0-4 TIV0?ê?, 'A100V'); -SET &TIV3 = POSITION('X' 'A. 9-9 AAAXXXXXXXXX9aXXXXXXaaXXXXXXXXXXXXXXXXX '); 0 ERROR AT OR NEAR LINE 14 IN PROCEDURE ADHOCRQ FOCEXEC * (FOC262) UNBALANCED PARENTHESES
This is making me crazy. My cubemates and I appreciate any and all help!
--DebThis message has been edited. Last edited by: DWaybright,
WebFOCUS 8.2.03 (production), 8.2.06 (testing) AppStudio, InfoAssist Windows, All Outputs
Posts: 183 | Location: Indiana | Registered: December 05, 2017
Chuck, I thought of that. The TIV groups used to start with "A)" instead of "A.". I have two reports that use this -- today one of them is working and the other isn't. It almost seems like there is a buffer area that isn't being cleared. Is there a command that clears buffer areas that would be used by the dynamic variables?
Thanks!
WebFOCUS 8.2.03 (production), 8.2.06 (testing) AppStudio, InfoAssist Windows, All Outputs
Posts: 183 | Location: Indiana | Registered: December 05, 2017