Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Debugging paradigm/techiniques
Go
New
Search
Notify
Tools
Reply
  
Debugging paradigm/techiniques
 Login/Join
 
<abroit>
posted
I am returning to Focus...ok, WebFocus...now.

Previously, you could set ECHO=ON and use dialogue manager variables to debug.

What is the new paradigm?

How do you debug and follow the course of execution?

TIA
 
Reply With QuoteReport This Post
Virtuoso
posted Hide Post
The same thing still applies in WebFOCUS. You can use -SET &ECHO=ON|ALL|OFF; to control the presentation of the "Focus" code. The code will be sent to the browser. If a report is delivered in HTML format, then do a "View/Source" to see the echo'd code. This will not work if the final report is pdf or excel.
 
Posts: 1100 | Location: Toronto, Ontario | Registered: May 26, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
ab, another technique you can use in web is
CMD NET SEND yourdesktopname SOME TEXT MESSAGE
this will send a message in an alert box to your desktop, useful during the middle of a long fex, to give you progress reports.
CMD NET SEND mymachinename You've read &LINES
for example.
Your Echo file isn't available to you until the fex finishes, then you have the entire thing available with a right-click-view-source.
CMD NET SEND..works in a windows server env if your it folks have messaging enabled, i don't know about any other.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
Guru
posted Hide Post
After adding the

-SET &ECHO=ALL;

I replace my uutput statment
ON TABLE SET ONLINE-FMT PDF or whatever

to

ON TABLE HOLD

Then the whole trace is available to you.
Makes debugging easy!
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Reply With QuoteReport This Post
Guru
posted Hide Post
I've never run into the CMD NET SEND syntax before? In what environment/machine does it run? When I try it I get:
/sbin/sh: NET: not found.
 
Posts: 391 | Location: California | Registered: April 14, 2003Reply With QuoteReport This Post
Expert
posted Hide Post
CMD is an updated version of the DOS command
We have a win2k server in a windows xp environment on a cisco network.and this syntax has run from win436 upwards.
In some env, DOS NET SEND machinename message
works.
It requires messaging be set on. ask your network guys. i'm out of my depth there.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Debugging paradigm/techiniques

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.