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     [CLOSED] Capturing variables that users enter
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Capturing variables that users enter
 Login/Join
 
Gold member
posted
We use Resource Analyzer to track when reports are run by which users. However, we are wanting to capture and log what variables the users enter when running the reports. Does anyone know of a way to do this?

Thanks

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


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
 
Posts: 79 | Registered: February 29, 2008Reply With QuoteReport This Post
Member
posted Hide Post
RA does not capture variables. To capture & variables you will need to create a write your own code.

The best way would be to use lower case variable names so that they list below the system variables when you use
  -?&
. You could capture the output from this command and store your variables in a structure of your choice. You would then need to link this data to the RA data using the value of
 &FOCFOCEXEC 
to identify the fex.

Otherwise you will need to hardcode each report's variables and
 -WRITE 
them or
 MODIFY 
them to a data store.

Quite a bit of effort is required...


WF 7.6.8, Windows
Any output format: HTML, Excel, PDF, XML, etc.
 
Posts: 7 | Registered: July 14, 2009Reply With QuoteReport This Post
Platinum Member
posted Hide Post
You can get the user provided variables and everything else sent to the server in a query string from the IIS log.

A while back there was a thread on reading the IIS log.


Jim Morrow
Web Focus 7.6.10 under Windows 2003
MVS 7.3.3



 
Posts: 129 | Registered: June 01, 2005Reply With QuoteReport This Post
<FreSte>
posted
There was also a thread posted by GamP in december 2007 that does exactly what you want.

Write run-time &Variables to a file
 
Reply With QuoteReport This Post
Gold member
posted Hide Post
GamP's solutions looks like what I need. One question though. Is that something that needs to be put into each and every report? And if so, at the beginning or end?

Thanks


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
 
Posts: 79 | Registered: February 29, 2008Reply With QuoteReport This Post
<FreSte>
posted
Kevin,

That depends. If you only want to capture the variables submittded by the user, then include this file at the begin of your procedure.
If you also need the variables set within the procedure, then include it at the end.
All the variables that are set/available just before the line saying -? & are being captured.

-Fred-

... and yes, you have to include this for every procedure.
 
Reply With QuoteReport This Post
Gold member
posted Hide Post
We are only wanting to capture the variables that the users enter. We want to track what accounts they are looking up.

I will do some experimenting with this. Thank you for your help.


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
 
Posts: 79 | Registered: February 29, 2008Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Capturing variables that users enter

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