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,
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.
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
January 21, 2020, 03:59 PM
BabakNYC
Wow that's outstanding! I didn't know this little feature exists. Very nice indeed. Thanks Hallway.
WebFOCUS 8206, Unix, Windows
January 21, 2020, 04:58 PM
Waz
What version did this come in on ?
Just checked 8.1.04 and its in the documentation.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
January 21, 2020, 06:00 PM
vaayu
Thank you Hallway, that seemed to have worked for what we're doing. Appreciate your help!!
quote:
Originally posted by Hallway: 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, need to read the documentation more often.....
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
January 21, 2020, 09:19 PM
Hallway
quote:
Originally posted by Waz: 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