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 COMPONENT='reportx'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/Fake/somerep.fex
to match.
I admit that I am using include but you don't have too. Here is a sample of that:
-* Default Mode: ResourceLayout
SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.875 1.198), DIMENSION=(6.458 1.198), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.875in; top: 1.198in; width: 6.458in; height: 1.198in; position: absolute; z-index: 1;', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.979 2.865), DIMENSION=(5.990 1.406), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.979in; top: 2.865in; width: 5.99in; height: 1.406in; position: absolute; z-index: 2;', $
END
SET COMPONENT='report1'
-*component_type report
-* File: IBFS:/DEV3/WFC/Repository/Commercial_Lines_Portal/FUS/Reports/Report1.fex Created by WebFOCUS AppStudio
-*-SET &ECHO=ALL;
-DEFAULTH &POL_EFFECTIVE_YEAR=0
-* Note making this larger adds 2 lines to the top of the report
SET LINES=998
TABLE FILE CAR
BY CAR
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENFlat.sty,
UNITS=PTS,
$
LEFTMARGIN=0.00000,
RIGHTMARGIN=0.00000,
TOPMARGIN=0.00000,
BOTTOMMARGIN=0.00000,
$
TYPE=REPORT,
LEFTGAP=3,
RIGHTGAP=3,
WRAP=OFF,
$
TYPE=DATA,
BACKCOLOR=( 'WHITE' RGB(243 243 243) ),
$
ENDSTYLE
END
SET COMPONENT='report2'
TABLE FILE CAR
BY HIGHEST COUNTRY
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENFlat.sty,
UNITS=PTS,
$
LEFTMARGIN=0.00000,
RIGHTMARGIN=0.00000,
TOPMARGIN=0.00000,
BOTTOMMARGIN=0.00000,
$
TYPE=REPORT,
LEFTGAP=3,
RIGHTGAP=3,
WRAP=OFF,
$
TYPE=DATA,
BACKCOLOR=( 'WHITE' RGB(243 243 243) ),
$
ENDSTYLE
END
-END_PROC
COMPOUND END
Using this technique I would use a loop that generates each
COMPONENT section
and another loop to generate:
the set compound section:
SET COMPONENT='report2'
This is tricky since they have to be perfect to work and you would be generating Webfocus code not hold files.