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.
Hi, I'm trying to hold data using ACROSS COUNTRY and uisng COLUMNS command to sort but when I print the hold data I'm getting extra character appended. Below is my code
TABLE FILE CAR
SUM
SALES
BY CAR AS ''
ACROSS COUNTRY AS '' COLUMNS 'ITALY' AND 'ENGLAND' AND 'FRANCE' AND 'W GERMANY' AND 'JAPAN'
ON TABLE HOLD AS H_TEMP1 FORMAT FOCUS
END
TABLE FILE H_TEMP1
PRINT
*
END
ON Uppercases the literal specified in an AS phrase and propagates it as the field name in the HOLD Master File. Creates names for ACROSS fields that consist of the AS name value concatenated to the beginning of the ACROSS field value and controls the way ACROSS fields are named in HOLD files of any format.
Happy Holidays.
Thank your for participating in the Focal Point Forum, Tamra Colangelo Focal Point Moderator Information Builders
WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
Posts: 487 | Location: Toronto | Registered: June 23, 2009
concatenated to the beginning of the ACROSS field value and controls the way ACROSS fields are named
Hi Tamra, Thanks for your response on this request. I've already tried using SET ASNAMES=ON before but it didn't work for me.
SET ASNAMES=ON
TABLE FILE CAR
SUM
SALES
BY CAR AS ''
ACROSS COUNTRY AS '' COLUMNS 'ITALY' AND 'ENGLAND' AND 'FRANCE' AND 'W GERMANY' AND 'JAPAN'
ON TABLE HOLD AS H_TEMP1 FORMAT FOCUS
END
TABLE FILE H_TEMP1
PRINT
*
END
WebFOCUS 8.1.03 Windows, Linux All Outputs
Posts: 46 | Location: India | Registered: August 18, 2011
I've already tried using SET ASNAMES=ON before but it didn't work for me.
You need to read what Tamra wrote in full as she is saying that this is expected behaviour (as well as being documented - she included the quote from the documentation).
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
SET ASNAMES=ON
TABLE FILE CAR
SUM
SALES AS ''
BY CAR AS ''
ACROSS COUNTRY AS '' COLUMNS 'ITALY' AND 'ENGLAND' AND 'FRANCE' AND 'W GERMANY' AND 'JAPAN'
ON TABLE HOLD AS H_TEMP1
END
TABLE FILE H_TEMP1
PRINT
*
ON TABLE PCHOLD FORMAT PDF
END
WebFOCUS 8.1.03 Windows, Linux All Outputs
Posts: 46 | Location: India | Registered: August 18, 2011