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     Cannot save procedure containing %u

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Cannot save procedure containing %u
 Login/Join
 
Member
posted
If I create any procedure containing the character string %u, the procedure will refuse to save:

TABLE FILE CAR
PRINT
CAR
MODEL
BODYTYPE
SALES
WHERE MODEL LIKE '%u';
END

Try to save and you get "Unable to save file IBFS://blah/blah/blah/wildcard.fex"


Any idea why this is and if there is a workaround? I'm using version 7.14
 
Posts: 5 | Registered: October 26, 2006Report This Post
Master
posted Hide Post
I tried to save it on my DevStudio 7.1.6 it worked.


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Virtuoso
posted Hide Post
I tried it in 7.1.6 MRE and it worked, but it doesn't work in 5.3.6 MRE. I have Java 1.6.1 installed as the Java 1.5..9 would not allow report caster to run under 5.3.6, go figure.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Platinum Member
posted Hide Post
In 7.1.3, I don't even get an error message...the combination of '%u' wipes out all code in the fex.

Kevin


WF 7.6.10 / WIN-AIX
 
Posts: 141 | Location: Denver, CO | Registered: December 09, 2005Report This Post
Platinum Member
posted Hide Post
Furthermore,

It happens in every editing tool in Dev Studio including Notepad. Notepad works fine outside of the Dev Studio environment, but trying to save a fex to a Reporting Server with Notepad from Dev Studio gives the same behavior...contents of fex are wiped out!!!


WF 7.6.10 / WIN-AIX
 
Posts: 141 | Location: Denver, CO | Registered: December 09, 2005Report This Post
Member
posted Hide Post
quote:
I tried to save it on my DevStudio 7.1.6 it worked.


Thanks. I'll see what we have available to upgrade to.
 
Posts: 5 | Registered: October 26, 2006Report This Post
Member
posted Hide Post
I upgraded Developer Studio to 7.61 and I am still getting the error. I'm guessing this is caused by the WebFocus server (which is still on either 7.14 or 7.16) and not the Developer Studio client as I initially thought. I guess I'll have to wait until our sysadmin has a chance to upgrade.
 
Posts: 5 | Registered: October 26, 2006Report This Post
Expert
posted Hide Post
have you tried using the pipe, which is the escape character for the & ?
&|U
or, the unicode value of the & sign, which you can google.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Master
posted Hide Post
This is another example of why C++ is such a dangerous language to write applications in.

%u is a formatting character that can be embedded in a stream write function (eg printf) to expect a unformatted int as part of the argument. The wf code is not providing it hence the write fails.

btw This is a standard method your C++ code can be hacked!



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report 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     Cannot save procedure containing %u

Copyright © 1996-2020 Information Builders