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 need to split ACROSSTITLE1 to 2 columns ACROSSTITLE11 and ACROSSTITLE12 so I can have them in the same columns of COLUMNVALUE1 and COLUMNVALUE2. COLUMNVALUE1 and COLUMNVALUE2 are SORT fields. My expected output is:
Hi, I think below code should meet the requirement,if not then could you share some sample code using car file or so. DEFINE FILE CAR COUNTR/A100=IF (COUNTRY EQ 'ENGLAND' AND CAR EQ 'JAGUAR') THEN 'A' ELSE IF (COUNTRY EQ 'ENGLAND' AND CAR NE 'JAGUAR') THEN 'B' ELSE COUNTRY; COUNTR1/A100=IF (COUNTRY EQ 'ENGLAND' AND CAR EQ 'JAGUAR') THEN 'ENGLAND' ELSE IF (COUNTRY EQ 'ENGLAND' AND CAR NE 'JAGUAR') THEN 'ENGLAND1' ELSE COUNTRY; END TABLE FILE CAR PRINT CAR ACROSS COUNTR1 AS '' ACROSS COUNTR AS '' NOPRINT END
here field 'countr' is used to create sample data while filed 'countr1' is used to assign seperate title.
Thanks jvb but this is not the solution for my case. please look at my sample code below:
SET ACROSSTITLE = SIDE
SET NODATA = ''
SET SHOWBLANKS = ON
TABLE FILE SQLOUT
SUM
MAX.RESULT AS ''
BY LOWEST CAPTION AS ''
BY LOWEST UNITS AS ''
ACROSS LOWEST DATETIME
ACROSS BATCH
ACROSS LOWEST PRODUCT
-* File hainguyen02.fex
TABLE FILE CAR
SUM RCOST
BY COUNTRY AS ''
BY CAR AS ''
ACROSS BODYTYPE AS '</td></tr><tr><td>BODY</td><td>UNIT'
ACROSS SEATS
ON TABLE SET ACROSSTITLE SIDE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=ACROSSTITLE, JUSTIFY=LEFT,
$
ENDSTYLE
END
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006