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] Multiple default parameters using -DEFAULTH?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Multiple default parameters using -DEFAULTH?
 Login/Join
 
Gold member
posted
I'm using the WHERE statement in one of my charts:
 WHERE STORE_TBL.STORE_TBL.STORE EQ &STORE.(OR(FIND STORE_TBL.STORE_TBL.STORE IN STORE_TBL |FORMAT=A3V)).STORE:.; 


I can set the store number to come up by default by setting the default:
 -DEFAULTH &STORE='''ALL'''; 


However, I need to default to stores 01, 07, and 08.

I've tried all of the versions of setting the default that I can think of and nothing will work such as:
 -DEFAULTH &STORE='''01''','''07''','''08'''

-DEFAULTH &STORE IN ( '01' , '07' , '08' )

 

Anyone have any ideas? Thanks!

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



WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 67 | Registered: May 21, 2014Report This Post
Virtuoso
posted Hide Post
So, you want a parameter to default to an set of values instead of just a single value?

I've not done that myself in WF as of yet, and am unsure if that is even a thing either.

-DEFAULTH &VAR_ARRAY = value OR/AND value OR/AND value ???


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Virtuoso
posted Hide Post
-DEFAULTH &STORE = ' ''01'', ''07'', ''08'' '
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Gold member
posted Hide Post
I believe this should work (similar to j.gross's solution)

-DEFAULTH &STORE = '''01'' OR ''07'' OR ''08''';


WF 8.2.0.3
Windows 10 64bit
HTML, AHTML, PDF, Excel
 
Posts: 83 | Registered: April 13, 2015Report This Post
Gold member
posted Hide Post
quote:
-DEFAULTH &STORE = '''01'' OR ''07'' OR ''08''';

Thanks for the replies.

j.gross, yours threw a syntax error on the comma.
capples, yours worked! Thanks!



WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 67 | Registered: May 21, 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] Multiple default parameters using -DEFAULTH?

Copyright © 1996-2020 Information Builders