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.
jason, remember to put code tags around your snippets, especially if they contain any brackets that this board will consider to be html tags. As Prarie suggests, one way is to first extract that value as an &var. TABLE FILE thing PRINT D_PL .. ON TABLE SAVE END -RUN -READ SAVE &D_PL.A8 (how however long it is) -TYPE &D_PL and then see what sort of editing you need to do to the field to get it in shape TABLE FILE thing ... BY D_PL AS " &D_PL "
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Yes, your D_PKL field is a VarChar field. When holding it, the way this is done is to first put the number of bytes actually accopied followed by the actual characters. So 000007 is the length of the field, the value is October. Do a -READ &x.6 &D_PL.8 (or whatever the real length may be), skipping the first 6 (=length of the field) bytes.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
yeah, the leading zero thing with alpha versions of numbers...you have to then do a bit of cleanup edit.. I'ld probably use the TRIM function. (Look up the text string functions section in manual #4 Using Functions.) When you SAVE or even HOLD FORMAT ALPHA the numeric values are automatially saved as ALPHA and leading zeros pack out the front of any numeric field. TRIM will remove either leading or trailing instances of a specified character, in this case a 0. Prarie's way uses the numeric field right out of the data..no leading zero prob..you can tinker with lining up the SUBHEAD, if you wanted to go that route.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003