Focal Point
[CLOSED] Logging and reading filter conditions

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3971011713

February 06, 2009, 05:18 PM
AMARNATH_EL
[CLOSED] Logging and reading filter conditions
Hi,

I have a question on logging in the information based on the user activity.

Example: when a user runs a report, the log file should record the report name,time run, more important the filter conditions applied...

like year = 2008 , card_number = 234566

and is there any tool to parse the log file?

Your help is really appreciated.

Thanks,
Amarnath

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


WebFOCUS 7.6.7
Unix
Excel/Html
February 06, 2009, 05:40 PM
N.Selph
To log that information you need Resource Analyzer.


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
February 06, 2009, 05:53 PM
AMARNATH_EL
I have gone through the Resouce Analyzer and i didnt find any information where it says it records the filter conditions also...

can you guide me in this?


WebFOCUS 7.6.7
Unix
Excel/Html
February 07, 2009, 07:46 AM
FrankDutch
Amarnath

Last year at the IBI Summit in Nashville we have got a presentation from someone who designed what you are looking for.
It's not an out of the box solution, but in fact you have to create this yourself.
You can use several input variables and system parameters and use them as input for a logging.
Design your (focus) database for this and create a separate applications that is included in your fexes.
Use the &myUser, &FOCFEXNAME, &YYMD, &TOD and a few report variables.
Since these last ones are different for every report you may want to put them in a long string that gives both the variable and the value that the user has chosen.

I'm not sure if you are familiar with the MODIFY command, but that is the basic for this.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

February 11, 2009, 02:52 PM
AMARNATH_EL
Hi Frank,

Thanks for your advice.

By any chance have you got any link to that presentation?


WebFOCUS 7.6.7
Unix
Excel/Html
February 11, 2009, 04:11 PM
FrankDutch
Amarnath

the process he presented is not exactly what I described, but it is the first step and you have to work it out further.

http://www.informationbuilders.com/support/developers/PoorManRptLib.html




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

February 11, 2009, 05:29 PM
GinnyJakes
The Resource Analyzer table SMRELATIONS has the IF/WHERE conditions for a query.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google