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.
Hi, I am getting a message that says bypaneling has been disabled even though the SET command at the beginning of the code sets the BYPANEL to be ON. What could be causing this problem? I am attempting to run this code in DEV first before I make changes. It is using a Essbase cube for data. Here is the code echoed in the output as well as the error shown.
SET BYPANEL=ON SET NODATA = ' ' APP HOLD wtes -DEFAULT &GEN2LOCMEM ='REGN.60' -DEFAULT &GEN2LOCCAP ='Northwestern' -DEFAULT &G5TIME = 'Y2005.W23' -DEFAULT &LICENSECLASS = 'G1' -DEFAULT &WFFMT = HTML -SET &RUN_DATE = May 8, 2009 ; -SET &RUN_TIME = EDIT(HHMMSS('A8'),'99$:99$:99'); -*-SET &ECHO=ALL; -* ------------------------------------------------------------------------------ -* interm hold file DISTLIST for districts - gen2_location is not working - BEGIN -* ------------------------------------------------------------------------------ TABLE FILE WAITTIME SUM LOCATION_MEMBER NOPRINT BY LOCATION_MEMBER WHERE (LOCATION_PARENT EQ 'REGN.50'); ON TABLE NOTOTAL ON TABLE SET HOLDLIST PRINTONLY ON TABLE HOLD AS DISTLIST END -RUN 0 ERROR AT OR NEAR LINE 23 IN PROCEDURE mwtckar2FOCEXEC * (FOC778) WARNING. BYPANELING HAS BEEN DISABLED 0 NUMBER OF RECORDS IN TABLE= 3 LINES= 3 -* ------------------------------------------------------------------------------ -* interm hold file DISTLIST for districts - gen2_location is not working - END -* ------------------------------------------------------------------------------ DEFINE FILE WAITTIME DEF_TIMECAP/A30=SUBSTR(50, TIME_CAPTION, 1,21,21,DEF_TIMECAP); END TABLE FILE WAITTIME -*COLUMNS Sun-05:00 AND Sun-10:00 AND Sun-13:00 AND Sun-15:30 AND Sun-23:45 AND Mon-05:00 AND Mon-10:00 AND Mon-13:00 AND Mon-15:30 AND Mon-23:45 AND Tue-05:00 AND Tue-10:00 AND Tue-13:00 AND Tue-15:30 AND Tue-23:45 AND Wed-05:00 AND Wed-10:00 AND Wed-13:00 AND Wed-15:30 AND Wed-23:45 AND Thu-05:00 AND Thu-10:00 AND Thu-13:00 AND Thu-15:30 AND Thu-23:45 AND Fri-05:00 AND Fri-10:00 AND Fri-13:00 AND Fri-15:30 AND Fri-23:45 AND Sat-05:00 AND Sat-10:00 AND Sat-13:00 AND Sat-15:30 AND Sat-23:45 -* ------------------------------------------------------------------------------ -* Use LOCATION_PARENT IN FILE DISTLIST in the following WHERE statement -* to get the District List in DISTLIST file -* ------------------------------------------------------------------------------ SUM MINWT AS ' ' SCANLOAD_MEMBER NOPRINT AS ' ' BY LOCATION_CAPTION AS ' ' -*BY -* LOCATION_MEMBER NOPRINT AS ' ' ACROSS SCANLOAD_CAPTION AS ' ' COLUMNS Sun-05:00 AND Sun-10:00 AND Sun-13:00 AND Sun-15:30 AND Sun-23:45 AND Mon-05:00 AND Mon-10:00 AND Mon-13:00 AND Mon-15:30 AND Mon-23:45 AND Tue-05:00 AND Tue-10:00 AND Tue-13:00 AND Tue-15:30 AND Tue-23:45 AND Wed-05:00 AND Wed-10:00 AND Wed-13:00 AND Wed-15:30 AND Wed-23:45 AND Thu-05:00 AND Thu-10:00 AND Thu-13:00 AND Thu-15:30 AND Thu-23:45 AND Fri-05:00 AND Fri-10:00 AND Fri-13:00 AND Fri-15:30 AND Fri-23:45 AND Sat-05:00 AND Sat-10:00 AND Sat-13:00 AND Sat-15:30 AND Sat-23:45 HEADING "Minimum Wait Times - Examiners Allocated (All Scan Runs in a Week for a License Class)" " "License Class - "Region - Northern" FOOTING "User ID: admin / Date: May 8, 2009 / Time: 16:45:42 / Page: WHERE LOCATION_PARENT IN FILE DISTLIST AND ( TIME_MEMBER EQ 'Y2005.W52' )AND (SCANLOAD_PARENT EQ 'Sun' OR 'Mon' OR 'Tue' OR 'Wed' OR 'Thu' OR 'Fri' OR 'Sat')AND ( LICLASS_MEMBER EQ 'G1'); ON TABLE SET PAGE-NUM OFF ON TABLE COLUMN-TOTAL AS 'TOTAL' ON TABLE SET ONLINE-FMT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, PAGESIZE='Letter', LEFTMARGIN=0.305556, RIGHTMARGIN=0.305556, TOPMARGIN=0.305556, BOTTOMMARGIN=0.305556, SQUEEZE=ON, ORIENTATION=LANDSCAPE, $ DEFMACRO=COND0001, MACTYPE=RULE, RIGHTGAP=0.125000, TOPGAP=0.000000, BOTTOMGAP=0.000000, WHEN=N3 GT 0, $ TYPE=REPORT, FONT='ARIAL', SIZE=9, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, RIGHTGAP=0.125000, TOPGAP=0.013889, BOTTOMGAP=0.027778, $ TYPE=DATA, COLUMN=N2, BORDER=LIGHT, BORDER-COLOR='GREEN', $ TYPE=DATA, COLUMN=N1, BORDER=LIGHT, BORDER-COLOR='GREEN', SIZE=9, FOCEXEC=app/mwtckar3.fex(GEN4LOCMEM=N2 G5TIME='Y2005.W52' LICENSECLASS='G1' WFFMT='HTML'), $ TYPE=DATA, ACROSSCOLUMN=N1, BORDER=LIGHT, BORDER-STYLE=SOLID, BORDER-COLOR='GREEN', $ TYPE=DATA, ACROSSCOLUMN=N1, BORDER=LIGHT, BORDER-STYLE=SOLID, BORDER-COLOR='GREEN', BACKCOLOR=RGB(128 255 255), MACRO=COND0001, $ TYPE=TITLE, STYLE=BOLD, $ TYPE=TITLE, COLUMN=N1, SIZE=9, FOCEXEC=app/mwtckar3.fex(GEN4LOCMEM=N2 G5TIME='Y2005.W52' LICENSECLASS='G1' WFFMT='HTML'), $ TYPE=TABHEADING, SIZE=12, STYLE=BOLD, $ TYPE=TABFOOTING, SIZE=12, STYLE=BOLD, $ TYPE=HEADING, SIZE=12, STYLE=BOLD, $ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=2, SIZE=10, $ TYPE=HEADING, LINE=1, OBJECT=FIELD, ITEM=1, SIZE=10, $ TYPE=HEADING, LINE=2, OBJECT=TEXT, ITEM=1, SIZE=10, $ TYPE=HEADING, LINE=2, OBJECT=TEXT, ITEM=2, SIZE=10, $ TYPE=HEADING, LINE=2, OBJECT=FIELD, ITEM=1, SIZE=10, $ TYPE=HEADING, LINE=2, OBJECT=FIELD, ITEM=2, SIZE=10, $ TYPE=HEADING, LINE=3, OBJECT=TEXT, ITEM=1, SIZE=10, $ TYPE=HEADING, LINE=3, OBJECT=TEXT, ITEM=2, SIZE=10, $ TYPE=HEADING, LINE=3, OBJECT=FIELD, ITEM=1, SIZE=10, $ TYPE=HEADING, LINE=4, OBJECT=TEXT, ITEM=1, SIZE=10, $ TYPE=HEADING, LINE=4, OBJECT=TEXT, ITEM=2, SIZE=10, $ TYPE=HEADING, LINE=4, OBJECT=FIELD, ITEM=1, SIZE=10, $ TYPE=FOOTING, SIZE=12, STYLE=BOLD, $ TYPE=FOOTING, LINE=1, OBJECT=TEXT, ITEM=1, SIZE=10, STYLE=NORMAL, $ TYPE=FOOTING, LINE=1, OBJECT=TEXT, ITEM=2, SIZE=10, STYLE=NORMAL, $ TYPE=FOOTING, LINE=1, OBJECT=FIELD, ITEM=1, SIZE=10, STYLE=NORMAL, $ TYPE=FOOTING, LINE=1, OBJECT=FIELD, ITEM=2, SIZE=10, STYLE=NORMAL, $ TYPE=SUBHEAD, SIZE=10, STYLE=BOLD, $ TYPE=SUBFOOT, SIZE=10, STYLE=BOLD, $ TYPE=SUBTOTAL, BACKCOLOR=RGB(210 210 210), $ TYPE=ACROSSVALUE, SIZE=9, $ TYPE=ACROSSVALUE, ACROSS=1, BORDER=LIGHT, BORDER-COLOR='GREEN', SIZE=9, $ TYPE=ACROSSTITLE, STYLE=BOLD, $ TYPE=GRANDTOTAL, BORDER=LIGHT, BORDER-COLOR='GREEN', SIZE=10, BACKCOLOR=RGB(210 210 210), STYLE=BOLD, $ ENDSTYLE END (FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE: 52 MACRO=COND0001 0 NUMBER OF RECORDS IN TABLE= 280 LINES= 8
I'm not absolutely positive but I think that setting is only for PDF reports. HTML reports don't have the concept of panels.
Plus your error is indicating a problem in your stylesheet with your condition. One has nothing to do with the other. Fix the stylesheet problem first.
This is only a warning and is because you are doing a HOLD which cannot be paneled.
If the issue is because you do not want to see the error remove the SET BYPANEL=ON from the top of your code and either move to where it logically belongs, just before the output step, or use ON TABLE SET BYPANEL ON in the output step
Hi Ginny, Thanks for your suggestions. I got pulled away to do other things so I'm visiting this again. The code works perfectly fine when I run it from the application's domain. The problems only arise when I run the exact same code in my own domain. It complained about the ON TABLE SET BYPANEL ON and said it cannot be a temporary setting. I put the SET PANEL=ON further down and now it complains about the MACRO named COND001. I will try to put the macro name at the beginning to see if it works. Always appreciate any suggestions from you. Thank you.