SO we have a application where developers pushed lots of fexes to prod with the dreading line ECHO=ALL; I'm wondering is there a global setting to turn it off? Unfortunately its a line in every fex inside each reportcaster job (over 100 or so). Definitely a bad idea to have that in prod but, I figured I'll ask here if any of you guys handled it differently?
Thanks in advance.This message has been edited. Last edited by: vaayu,
There are some options to turn everything off, but not sure of the results. and wouldn't recommend it.
I would suggest getting your developers to put in a line like:
-DEFAULTH &DEBUG_MODE = OFF
Then it can be set in a profile or as a parameter.
We have put in place a fex checker on release to another environment to scan for -SET &ECHO and flag it as an issue.
You may need to add this sort of thing to your release process.
I wonder if you can use LET command to fake it out.
WebFOCUS 8206, Unix, Windows
I suspect not, as it only works on FOCUS commands not dialog manager
Check out theses docs
If you set the ECHO to NONE as a pre-process, that will prevent procedure code from being displayed (echoed). Once the value of &ECHO has been set to NONE, it cannot be changed during the session or connection.
Wow that's outstanding! I didn't know this little feature exists. Very nice indeed. Thanks Hallway.
WebFOCUS 8206, Unix, Windows
What version did this come in on ?
Just checked 8.1.04 and its in the documentation.
Thank you Hallway, that seemed to have worked for what we're doing. Appreciate your help!!
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
It looks like 7.7 is when it came out.
I found it in the 7.7 docs:
But not in the 7.6.1 docs:
...wf761appslang/source/test_debug.htmThis message has been edited. Last edited by: Hallway,
Wow, need to read the documentation more often.....
I actually found the ECHO setting by helper fex that I have that reports all of the available SETs and their current/available values.
TABLE FILE sysset PRINT VALUE AS 'Available,Values' SETMAXLEN AS 'Max,Length/,Value' SETFPROMPT AS 'From,PROMPT' SETFTAB AS 'From,TABLE' SETFPARMS AS 'From,PARAMS' VALDESC IS_DEFAULT BY SETNAME BY SETDESC BY SERVDESC BY SETVALTYPE BY CURR_VALUE WHERE SETNAME EQ &SETNAME.(OR(FIND SETNAME IN sysset |FORMAT=A64)).Select SET value.; ON TABLE SET PAGE-NUM OFF ON TABLE SET STYLE * INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/flat.sty,$ TYPE=REPORT, LINES-PER-PAGE=UNLIMITED, TITLETEXT='WebFOCUS Sets', $ ENDSTYLE END
There are other system tables that you can query as well. Docs here: https://webfocusinfocenter.inf..._lang/source/fmi.htm
Yes, one of those gems that can be easily forgotten.
If you want to turn it completely off in production, put -SET &ECHO=NONE; in the edasprof.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
|Powered by Social Strata|