Focal Point
[SOLVED] Setting a variable in site.wfs to FOCEXEC file name

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

January 16, 2020, 08:07 PM
JLC
[SOLVED] Setting a variable in site.wfs to FOCEXEC file name
Hi,

Does anyone knows how to obtain the name of the current focexec file and assign it to a user defined variable in site.wfs?

In a procedure, I can to obtain the current focexec name using:
-SET &PROGRAM_NAME=&FOCFEXNAME;
But I cannot do this in site.wfs.

I know that I would need to pass the variable so that I can use &PROGRAM_NAME in the subsequent program:
PROGRAM_NAME(pass)

Thank you in advance.
JL

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.2.0.4
January 16, 2020, 08:59 PM
FP Mod Chuck
JLC

Try this

<SET> PROGRAM_NAME = &FOCFEXNAME (PASS)

This message has been edited. Last edited by: FP Mod Chuck,


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats