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.
Hello Everyone, I‘ve a problem picking correct phone number. For Ex. The following example the person’s current resident phone number is 2’nd row and the phone number is “222-222-2222”. The I’st row is that person’s former address. For ex.If another person has ten former address, it is keep on adding at the top and current address is somewhere in the middle or last. Our phone number table data is little bit messed up. My problem is to hard pick the current resident phone number. I appreciate any thought regarding this issue.
Id pos Phone Number Phone Type 1111 1 111-111-1111 H 2222 2 222-222-2222 H 3333 3 333-333-3333 W
So how do you identify the current? Is there a date on the record or something like that? There has to be something there that you can test or sort on.
Thanks ginny for your quik reply, I usally use where criteria WHERE POS EQ "1" for getting the current resident phone numer .But after the phone number migration phone table structure got changed. Now POS EQ "1" is former address phonenumber.
As Ginny says it would be most unusual for a data source not to identify the current or active value.
However if it always the last entry, then using SUM on an alpha field always populates with the 'last' value (providing you do not do anything to change the sort order).
for example
TABLE FILE CAR PRINT MODEL BY COUNTRY WHERE COUNTRY EQ 'ENGLAND' END -RUN TABLE FILE CAR SUM MODEL BY COUNTRY WHERE COUNTRY EQ 'ENGLAND' END
If you genuinely want some summated items and some print items use a multi-verb request. (but again do not mess with the sort order of the incomming data.
TABLE FILE CAR SUM MODEL BY COUNTRY PRINT MODEL BY COUNTRY END
JG: Yes it is. -- To rephrase that in more universal terms, the challenge seems analogous to solving 2 simultaneous linear equations in 5 variables: No solution without more information.
Back to topic:
VJ:
If there are no surviving attributes for dating or sequencing the rows ... My next tack would be a comparison (think MATCH FILE) of the present data-store against the original (you do have backups, right?). With a little experimentation one should be able to determine the most-current as of the old file's provenance date, and identify rows added or changed subsequently. Even if that leaves some residual ambiguities, it should reduce the volume to the point where it can be ironed out manually.
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Can be done in two passes. 1st pass : create a HOLD1 file all the records WHERE REROCRDS OMITES '-' (as the line with - will be the phone record) along with the KEY
2nd Pass : create HOLD1 file for WHERE RECORD CONTAINS '-' along with KEY