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.
Francis, I like the way you always explain what you are doing...rather then just a bunch of random numbers. -* SUBSTR(inlength, parent, start, end, sublength, outfield) FIELD1A/A500 = SUBSTR(4000, FIELD1, 1, 500, 500, 'A500');
Thanks...
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
I saw that scenario and I tried it, I think! I've tried so many things. I'll try again to be sure. And the letter vs number thing, yeah, checked all that too. Very frustrating.
vickie
Posts: 37 | Location: Springfield, MA | Registered: December 03, 2004
Me again. Was talking to a fellow programmer and he agrees that maybe the error is not the substring but something just before it such as a missing semi-colon in another define. He looked at the syntax, he uses it all the time to parse large strings when he doesn't want to create an mfd to look at parts of a file record.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
Unfortunately, it appears that the SUBSTR function only works on fields of 4096 characters or less, anything higher and you get the misleading FOC280 message.<br /><br />Here's my test code:
Maybe some manipulation of the Master may work. Try changing the alpha field to a text field (that probably won't work with the SUBSTR). I'm not sure of the CLOB data type, never worked with them, but that might work.<br /><br />Good luck.This message has been edited. Last edited by: <Mabel>,
Since the problem seems to be that your field is more than 4096 characters, have you tried simply breaking it up into two A3500 fields in the master? If that master is being used by some update program, and can't be changed, you can simply create a second master to point to the same physical file.
Actually, now that I think of it, you could define that string as several A500 fields in the master itself. Unless I'm missing something.
Posts: 135 | Location: Portland, OR | Registered: March 23, 2005