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.
Thanks Ram, But with Same query, I am doing a Sorting order on Country, and specifically JAPAN at last column. Instead I am getting sort order value 'ZZ' and not JAPAN.
DEFINE FILE CAR COUNTRY_SORT/A10 = IF COUNTRY EQ 'JAPAN' THEN 'ZZ' ELSE COUNTRY; END TABLE FILE CAR SUM DC BY CAR ACROSS COUNTRY_SORT ACROSS COUNTRY NOPRINT ON TABLE SET ASNAMES ON ON TABLE HOLD END TABLE FILE HOLD PRINT * END
APP PATH IBISAMP
DEFINE FILE CAR
COUNTRY_SORT/A20 = IF COUNTRY EQ 'JAPAN' THEN 'ZZ' ELSE COUNTRY;
END
TABLE FILE CAR
BY COUNTRY_SORT NOPRINT
BY COUNTRY
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD FORMAT ALPHA
END
-RUN
?FF HOLD
-SET &COLUMN_NAME='';
-REPEAT LBL_1 &LINES TIMES;
-READ HOLD &COUNTRY.A10.
-SET &COLUMN_NAME = &COLUMN_NAME | ' ''' | &COUNTRY | '''';
-LBL_1
-TYPE &COLUMN_NAME
-*-EXIT
TABLE FILE CAR
SUM DC AS ''
BY CAR
ACROSS COUNTRY AS ''
ON TABLE SET ASNAMES ON
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD
END
-RUN
?FF HOLD
TABLE FILE HOLD
PRINT
&COLUMN_NAME
BY CAR
END
SET ACROSSTITLE=SIDE
DEFINE FILE ibisamp/car
COUNTRY_SORT/A10 = IF COUNTRY EQ 'JAPAN' THEN 'ZZ' ELSE COUNTRY;
END
TABLE FILE ibisamp/car
SUM DC
BY CAR AS ''
ACROSS COUNTRY_SORT NOPRINT
ACROSS COUNTRY AS 'CAR'
END
WebFOCUS 8.2.06
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010