Focal Point
Need a parm which holds focexec name

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

May 20, 2004, 01:50 PM
<a0167913>
Need a parm which holds focexec name
We have a webapp which runs a variety of focexec's based on the command button pushed.

I have a requirement to create an oracle 'audit trail' to indicate which focexec's are executed.

I have the pass thru sql working, but I need a parm to indicate the focexec name which is executed.

Is their a command parm for this?

I used the '-? &' command, but did not see a parm which holds the name of the executing focexec.

Thanks
May 20, 2004, 02:32 PM
<Grzegorz>
&FOCFOCEXEC variable keeps the executed focexec name prefixed with the underscore _ character.
It is also possible to send IBIF_ex cgi parameter, as the amper variable value changing the IBI_HOME/client52/wfc/etc/site.wfs file using sendvar command.
# site.wfs file<br /># ...<br /><sendvar><br />FEXNAME=&IBIF_ex<br /><endsendvar>
It requires to restart the webserver, or reload WebFOCUS web application.
-* Test focexec:<br />-TYPE &FOCFOCEXEC<br />-TYPE &FEXNAME
Hope this helps
Grzegorz