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.
this discussion site is ment for focus users It might help if you NOT open your question with the subject "FOCUS" that is not very helpfull think about what your problem is and try to put that in the subject.
Then first search in this site to find similar problems and look if they might be helpfull. This question is brought up by someone else and I have given him an answer.
How about a digital manual?
look for the command "OVER"
Frank
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
Here's a working example similar to what you require:
SET ASNAMES=ON
TABLE FILE CAR
PRINT
COUNTRY/A20 AS 'TEXT'
BY COUNTRY
ON TABLE HOLD AS H001
RUN
PRINT
CAR/A20 AS 'TEXT'
BY COUNTRY
ON TABLE HOLD AS H002
RUN
PRINT
MODEL/A20 AS 'TEXT'
BY COUNTRY
ON TABLE HOLD AS H003
END
TABLE FILE H001
PRINT TEXT
BY COUNTRY
ON TABLE HOLD AS H100
MORE
FILE H002
MORE
FILE H003
END
TABLE FILE H100
PRINT *
END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
There are many ways to solve your problem as has been shown. The best method depends on what you really want to do with the output and your level of comfort with the focus code. I like the McGyver technique, but other times just use computes or defines to handle the problem. I've never used 'more' mostly because I never had training on the option. It is quite useful as well.
So back to my first statemen, what are you wanting to do with the output once generated?
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004