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 retieve data that is not the beginning or the last but its kinda in the middle. The request was to retrieve cases with data in between a data range. (08-01-2005 to 08-01-2006) Then I need to report the docket date of the entry that appears AFTER docket code "WXY58Z" for each case. That docket code can be anywhere within the data range and I have no idea how to do it.
You can write some sort of define that will put a 0 to a virtual field if your docket criteria has not been met, if that docket has been met assisn a 1 to that field. Also as part of that same define have it check that last value of your virtual field. So it would look something like:
DEFINE FILE ... KEY/I1 = IF DOCKET EQ 'WXY58Z' AND LAST KEY EQ 0 THEN 1 ELSE IF LAST KEY EQ 1 THEN 1 ELSE 0; END
then create a new hold file with that same data with WHERE KEY EQ '1'.
dev: WF 7.6.5 w/IIS + Tomcat
prod: WF 7.6.5 w/IIS + Tomcat
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006
DEFINE FILE DOCKET PULL/A1 = IF LAST DOCNO EQ 'S234' THEN 'Y' ELSE 'N'; END
TABLE FILE DOCKET PRINT * WHERE DATE GE '20050801' WHERE DATE LE '20060801' WHERE PULL EQ 'Y' ON TABLE PCHOLD FORMAT EXL2K END -EXIT
Yes this worked ... but NOW they want ALL the data that follows that code for the case. I tried to set the flag to be "y" until the case number changed but its not working ..
Please help! I'm still new at this and appreciate all suggestions.
DEFINE FILE DOCKET PULL/A1 = IF LAST DOCNO EQ 'S234' THEN 'Y' ELSE 'N'; END
Try changing your define so that you check if it is a 'Y' leave it a 'Y'.
IF last PULL EQ 'Y' THEN PULL ELSE .... where your code for the define follows. I put last in lowercase as I'm not sure off head top if it works or if only in computes. If so, then you could compute PULL and do a WHERE TOTAL PULL EQ 'Y'
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
this is what I did and it worked!! But would not have figured it out without eveyones suggestions!!
code DEFINE FILE AA174401 PULL/A1 = IF LAST DOCKCD EQ '&DOCKEX' THEN 'Y' ELSE 'N'; PULL2/A1 = IF PULL EQ 'Y' THEN 'Y' ELSE (IF CASE NE LAST CASE THEN ' '); END -* TABLE FILE AA174401 PRINT DDATE CTYP DESC DOCKCD CSTAND FILEDT BY CASE WHERE PULL2 EQ 'Y' ON TABLE HOLD ... /code