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     [CLOSED] Wrapping Long Text Fields with No Spaces

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Wrapping Long Text Fields with No Spaces
 Login/Join
 
Gold member
posted
I have field read_value which has values like:
1727101BDD00BAC20000DD01000002DD0232DD043FDD0542DD0666F4030101F40400F40540F40680F40780F40880F40980F40C0000F40D00F40E00F40F00F4100000F41129F42F09F44927F44A27FD9001FDA10000FDA300FDA45BFDA65B

I want to wrap this field but the wrap does not work because there are no spaces.

TABLE FILE SQLOUT
PRINT
SESSION_KEY AS 'Session'
TEST_TYPE AS 'Test,Type'
EXECUTION_SEQUENCE AS 'Execution,Sequence'
MODULE_ID AS 'Module,ID'
MODULE_TITLE AS 'Module,Title'
DATA_READ_NAME AS 'Data,Read Name'
READ_VALUE AS 'Value'
ON TABLE PCHOLD FORMAT HTML

There is no fixed pattern of the string, i cannot even use a Delimiter to insert a space using STRREP, Could anyone please suggest a possible work around?

This message has been edited. Last edited by: <Kathryn Henning>,


Webfocus 8105,8808,7703,7611, EXL2K,HTML,PDF,COMT,AHTML Info Assist+ , Reportcaster
 
Posts: 64 | Location: Toronto, Ontario | Registered: May 15, 2014Report This Post
Virtuoso
posted Hide Post
One option is to use a text field and set the length of the field to the desired wrap length:

DEFINE FILE CAR
LONG_TEXT/TX50 WITH COUNTRY = 
'1727101BDD00BAC20000DD01000002DD0232DD043FDD0542DD0666F4030101F40400F40540F40680F40780F40880F40980F40C0000F40D00F40E00F40F00F4100000F41129F42F09F44927F44A27FD9001FDA10000FDA300FDA45BFDA65B';
END
-*
TABLE FILE CAR
PRINT COUNTRY LONG_TEXT
END


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Platinum Member
posted Hide Post
Hints:

1. investigate the PARAG function

2. Investigate "TEXT" field format


Jim Morrow
Web Focus 7.6.10 under Windows 2003
MVS 7.3.3



 
Posts: 129 | Registered: June 01, 2005Report 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     [CLOSED] Wrapping Long Text Fields with No Spaces

Copyright © 1996-2020 Information Builders