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     Dialogue Manager variables > 12 characters

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Dialogue Manager variables > 12 characters
 Login/Join
 
Expert
posted
This is annoying: you can create DM variables with names longer than 12 characters, but you can't use them in [some?] functions.

-SET &ECHO=ALL;

-SET &PRD_END_DT = '20070131';
-TYPE &PRD_END_DT

-SET &PRD_DTX = LCWORD(17,CHGDAT('YYMD', 'MXDYY', &PRD_END_DT.EVAL, 'A17'), 'A17');
-TYPE &PRD_DTX

-SET &PERIOD_END_DT = '20070131';
-TYPE &PERIOD_END_DT

-SET &PERIOD_DTX = LCWORD(17,CHGDAT('YYMD', 'MXDYY', &PERIOD_END_DT.EVAL, 'A17'), 'A17');
-TYPE &PERIOD_DTX

And you can't plant one of these in an HTMLFORM:

-SET &ECHO=ALL;

-SET &PRD_END_DT    = '20070131';
-SET &PERIOD_END_DT = '20070131';

-HTMLFORM BEGIN
!IBI.AMP.PRD_END_DT;
!IBI.AMP.PERIOD_END_DT;
-HTMLFORM END


Not very consistent. Has this been cleaned up in versions newer than 5.3.2?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Francis,

There was a case raised on this issue and I believe that it was fixed from 7.1.3 (?) onwards. I remember checking that specifc problem at my last client.

Unless of course BGH reintroduce it as is their wont!!!!

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
I tested that 2nd bit for you, my developeer friend, in 716, and it indeed doesn't work; i get the first var, not the 2nd.
I tested all your first bits, and they do work.




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
Expert
posted Hide Post
Reintroduction is the new progression !! Frowner

Or is it that the UWS were not fully tested (surely not)!

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
The manual for 7.1 still states that a DM variable can be up to 12 characters. I assume this does NOT include the hyphen "-".

-THISWORKS (9 characters not including -)

-THISWORKSTOO (12 characters not including -)

-THISISTOOLONG (13 characters not including -)


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
Mickey,

A few too many sherbets last night? Those are labels and not variables.

Pass the bottle please Smiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
Eeker

Not so much sherbert but lack of coffee.

Sorry guys. I was looking at labels the other day in the manual and I guess my brain connections got crisscrossed.

I'm going to go get coffee now. Roll Eyes


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
I'd put it down to the DST changes three weeks ahead of time Smiler

Black no sugar for me please Wink

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
what the sam hill is a UWS?




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
Expert
posted Hide Post
Susannah,

The UWS manual was one that we kept close to hand and contained all of the User Written Subroutines. It also held information on how to create a UWS and tips on compilation etc.

Now we have the FUNCTION syntax in WF the need to create a new UWS is somewhat negated but the UWS manual (now renamed the "Using Functions" manual) is still one to be kept nearby as it contains all the functions such as AYMD, CHGDAT, CHKPCK, HEXBYT, BYTVAL etc.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     Dialogue Manager variables > 12 characters

Copyright © 1996-2020 Information Builders