Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Suspressing Comments

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Suspressing Comments
 Login/Join
 
Gold member
posted
It seems like I saw a post one time that addressed this issue but I can't find it to save my life. Does anyone know how to suspress the comments that are placed in html reports? Example below:

<!--
0 NUMBER OF RECORDS IN TABLE= 0 LINES= 0
<AMPERS>
CURRENTLY DEFINED & VARIABLES STARTING WITH '&':
</AMPERS>

WebFOCUS Version 5.3.3 compiled and linked on Thu Dec 23 01:37:39 EST 2004 (Gen WEB533:47)
-->
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
<JG>
posted
SET MESSAGE=OFF
Should suppress informational messages but will still show error messages
 
Report This Post
Gold member
posted Hide Post
Thanks. This doesn't quite get rid of everything I want to. Maybe in the future....
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Silver Member
posted Hide Post
if this is to suppress the messages only when the report has no records (like in your example); two ideas you might want to look at:


you can have the report show even if there is no data on it

SET EMPTYREPORT=ON

TABLE FILE CAR
PRINT MODEL
WHERE MODEL EQ 'NOT THERE';
ON TABLE PCHOLD FORMAT HTML
END


OR


you can capture the number of lines and show another report with a message

TABLE FILE CAR
PRINT MODEL
WHERE MODEL EQ 'NOT THERE';
ON TABLE PCHOLD FORMAT HTML
END
-RUN
-IF &LINES GT 0 GOTO ALLDONE;
-* show a report saying there is no data
TABLEF FILE CAR
HEADING
"THE REPORT HAS NO DATA"
PRINT MODEL NOPRINT
WHERE RECORDLIMIT EQ 1
END
-ALLDONE


hth,

drew
 
Posts: 46 | Location: San Francisco, California | Registered: April 14, 2003Report This Post
<JG>
posted
The problem is that when Mr. Cohen re-engineered Focus from RAMIS he did not pinch all the best features, just most of them, because in RAMIS you had the concept of message level which Focus/WebFocus does not have.
 
Report This Post
Gold member
posted Hide Post
I'm sorry. I should've described my intent. I want to suspress the comments in the html not what the user sees. This is because the program will not be executed by a user but another program. I do not want the calling program to have to parse the comments in the html page.
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Suspressing Comments

Copyright © 1996-2020 Information Builders