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     LCWORD - Does it always work?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
LCWORD - Does it always work?
 Login/Join
 
Silver Member
posted
I have upper case text that I need to put into 'Proper' case. Looked into the function and found LCWORD. Excellent I thought. I will use that. Had a look at my extract (EXL2K) and it is doing something strange.

It is putting in extra characters and creating new words in my addresses. For example "Macclesfield CHESHIRE" changes to "Macclesfield Cheshirethtekr".

The field I am converting is set up as an A100V. Is there a limit or is it having an off day.

Regards


DevStudio 7.6.1. SQL Server 2005
 
Posts: 31 | Location: Basingstoke - England | Registered: September 17, 2007Report This Post
Master
posted Hide Post
You need to assign to A100 first since the A100V has its data prefixed by a length and the result will be unpredictable since LCWORD is meant to work with fixed data.

Some of the subroutines have counterparts that are supposed to work with variable length strings - I am not sure about LCWORD.



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
Silver Member
posted Hide Post
Thanks for that. I changed the format in the master file and removed the Variable and it has done the trick.

Cheers


DevStudio 7.6.1. SQL Server 2005
 
Posts: 31 | Location: Basingstoke - England | Registered: September 17, 2007Report This Post
Expert
posted Hide Post
This subject may be of interest to you: "Character Functions for AnV Fields". Look for it in the WebFOCUS Functions manual. There are "character functions created specifically for use with AnV fields", like LOCASV and UPCASV, but oddly enough, no Mixed Case function.


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
Silver Member
posted Hide Post
Cheers. I shall look those up


DevStudio 7.6.1. SQL Server 2005
 
Posts: 31 | Location: Basingstoke - England | Registered: September 17, 2007Report 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     LCWORD - Does it always work?

Copyright © 1996-2020 Information Builders