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     [SOLVED] Adding a -SET Statement in InfoAssist+

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Adding a -SET Statement in InfoAssist+
 Login/Join
 
Expert
posted
OK now, where do I add a -SET Statement in InfoAssist+? Not a prompt or a filter, just, something like: -SET &ThisYear = &DATEYY ;

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




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
Doug

You have to use a global variable in the server profile (edasprof.prf)


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Master
posted Hide Post
By a global variable you mean a &&variable rather than a &variable ?

I have created single &variable in a report object. I mean coding
-SET &VARIABLE = 'WHATEVER'; in the preprocessing other component and the &VARIABLE in the Report component.

Please clarify.

Thank you


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Virtuoso
posted Hide Post
Tom,

There is no current way to do -SETs in IA+ (as of 8202M). I think due to it creating a security concern. Like Chuck was saying, the only way to facilitate custom variable expressions in this way to IA+ users is to create global variables in a fex somewhere and point to them within your edasprof.prf file on the Reporting Server. We've got a huge set of them for dates that we've made available to our IA+ users. It works really well. Global == &&, local == &.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Master
posted Hide Post
Thanks for the helpful information. I have known since 1988 about the distinction between &local and &&global.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Virtuoso
posted Hide Post
Tom,

No sweat. Sounded like you were asking, so I clarified for ya is all. Apologies.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Expert
posted Hide Post
Thanks Guys,

I'll do a work-around... I'll set the variables that I need in my initialization and/or branching fex.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Guru
posted Hide Post
Or use a Reporting Object if you only want reports or diagrams, do your -SET there in the preprocessing part and create a report or diagram on the reporting object. This way you can also use local variables.

This won't work for visualizations.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Expert
posted Hide Post
Thanks All Smiler
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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     [SOLVED] Adding a -SET Statement in InfoAssist+

Copyright © 1996-2020 Information Builders