Focal Point
[SOLVED]Defining global variable in External file

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

March 01, 2016, 01:39 AM
Shankar
[SOLVED]Defining global variable in External file
Hi,
I have multiple Report caster schedules (~50 )where I have to use a common disclaimer message with more than 256 characters.
I defined a Global variable (&&DISCLM) in edasprof.prf file and assign Disclaimer message to it. Further I used it in RC schedules in Distribution tab->Send all the reports as attachments.
The mails are being distributed with the Disclaimer message as expected.

What I am trying to do is to define the global variable in a external file instead of in edasprof.prf file and use it in RC schedules.
Is there any way to achieve this? Please advise.

Many Thanks.

This message has been edited. Last edited by: <Emily McAllister>,


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
March 01, 2016, 04:58 AM
Martin vK
Hi Shankar,

In edasprof you can use -READ to read from an external file and to set the value for &&DISCLM.

Martin.


WebFocus 8206M, iWay DataMigrator, Windows, DB2 Windows V10.5, MS SQL Server, Azure SQL, Hyperstage, ReportCaster
March 01, 2016, 08:26 AM
BabakNYC
You can created a disclaimer.fex and -INCLUDE it in the reports or alternatively, run it as a pre-execution procedure when you schedule the job.


WebFOCUS 8206, Unix, Windows
March 02, 2016, 03:16 AM
Shankar
Thanks Martin.


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML