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 ASNAMES = ON SQL DB2 EX SYSPROC.Q9WEBSP('&FROM_DATE','&TO_DATE')@ ; TABLE FILE SQLOUT ON TABLE SUBHEAD " STOP PAYMENT COUNT BY CHANNEL" SUM CNT.STOP_PYMT_CHANNEL AS COUNT_STOP_PYMT BY STOP_PYMT_CHANNEL ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL -*ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/STP/_EDAHOME/ETC/endeflt.sty, $ TYPE=TABHEADING, LINE=1, OBJECT=TEXT, ITEM=1, SIZE=9, COLOR='NAVY', BACKCOLOR='WHITE', STYLE=BOLD, $ ENDSTYLE ENDThis message has been edited. Last edited by: User1,
ENGINE DB2 SET DEFAULT_CONNECTION ADC1DB2D -SET ECHO = ALL; SET ASNAMES = ON -DEFAULT &FDATE1='2015/07/21' -DEFAULT &TDATE1='2015/08/21' -DEFAULT &ACC_NO='371056897009000';
SET ASNAMES = ON SQL DB2 EX SYSPROC.Q9WEBSP('&FDATE1','&TDATE1')@ ; TABLE FILE SQLOUT ON TABLE SUBHEAD "STOP PAYMENT DETAILS" PRINT CUST_ACCT_NO AS 'ACCOUNT NUMBER' PYMT_SRCE_DS AS 'PAYMENT INITIATION CHANNEL' PYMT_TRANS_PRCS_LOC_TS AS 'PAYMENT INITIATION TS' LOB STOP_PYMT_TS AS 'PAYMENT STOPPED TS' STOP_PYMT_CHANNEL AS 'PAYMENT STOPPED CHANNEL' INIT_PYMT_AM AS AMOUNT COMPUTE COUNTER/I6=1; NOPRINT BY CUST_ACCT_NO NOPRINT WHERE CUST_ACCT_NO='&ACC_NO' ON CUST_ACCT_NO SUBFOOT "TOTAL NO OF STOP PAYMENTS ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL -*ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/STP/_EDAHOME/ETC/endeflt.sty, $ -*TYPE=REPORT, SQUEEZE=1, WRAP=OFF,$ TYPE=REPORT, HFREEZE=ON,$
I am not getting any error but that HFREEZE=ON its not working.
When I am moving the scroll bar the column names are also moving.
Check the below code, ENGINE DB2 SET DEFAULT_CONNECTION CNAME -SET ECHO = ALL; SET ASNAMES = ON -DEFAULT &FDATE1='2015/07/21' -DEFAULT &TDATE1='2015/08/21' -DEFAULT &ACC_NO='371056897009000';
SET ASNAMES = ON SQL DB2 EX SYSPROC.Q9WEBSP('&FDATE1','&TDATE1')@ ; TABLE FILE SQLOUT ON TABLE SUBHEAD "STOP PAYMENT DETAILS" PRINT CUST_ACCT_NO AS 'ACCOUNT NUMBER' PYMT_SRCE_DS AS 'PAYMENT INITIATION CHANNEL' PYMT_TRANS_PRCS_LOC_TS AS 'PAYMENT INITIATION TS' LOB STOP_PYMT_TS AS 'PAYMENT STOPPED TS' STOP_PYMT_CHANNEL AS 'PAYMENT STOPPED CHANNEL' INIT_PYMT_AM AS AMOUNT COMPUTE COUNTER/I6=1; NOPRINT BY CUST_ACCT_NO NOPRINT WHERE CUST_ACCT_NO='&ACC_NO' ON CUST_ACCT_NO SUBFOOT "TOTAL NO OF STOP PAYMENTS ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/STP/_EDAHOME/ETC/endeflt.sty, $ -*TYPE=REPORT, SQUEEZE=1, WRAP=OFF,$ TYPE=REPORT,HFREEZE=ON, $
But still... you have an error as I specified. You must fix it, maybe it's only that. Sometime Focus generates report even with a small error as this but without applying code following the error : here your styling.
TABLE FILE CAR
SUM RETAIL_COST
BY COUNTRY
BY CAR
BY MODEL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
HFREEZE = ON,
$
ENDSTYLE
END
-RUN
This message has been edited. Last edited by: MartinY,
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013