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     mapping unprintable characters to blank

Read-Only Read-Only Topic
Go
Search
Notify
Tools
mapping unprintable characters to blank
 Login/Join
 
Gold member
posted
Hi All,

I've got a file that contains a handful of records with a variety of unprintable characters in a field. I'd like to map these unprintable characters to blank for a report I am writing. I suppose I could use CTRAN for each type of unprintable character in a DEFINE, but I'm wondering if anyone has a nicer more elegant solution.
-James


WF 7.1.6 moving to WF 7.7, Solaris 10, HTML,PDF,XL
 
Posts: 83 | Location: Dartmouth Hitchcock Medical Center | Registered: April 17, 2003Report This Post
Virtuoso
posted Hide Post
Nothing that I am aware. do the unprintable characters cause issues with printing? When you say 'unprintable' are they also ones that don't display well either? CTRAN is the only thing I know of, unless you wanted to step through each character and have a decode file.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Platinum Member
posted Hide Post
Couple of questions: (1) Does this field contain both printable characters you want to keep and the unprintable ones you want to convert to blanks, or is it all one way or the other? (2) How long is this field?


Data Migrator 5.3, 7.1, 7.6
WebFOCUS 7.1, 7.6, 7.7
SQL Server, Oracle, DB2
Windows
 
Posts: 126 | Registered: January 18, 2007Report This Post
Expert
posted Hide Post
i use CTRAN, jb, and i have had to copy and paste the 'unprintable' (which usually shows up as a goofy box) into a BYTVAL function i order to figure out what value to translate to a 32.
You could try the BITVAL as well, directly on the character in question, if copypaste isn't an option for you.
CTRAN works fine for me.




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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     mapping unprintable characters to blank

Copyright © 1996-2020 Information Builders