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 master file that contains unique person id, email codes, email addresses and address activity date. Four columns of information. There are various kinds of email codes, home, business, school, vendor. A person can have multiple email addresses for one email code. I want to pull the most recent email address by email type for an individual based on the email activity date.
The group by should be by unique id, email code. Then pull the max address activity date of that group of addresses. I can't seem to get this to work. Any ideas in how to go about this? This is what I have so far...
the PIDMEMALCODE is a field that concatenates the unique ID and email code together the where clause is just limiting the results to a manageable size by specifying a couple of unique ID's and one particular email code 'HOME'
TABLE FILE GOREMAL BY LOWEST GOREMAL.GOREMAL.GOREMAL_PIDM BY GOREMAL.GOREMAL.GOREMAL_EMAL_CODE BY HIGHEST GOREMAL.GOREMAL.GOREMAL_ACTIVITY_DATE BY GOREMAL.GOREMAL.GOREMAL_EMAIL_ADDRESS BY GOREMAL.GOREMAL.PIDMEMALCODE WHERE ( GOREMAL.GOREMAL.GOREMAL_PIDM EQ 43175 OR 3305 OR 238805 ) AND ( GOREMAL.GOREMAL.GOREMAL_EMAL_CODE EQ 'HOME' ); ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET ASNAMES ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty, $ ENDSTYLE ENDThis message has been edited. Last edited by: <Kathryn Henning>,
You should also look into adding this as a sub query in your GOREMAIL.MAS file. IBI added this feature to deal with effective dating in PeopleSoft a few years ago. Using a sub query and a passing a variable you should be able to get any point in time results.
I haven't tried it against Banner tables yet, but will in a few weeks. Cheers Peter
Cheers
Posts: 3 | Location: Vancouver, BC | Registered: July 20, 2007