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 creating a compound PDF. I have included 2 reports.first report in page1 and second report in page2. But the second report is getting displayed with one row per page. Pls note that I have included a BY field in each report. I have attached the code
SELECT MONTH AS TIMECOL, STATS_TYPE, value AS LOGINS FROM PROD_LOGIN_TRENDS WHERE MONTH BETWEEN ADD_MONTHS(TRUNC(ADD_MONTHS(TRUNC(&RPTDATE,'MM'), -0),'MM'), +1 - 7) AND ADD_MONTHS(TRUNC(&RPTDATE,'MM'),-1) AND PRODUCT = '&ProductName' AND STATS_TYPE in ('Total Logins','Unique Logins','IBD Logins','Total Transactions') ORDER BY MONTH;
SQL SQLORA END SESSION;
TABLE FILE SQLOUT PRINT TIMECOL STATS_TYPE LOGINS AND COMPUTE TRANSDATE/YYMD = HDATE(TIMECOL, 'YYMD'); TIMELINE/MtY=TRANSDATE; ON TABLE HOLD AS TABLE_TOTLOG END -RUN -TYPE &RECORDS -IF &RECORDS = 0 THEN GOTO NOREP1 ELSE GOTO PRINTOUT1; -NOREP1 SQL SQLORA SELECT SYSDATE AS TO_DATE FROM DUAL; SQL SQLORA END SESSION; TABLE FILE SQLOUT PRINT TO_DATE NOPRINT
HEADING "Login Trends" "" "" "No Data to Display"
ON TABLE SET PAGE-NUM OFF ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE *
-PRINTOUT1 TABLE FILE TABLE_TOTLOG SUM LOGINS/I9C AS '' BY STATS_TYPE ROWS 'Total Logins' OVER 'Unique Logins' OVER 'IBD Logins' OVER 'Total Transactions' ACROSS TIMELINE AS '' HEADING "Login Trends" FOOTING "" ON TABLE SET PAGE-NUM OFF ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL -*ON TABLE SET COMPOUND OPEN ON TABLE PCHOLD FORMAT PDF -*ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $
SELECT MONTH, TIME_FRAME, TOTAL_LOGINS AS LOGINS FROM PROD_LOGIN_BY_HOURS WHERE PRODUCT = '&ProductName' AND MONTH BETWEEN ADD_MONTHS(TRUNC(ADD_MONTHS(TRUNC(&RPTDATE,'MM'), -0),'MM'), +1 - 7) AND ADD_MONTHS(TRUNC(&RPTDATE,'MM'),-1) ORDER BY MONTH, TIME_FRAME ASC;
SQL SQLORA END SESSION;
TABLE FILE SQLOUT PRINT MONTH TIME_FRAME LOGINS AND COMPUTE TRANSDATE/YYMD = HDATE(MONTH, 'YYMD'); TIMELINE/MtY=TRANSDATE; ON TABLE HOLD AS TABLE_LOGIN_HRS END -RUN -TYPE &RECORDS -IF &RECORDS = 0 THEN GOTO NOREP2 ELSE GOTO PRINTOP2; -NOREP2
SQL SQLORA SELECT SYSDATE AS TO_DATE FROM DUAL; SQL SQLORA END SESSION; TABLE FILE SQLOUT PRINT TO_DATE NOPRINT
HEADING "Total Logins By Hours" "" "" "No Data to Display"
ON TABLE SET PAGE-NUM OFF ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE *
TABLE FILE TABLE_LOGIN_HRS SUM LOGINS/I9C AS '' BY TIME_FRAME ROWS '12AM-8AM' OVER '8AM-9AM' OVER '9AM-10AM' OVER '10AM-11AM' OVER '11AM-12PM' OVER '12PM-1PM' OVER '1PM-2PM' OVER '2PM-3PM' OVER '3PM-4PM' OVER 'AFTER4PM' ACROSS TIMELINE AS '' HEADING "Total Logins By Hours" FOOTING "" ON TABLE SET PAGE-NUM OFF ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL -*ON TABLE SET COMPOUND OPEN ON TABLE PCHOLD FORMAT PDF -*ON TABLE SET COMPOUND CLOSE -*ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, FONT='ARIAL', SIZE=8, $ TYPE=REPORT, COLUMN=N2, JUSTIFY=RIGHT, $
First, try to set the boundaries for your report contents. Use the parameters such as LEFTMARGIN, RIGHTMARGIN, TOPMARGIN and BOTTOMMARGIN by calling them in UNITS attribute of the Style sheet. Also, specify the page size for your report content and here you use PAGESIZE parameter by calling it in UNITS attribute of the Style sheet.
Version: WebFOCUS 7.6.6 O.S. WebFOCUS is mounted on Unix Output Report: HTML, Excel, CSV, PDF and TXT