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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Capture SQL and user id through a fex.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Capture SQL and user id through a fex.
 Login/Join
 
Platinum Member
posted
Hi,

I would like to add a fex to the edasprof to do the following capture the following and write it to an external file DBMS
1) User id
2) FEX
3) SQL generated.

Any snippets of code that acheives this would be greatly aprreciated.


WF7.1.4 Prod/Test, MRE, self serve, DM
 
Posts: 176 | Location: Desplaines | Registered: August 05, 2004Report This Post
Expert
posted Hide Post
ntf,

1 and 2 have been asked and covered many times before, however 3 will not be available at the time EDASPROF is parsed and would have to be achieved in the fex itself. You would have to trap the SQL (using code that Francis has pointed out many times Smiler). This used to be done on the mainframe via a filedef to FSTRACE4 but not sure whether this is still possible on other platforms (you haven't put your platform in your signature).

As you want to write out all 3, I would be inclined to action this within your fex.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     Capture SQL and user id through a fex.

Copyright © 1996-2020 Information Builders