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 need to replace to Number to character. I have one input file and it contains 5 digit number value like 12345. i need to replace this value to ABCDE and store to focus file.
can you please give me some idea how to do this one?This message has been edited. Last edited by: Kerry,
You can use the EDIT function to convert an integer to an alpha. E.g.
FLDA/A5=EDIT(FLDI);
assume that the format of FLDI is an A5. This is just an example.
If your numeric field is format P, F, or D, use PTOA and FTOA respectively to convert to alpha. The format for these functions can be found in the Functions manual or in Help.This message has been edited. Last edited by: GinnyJakes,
Hard to say, Waz. You have to go with what he asked first. Then if it is more complex, he'll have to give us more detail. Is it a fixform input string to a MODIFY? Does he want to overlay a portion of a file? I tend to start with the KISS method and go up from there.
Raghuraman, you can use EDIT or PTOA/FTOA as mentioned above to convert your numeric field to a string; p.e. 12345 will be represented as '12345'.
Once you have that, you may use the STRREP function to replace your digits with letters. You may need to use the STRREP multiple times, most likely once for each digit you will be converting.
Check for documentation a/o examples on STRREP and the other functions previously mentioned.
Maybe he is trying to implement some type of weak encryption? It's hard to tell until he decides to provide more detailed information.This message has been edited. Last edited by: njsden,