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.
This is the error whilst attmpting to run a drill down report. The &AL is the value of one of the parameters passed to the drill report. Webfocus 5.2. Does anyone have an idea what is causing this?
This is just a hunch, but you cannot set a variable equal to a field format..for example in a define, you can't say
NEWFIELD/A9 = SUBSTR(9,INFIELD,1,9,9,&FMT);
In that case the variable &FMT is supposed to be a field format and it is not allowed to be a variable.
My hunch in your case is because you are using two letters that can be a format field (A=alpha and L is for leading zeros) that it is possible you are having troubles because it thinks that amper variable you have passed is a field format instead of a text or numeric field. Why don't you try renaming the variable something else and use three different letters and see if it will work
Here is the code-: --------------------------------------- SET TRACEOFF = ALL; SET TRACEON = SQLAGGR//CLIENT; SET TRACEON = STMTRACE//CLIENT; SET TRACEON = STMTRACE/2/CLIENT; SET TRACEUSER = ON;
SUM PBR_PAYMENT_CNT AS 'Policy Count' PBR_PAYMENT_AMT AS 'Total Premium' COMPUTE buffer1/D7.2 = SUM.PBR_PAYMENT_CNT; Distribution/D7.1 = (PBR_PAYMENT_CNT/buffer1) * 100.0; AS 'Variance from, due date' -IF '&PAYGRP' EQ '' OR '&PAYLSTGRP' EQ 'false' THEN GOTO SKP01
PCT.PERCENT/F7.1 WITHIN 'LASTGRP' AS '% Payment,Method' -SKP01 -IF &GRP1 NE 'PayMethod' OR &LASTGRP NE 'PayMethodOnly' -THEN GOTO SKP02 PCT.PERCENT/F7.1 AS '% Pay Method' -SKP02
BY &GRP1 ON &GRP1 SUMMARIZE MULTILINES AS &GRP1TOT -IF &GRP2 EQ '' GOTO XXX01 BY &GRP2 ON &GRP2 SUMMARIZE MULTILINES AS &GRP2TOT -XXX01 -IF &GRP3 EQ '' GOTO XXX02 BY &GRP3 ON &GRP3 SUMMARIZE MULTILINES AS &GRP3TOT -XXX02 -IF &GRP4 EQ '' GOTO XXX03 BY &GRP4 ON &GRP4 SUMMARIZE MULTILINES AS &GRP4TOT -XXX03
-IF STARTDATE EQ &ENDDATE THEN GOTO XXX04
WHERE PBR_PAYMENT_DT GE STARTDATE AND PBR_PAYMENT_DT LE &ENDDATE -GOTO XXX05;
-XXX04 WHERE PBR_PAYMENT_DT EQ STARTDATE; -XXX05 -IF 'STATE' EQ 'ALL' THEN GOTO SQL2 WHERE PBR_STATE_CD IN ('X', '&STATE1') -IF 'STATE2' EQ '' THEN GOTO SQL2 OR PBR_STATE_CD IN ('X', '&STATE2') -IF 'STATE3' EQ '' THEN GOTO SQL2 OR PBR_STATE_CD IN ('X', '&STATE3') -IF 'STATE4' EQ '' THEN GOTO SQL2 OR PBR_STATE_CD IN ('X', '&STATE4') -SQL2 -IF STATUS EQ 'ALL' THEN GOTO SQL5 WHERE PBR_STS_AT_PAY_CD IN ('X', '&STATUS') -SQL5 -IF PAYONE EQ 'ALL' THEN GOTO SQL6 WHERE PBR_POST_SUB_CD IN ('X', '&PAYONE')
-IF PAYTWO EQ '' THEN GOTO SQL6 OR PBR_POST_SUB_CD IN ('X', '&PAYTWO') -IF PAYTHREE EQ '' THEN GOTO SQL6 OR PBR_POST_SUB_CD IN ('X', '&PAYTHREE') -SQL6 -IF TENURETYPE EQ 'ALL' THEN GOTO SQL8 WHERE PBR_TENURE_RG_CD IN ('X', '&TENURETYPE') -SQL8 -IF AMTPAID EQ 'ALL' THEN GOTO SQL12 WHERE PBR_AMT_VAR_RG_CD IN ('X', '&AMTPAID')
-NODATAA TABLE FILE PAYMTBRD HEADING CENTER "1 There is no data based on the selections made: 2" " PLEASE TRY ANOTHER SELECTION."
WHERE RECORDLIMIT EQ 1 ON TABLE SET PAGE-NUM OFF ON TABLE SET EMPTYREPORT ON ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF, SIZE=10, JUSTIFY=CENTER, SQUEEZE=OFF, $ TYPE=HEADING, GRID=OFF, SIZE=10, COLOR=NAVY, STYLE=BOLD, JUSTIFY=CENTER, $ ENDSTYLE END -EXIT
Sully's message was originally sent as a moderator alert, i.e., "Report This Post". The "Report This Post" feature is only for reporting potentially objectionable content. Alerts sent for any other reason will be posted to the board.
I've seen this error when you try to drill down on a field that has single quotes in it or when you try to pass a value to the drill down with single quotes in it.
According to the FOCUS manual all -SET commands must be terminated with a semi-colon. You also have what appears to be an extra double quote in the heading line of your report.