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.
I have a challenge I have a field that I need to either remove or translate ' from not sure if its apostrophe or grave but i have never encounterd a field formatted like this before. its a TX50 , I know but that's what the report painter displays.
I started out with strip to no good and also tried CTRAN before I discovered the filed was not in fact an A4000 so any pointers will be appreciatedThis message has been edited. Last edited by: FP Mod Chuck,
Correct me if I am wrong, but TX is just the USAGE format. It says the field is text and display in lines of 50 characters per line. The ACTUAL format is A4000 or maybe even A4000V if it is a field in a relational table. Either way, DEFINE a field as A4000, set it equal to the text field and go from there.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006
The master file description says the actual is TX and the usage is TX50
quote:
Originally posted by jgelona: Correct me if I am wrong, but TX is just the USAGE format. It says the field is text and display in lines of 50 characters per line. The ACTUAL format is A4000 or maybe even A4000V if it is a field in a relational table. Either way, DEFINE a field as A4000, set it equal to the text field and go from there.
Tried that also tried SQL pass thru with dbms_lob.substr(adrconf_comment, 3900, 1) from alumni.adrconf
still characters showing incorrectly
quote:
Originally posted by jgelona: Correct me if I am wrong, but TX is just the USAGE format. It says the field is text and display in lines of 50 characters per line. The ACTUAL format is A4000 or maybe even A4000V if it is a field in a relational table. Either way, DEFINE a field as A4000, set it equal to the text field and go from there.
Let me be more specific. In our application we have hundreds of not thousands of small to large, freeform text fields. Everything from 50 characters to 4000 characters. I know this works.
In your master you have a field like this:
FIELD=TXT01 , LOC_TXT, TX50 , TX ,$
Now add this to the master:
FIELD=TXT01V, LOC_TXT, A4000 , A4000 ,$
If you want, could add a DEFINE to the master like this:
DEFINE TXT01V/A4000=TXT01;
Now do your function operations on TXT01V.
Either way should work
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006
Sorry that is taken so long to test this I am still not able to get this to work. evin with define in the MFD i have not been able to get either strip, strrep or CTRAN to work.
However as HTML the character renders correctly. could I hold this file in some format and then read? I have even tried SQL passthru and wind up with the same characters.
If someone can tell me how to attache an image to this post ill be glad to do that