Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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, 2008Report 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, 2009Report 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, 2005Report 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
 
Report 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, 2008Report 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.
 
Report 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, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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

Copyright © 1996-2020 Information Builders