Focal Point
[CLOSED] Capture User Input values INTO a FILE

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

May 13, 2019, 12:36 PM
dreddy_23
[CLOSED] Capture User Input values INTO a FILE
Hello,

Can anyone help me with capturing the user entered values into a file for later processing till the end of the session. I don't want to save it to a file although I can use MODIFY and empty the file at the end.
Thanks in advance!

Dreddy.

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


Prod: WebFOCUS 8.1.05 on Win 10
Test: WebFOCUS 8.1.05 on Win 10
May 13, 2019, 12:42 PM
BabakNYC
Are you talking about values users enter into prompted variables? You should be able to use -WRITE.

https://webfocusinfocenter.inf...48-A3CC-CFA7CA3B8FFA

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


WebFOCUS 8206, Unix, Windows
May 13, 2019, 05:40 PM
Waz
If you want to save some &Vars for later use in a session, you can use FOCCACHE and -? & to do so.

Because the resulting fex is in FOCCACHE, it will persist till your session expires.

e.g. Save all &Vars beginning with Waz
-SET &Waz1 = '1' ;
-SET &Waz2 = '2' ;
-? &Waz SAVE FOCCACHE/wazvars


-SET &Waz1 = '3' ;
-TYPE &|Waz1: &Waz1
-TYPE &|Waz2: &Waz2


-MRNOEDIT -INCLUDE WAZVARS

-TYPE &|Waz1: &Waz1
-TYPE &|Waz2: &Waz2



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!