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     [WORKAROUND]change the system amper variables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[WORKAROUND]change the system amper variables
 Login/Join
 
Virtuoso
posted
We use the &FOCFEXNAME in every report so the user knows what fex he was running.
Until version 7.1 we only saw the first 8 characters of the fexname and that was just what we needed.
In version 7.6 that name is now the longer displayed name. This is NOT what we want.

How can I change the &focfexname so I only get the first 8 characters?

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




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
<JG>
posted
1st thing I'd do is ask IBI why they've changed a system variables return value.

Then I'd ask them what they are going to do to fix the lack of backward compatibility.

You can not change system variables, the only option you have is to create your own and edit
the system variable into it.
 
Report This Post
Expert
posted Hide Post
Frank, what were you Fex names, were they all 8 chars or less ?

Or were they long ones, that were truncated.

I just ran a long named fex from the console and got {appname}/{fexname}, interesting.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
Till version 7.1.7 all teh fexnames created in the MRE where only 8 characters, even if I gave them longer names. We give out fexes a coded name that is build as YMD with 2 characters for the daily sequence p.e. 081111FA (the first fex today created by me). After these first 8 characters we add a more descriptive text.
In the EDA the longer name was already used.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
My Suggestion is with MRE to create the fex with the 8 char name, This will create a physical fex file with 8 character name, once saved, change the name to the long one.

A slight change in the process will get you going again.

I would also suggest that you have a common routin included in you programs to handle the &FOCFEXNAME, instead of using it directly, this way if there is another change you have a single point of change.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
Thx Waz, your first suggestion is how we do it now, but I hoped to find a better way.

Your second is the way we thought of in case it was impossible to change it as stated above.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
Frank, I would stongly suggest the second suggestion, it is a far better way, better to change it now than further down the track.

That way you can completely control how the value is retrieved, even completely different methods, just change one -INCLUDE file


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 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     [WORKAROUND]change the system amper variables

Copyright © 1996-2020 Information Builders