Focal Point
[CLOSED] Redirecting TS3OUT not working

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5827093326

August 21, 2012, 11:04 AM
jbmuir
[CLOSED] Redirecting TS3OUT not working
We redirect TS3OUT to /dev/null to hide some of the "noise" that WebFOCUS creates. Here's an example using the CAR file:

FILEDEF TS3OUT DISK /dev/null
CHECK FILE CAR HOLD
FILEDEF TS3OUT TERM
-RUN


With WF7.1.6 this worked like a charm.
With WF7.7.03 this code no longer hides the output:

  
0 NUMBER OF ERRORS=     0
  NUMBER OF SEGMENTS=   7  ( REAL=    7  VIRTUAL=   0 )
  NUMBER OF FIELDS=    20  INDEXES=   1  FILES=     1
  TOTAL LENGTH OF ALL FIELDS=  221


How can I hide this verbose output?
-James

This message has been edited. Last edited by: Kerry,


WF 7.1.6 moving to WF 7.7, Solaris 10, HTML,PDF,XL
August 21, 2012, 11:50 AM
Tom Flynn
SET MSG=OFF


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
August 21, 2012, 12:11 PM
jbmuir
I wish it were that simple. It seems that:

SET MSG=OFF

does the job with WF7.1.6, but does not work for us with WF7.7.03 :-(

My latest focexec:

  
SET MSG=OFF
-RUN
CHECK FILE CAR HOLD
-RUN


-James


WF 7.1.6 moving to WF 7.7, Solaris 10, HTML,PDF,XL
August 21, 2012, 12:24 PM
Francis Mariani
SET MSG=OFF

Will work for almost everything, except, it seems for CHECK FILE. This may be because CHECK FILE produces output - the information it provides is its raison d'etre.

Try SET MSG=OFF with TABLE FILE... ON TABLE HOLD and all you should get is "EDA no data" which might be suppressable too.


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
August 23, 2012, 07:39 AM
jbmuir
Hi Francis,

I only used CHECK FILE to succinctly demonstrate the problem with TS3OUT. The problem occurs using other commands. In the example below, redirecting TS3OUT to /dev/null does not work with WF7.7 either. :-(

FILEDEF TS3OUT DISK /dev/null
-RUN
-UNIX echo "Hello World!"
TABLE FILE CAR
PRINT CAR
END
-RUN
FILEDEF TS3OUT TERM
-RUN



WF 7.1.6 moving to WF 7.7, Solaris 10, HTML,PDF,XL
August 23, 2012, 03:45 PM
dhagen
You can always write a TransOut plugin to strip the unwanted stuff from the HTML responses.

That is probably not what you wanted to read, but it was the first thing that popped into my mind when I read this.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott