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 tried different techniques for formating the report.. But No luck. If you Execute the below CAR file. Column names should appear on Page # 3,5. Real time: Data under ENGLAND can go to 20 pages. - Column Heading are not being displayed.
SET LINES = 14
DEFINE FILE CAR
SHEAD/I2 = IF COUNTRY NE 'W GERMANY' THEN 1 ELSE 2 ;
END
TABLE FILE CAR
PRINT
CAR AS ''
MODEL AS ''
SEATS AS ''
BY SHEAD AS '' NOPRINT
BY COUNTRY AS '' NOPRINT
ON TABLE HEADING CENTER
" "
" Report Heading Section - <TABPAGENO "
ON SHEAD SUBHEAD PAGE-BREAK
""
ON COUNTRY SUBHEAD
" "
"<COUNTRY"
"Car-Make<+10>Car-Model<+10> Car-Seats"
ON TABLE FOOTING CENTER
"Page <TABPAGENO"
" "
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE PCHOLD FORMAT WP
END
Thanks
Posts: 36 | Location: Boston MA | Registered: October 12, 2006
APP APPENDPATH IBISAMP
SET LINES = 14
DEFINE FILE CAR
SHEAD/I2 = IF COUNTRY NE 'W GERMANY' THEN 1 ELSE 2 ;
END
TABLE FILE CAR
PRINT
CAR AS ''
MODEL AS ''
SEATS AS ''
BY SHEAD AS '' NOPRINT
BY COUNTRY AS '' NOPRINT
ON TABLE HEADING CENTER
" "
" Report Heading Section - <TABPAGENO "
""
"Car-Make<+10>Car-Model<+10> Car-Seats"
ON SHEAD SUBHEAD PAGE-BREAK
""
ON COUNTRY SUBHEAD
" "
"<COUNTRY"
ON TABLE FOOTING CENTER
"Page <TABPAGENO"
" "
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE PCHOLD FORMAT WP
END
Developer Studio 7.6.11 AS400 - V5R4 HTML,PDF,XLS
Posts: 305 | Location: Winnipeg,MB | Registered: May 12, 2008
Or in a manner slightly different from Hua's suggestion: page break on country, put country name in the heading, and let WebFOCUS put the column headings on each page.
SET LINES = 14 -* TABLE FILE CAR PRINT CAR AS 'Car-Make' MODEL AS 'Car-Model' SEATS AS 'Car-Seats' BY COUNTRY PAGE-BREAK NOPRINT ON TABLE HEADING CENTER "Report Heading Section - <COUNTRY" "" ON TABLE FOOTING CENTER "" "Page <TABPAGENO" ON TABLE SET PAGE-NUM NOPAGE ON TABLE PCHOLD FORMAT WP ENDThis message has been edited. Last edited by: Dan Satchell,
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007