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]_FOC_NULL PROBLEM

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]_FOC_NULL PROBLEM
 Login/Join
 
Member
posted
Hiho,
im trying to generate a drill down from a graph.

Mygraph:
-SET &GRMERGE=IF &RELEASE_UI NE _FOC_NULL THEN 'ADVANCED' ELSE 'ON';
-SET &GRWIDTH=IF &RELEASE_UI NE _FOC_NULL THEN '3' ELSE '1';
-SET &GRMULTIGRAPH =IF &RELEASE_UI NE _FOC_NULL THEN '1' ELSE '0:';
-SET &BYCLAUSE= IF &RELEASE_UI NE _FOC_NULL THEN 'BY RELEASE_INFO_PERM_ALL_DEFECTS_FINAL.SEG01.RELEASE_UI' ELSE '';
-SET &HEAD = IF &RELEASE_UI NE _FOC_NULL THEN ' : ' ELSE ' : Summary';
-SET &PARAM = '_FOC_NULL';
-****************************************************************************


ENGINE INT CACHE SET ON
GRAPH FILE RELEASE_INFO_PERM_ALL_DEFECTS_FINAL
...
RELEASE_INFO_PERM_ALL_DEFECTS_FINAL.SEG01.SEVERITY NOPRINT
&BYCLAUSE
...
HEADING
"&HEAD"
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRWIDTH &GRWIDTH
ON GRAPH SET EMBEDHEADING ON
ON GRAPH SET HAXIS 445.0
ON GRAPH SET VAXIS 400.0
ON GRAPH SET GRMERGE &GRMERGE
ON GRAPH SET GRMULTIGRAPH &GRMULTIGRAPH
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET STYLE *

...

So if a user selects ALL in a Listbox, the graph will create a comulated single graph. if more entrys selected a multiple graph is drawn.

This works fine.

Now i want to generate a drill down for that:
...
TYPE=DATA, COLUMN=S1_INT, TARGET='_self', FOCEXEC=IBFS:....fex( RELEASE_UI=&RELEASE_UI.QUOTEDSTRING ), $
...

This will work for the single graph, because _FOC_NULL is given to the text. But this will not work in Multigraphs, because the value of the parameter will be 'x' OR 'y' OR.....

I have tried something like this:

-SET &newparam = IF &RELEASE_UI EQ _FOC_NULL THEN _FOC_NULL ELSE RELEASE_UI

and put &newparam in the fex.

This works for multiple graphs but not for the single one.

I need a way to assign a variable to have the value _FOC_NULL, like -SET &XY =_FOC_NULL

Or maybe a conditional drill down request like
if ¶m eq _FOC NULL then ... else .....


Any Suggestions?

Thnx

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


Webfocus 8.0.0.2
Windows 7 Enterprise
 
Posts: 12 | Registered: July 11, 2013Report This Post
Platinum Member
posted Hide Post
Hi,

I'm probably being a bit "dim" - so I may not have fully understood what the problem is - but it is Friday after all, so I think I can be forgiven ;-)

However, perhaps this would work:

-SET &newparam = IF &RELEASE_UI EQ '_FOC_NULL' THEN 'ALL_SELECTED' ELSE 'RELEASE_UI' ;

.... and then:

-IF &newparam EQ 'ALL_SELECTED' GOTO 'STEP_ALL';
TYPE=DATA, COLUMN=S1_INT, TARGET='_self', FOCEXEC=IBFS:....fex( RELEASE_UI=RELEASE_UI ), $
-GOTO CARRY_ON
-STEP_ALL
TYPE=DATA, COLUMN=S1_INT, TARGET='_self', FOCEXEC=IBFS:....fex( RELEASE_UI='_FOC_NULL' ), $
-CARRY_ON



WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Platinum Member
posted Hide Post
Oh, and 'STEP_ALL' shouldn't be in single quotes in the GOTO i.e. should be:
-IF &newparam EQ 'ALL_SELECTED' GOTO STEP_ALL ;


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Member
posted Hide Post
Thnx, that works.


Webfocus 8.0.0.2
Windows 7 Enterprise
 
Posts: 12 | Registered: July 11, 2013Report 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]_FOC_NULL PROBLEM

Copyright © 1996-2020 Information Builders