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     [CLOSED]Is there an easy way to find empty variables in the parameter prompt

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Is there an easy way to find empty variables in the parameter prompt
 Login/Join
 
Member
posted
Hi folks,

I apologise if the subject of this post makes no sense, i'm trying to figure out the best way to word it.

I have over 100 &VARS in my .FEX and one is missing, when i run the FEX i get the prompt and i can't scroll through the &VARS to find which ones aren't being populated. Is there a way to see those empty variables when you view the source of the WebFOCUS prompt? (The one that contains a lot of JavaScript)

Thanks

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


WebFOCUS 8.04
 
Posts: 11 | Registered: April 13, 2016Report This Post
Expert
posted Hide Post
Jon,
I'll take a WAG, Its "usually" the last one, but, can be any one that has a blank/null...
Tom


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
Put "Snickelfritz" into it and run it. You should be able to search for it out in the source code of the output report. Remember to set &ECHO to all.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Master
posted Hide Post
quote:
...Is there a way to see those empty variables when you view the source of the WebFOCUS prompt?...

Try setting the ECHO parm, in your fex with the following command:
-SET &ECHO = 'ALL'; 

EXecute your focexec, (and click run on the Auto-Parameter screen if you are getting it), and your view source will show the command lines executed.

Hopefully, this will support your debugging.

quote:
...i'm trying to figure out the best way to word it....


The term you might be looking for is 'unresolved amper variable'.

WebFOCUS will work to resolve Dialogue Manager variables, if it cannot resolve (find a value) you'll see a prompt or error message.

This message has been edited. Last edited by: David Briars,




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Virtuoso
posted Hide Post
Yeah, if you run the report directly it should crash out with an error telling you what amper-variable doesn't have a value assigned, or at a minimum what line of source code is wonked by it.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Platinum Member
posted Hide Post
Maybe you could tab key to other var's prompts? If not, then in the JavaScript of the View Source of the autoprompt page, I see this for an unresolved &VAR02 from a fex:

    jsData.ampers[9] = new Object( );
    jsData.ampers[9].name = "VAR02";
    jsData.ampers[9].fieldName = "VAR02";
    jsData.ampers[9].type = "unresolved";
 


So it looks like you can search for:

"unresolved";
 


to find the vars you are looking for.


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report 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     [CLOSED]Is there an easy way to find empty variables in the parameter prompt

Copyright © 1996-2020 Information Builders