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.
And the join is: JOIN TESTHF2.TESTHF2.DISCHGDATE IN TESTHF2 TO MULTIPLE CALENDAR.CALENDAR.KEYDATE IN CALENDAR AS J3 END
I've tried a focus hold file with index as in: ON TABLE HOLD AS DDAD FORMAT FOCUS INDEX 'DISCHGDATE' then I get 'description cannot be found for file DDAD
If I dont use a hold file, I get (FOC1101) THIS INTERFACE DOES NOT SUPPORT THE GLOBAL JOIN
See code: TABLE FILE TESTHF2 PRINT DISCHGDATE MEDREC ADMDATE FNAME LNAME FIELD_6 HF1 DSINSTADMD DSINSTADAC DSINSTADDI DSINSTADFU DSINSTADSW DSINSTADWT UNIT HF1_FORM ON TABLE HOLD END JOIN DISCHGDATE IN TESTHF2 TO UNIQUE CALENDAR.CALENDAR.KEYDATE IN CALENDAR AS J3 END TABLE FILE TESTHF2 PRINT YEAR WEEKOF HEADING "" FOOTING "" [end]
Thank you GmThis message has been edited. Last edited by: Kerry,
WebFocus 762,7611, 7.7.02 XP for Dev/test; Linux Prod 7.6.2; MRE
Posts: 21 | Location: NYC | Registered: February 09, 2009
I would suggest TABLEing each COM file and HOLDing, as different names, then joining them.
Your code above HOLDs the TESTHF2, but your join does not use it.
TABLE FILE CALENDAR
PRINT ...
ON TABLE HOLD AS HLD_CALN
END
JOIN
DISCHGDATE IN TESTHF2 TO UNIQUE KEYDATE
IN HLD_CA AS J3
END
TABLE FILE TESTHF2
PRINT
YEAR
WEEKOF
HEADING
""
FOOTING
""
[end]
You could also try to use the MATCH FILE command. No need for joins. No need for converting to focus format. The result of the MATCH FILE is a hold file that has all data in it. Sometimes I find this easier to use than JOIN.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007