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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Shut off prompting of global variable in master file

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Shut off prompting of global variable in master file
 Login/Join
 
Member
posted
I have a master file that has some global variables defined for use in some compute fields.
VARIABLE NAME=&&CNST_PI, USAGE=D12, DEFAULT='200000', $

I've then created a reporting object from this master file for use with InfoAssist. When I create a new report using this reporting object and include one of my compute fields, when I RUN the report is displays or prompts me for the value of this global variable.

I have turned off 'Prompt for Parameters' on the reporting object procedure in my content folder.

Does anyone know how I can suppress this prompt window when I run my InfoAssist report?

Thanks,
Trevor

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


WF 8.0.08
 
Posts: 19 | Location: Calgary, AB | Registered: July 09, 2014Report This Post
Master
posted Hide Post
Check in Admin Console Client Setting Parameter Prompting - IBIF_wfdescribe. You can change value for this to OFF.
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Master
posted Hide Post
You can also try changing Client Settings - Managed Reporting - Change value for IBIMR_prompting to OFF.

Either of these should help you.

Thanks,
Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Expert
posted Hide Post
TeePee,
Add this to the IA program
-DEFAULTH &&CNST_PI = ''
or
Add to site.wfs and initialize it there.

Ram,
Both of your suggestions will turn off prompting for everything, including other IA programs...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Virtuoso
posted Hide Post
The problem might stem from the Master file:

quote:
VARIABLE NAME=&&CNST_PI, USAGE=D12, DEFAULT='200000', $


USAGE must be alpha (Ann), since amper vars are simply character strings:

Syntax:
First assign the variables names after the FILE declaration in the Master File:
VARIABLE NAME=[&&]var, USAGE=Aln, [DEFAULT=defvalue,] [QUOTED={OFF|ON},] $
where:

var
Is the name you are assigning to the global variable. ...
ln
Is the maximum length for the variable value.

defvalue
Is the default value for the variable. If no value is set at run time, this value is used.


If you correct the Usage, the Default might kick in.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Master
posted Hide Post
Tom Flynn,

Thanks for your insight. Yes, my solution will disable all auto prompts.

Teepee,
To disable only that of specific master file, Tom's and Jack's solution will help you.

-Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Master
posted Hide Post
You Can Also Use A -DEFAULTH IN THE Site PROFILE For THE AMPER variable. That's what I do. Just beware that when using reportcaster, it skips the client and goes directly to the reporting server. If reportcaster is a concern, then maybe try setting it with defaulth using the mfd profile.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report This Post
Member
posted Hide Post
[QUOTE]Originally posted by Tom Flynn:

Add this to the IA program
-DEFAULTH &&CNST_PI = ''

-------------------------------
Tom,

Where would I add this line? I'm going directly from my synonym to a reporting object in the content folders.

Thanks,
TP


WF 8.0.08
 
Posts: 19 | Location: Calgary, AB | Registered: July 09, 2014Report This Post
Expert
posted Hide Post
Right-click the focexec, edit in TEXT, and, add it above the other DEFAULTH code generated by IA...




Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Member
posted Hide Post
Tom,

I don't get the option to edit in TEXT with my reporting objects. I opened the focexec in the Reporting object tool then edited the Preprocessing Other group and added it there.

Seems to be working now!! Thanks.


WF 8.0.08
 
Posts: 19 | Location: Calgary, AB | Registered: July 09, 2014Report 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] Shut off prompting of global variable in master file

Copyright © 1996-2020 Information Builders