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 have a fex and a launch page where you can select various output types(HTML,AHTML,EXl2k,PDF,COMT). If there is no output or no records selected. I redirect to a no output HTML page. Works great for all output types but COMT. COMT gives me the standard Ugly you got Nor records because meswsage on top of my HTML page. Any sugestions other than a first pass to check for records.This message has been edited. Last edited by: Kerry,
Duane
WebFOCUS 8.0.7 DS 8.0.7 AS 8.0.7 Windows Output: Excel, HTML, PDF, AHTML,Mobile In Focus 1982
COMT produces an extra "row" with Title information. Still, that should not affect &LINES.
The integer values stored in the statistical variables (&LINES, &RECORDS, &FORMAT, etc.) are right-justified, blank-padded on the left. When you assign &LINES directly to another variable, it's treated as a string assignment, and the RJSF arrangement is retained; whereas -SET &LINE2=0+&LINES; will convert the string in &LINES to an integer, and store the integer in stripped form. (output of "-? &LIN" makes that clear).
Obviosely the behind-the-scenes activity to compare 0 to ' 0' is more involved that comparing 0 to 0 -- whether the comparison operator is EQ, NE, or GT.
I would try out 0+&LINES -- and perhaps 0+&RECORDS as well -- before giving up.
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Originally posted by David Briars: Do you have an idea what the values for the ... 'ON TABLE HOLD FORMAT' commands would be to create/download a format COMT file?
ON TABLE HOLD FORMAT ?
Something that doesn't display but does give you a usable &LINES count, for example ALPHA or FOCUS. It's only meant as temporary storage so you can decide whether you need to generate the final output step (using that same file), after all
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
That is what has become our work around a first pass of the file with the same selection criteria with recordlimit eq 1 saved into a holdfile. The test for &lines and branch to the routinee above if zero lines.
Duane
WebFOCUS 8.0.7 DS 8.0.7 AS 8.0.7 Windows Output: Excel, HTML, PDF, AHTML,Mobile In Focus 1982