And I'm geting the following error when doing a check. What is wrong with my syntax?
(FOC03601) ERROR AT OR NEAR LINE 686 IN PROCEDURE GS_WS_EXTRACT (FOC396) MASTER ATTRIBUTE REPEATED. TERMINATOR (,$) MISSING?: >JOIN_WHERE< ----------vvvvvvvvvv JOIN_WHERE=VAL_CD EQ 1; ,$This message has been edited. Last edited by: Kerry,
7.7.02 Windows EXCEL, PDF, CSV, TEXT
September 22, 2009, 08:20 AM
Danny-SRL
Ted,
I think that the problem is caused by a limitation to 1 JOIN_WHERE attribute in the master. Try:
JOIN_WHERE=(ZSNV160_RECEIVEABLE.VEH_MAKE_CD EQ ZSNV865_ATTRIBUTE_VALUE.VAL_CD) AND (VAL_CD EQ 1) ; ,$
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
September 22, 2009, 10:32 AM
Ted Michalski
Thanks Daniel! Looks like that may have done it. The example I used had multiple JOIN_WHERE clauses, but this did not give me the error when I did a check.
7.7.02 Windows EXCEL, PDF, CSV, TEXT
September 22, 2009, 11:06 AM
j.gross
According to the book multiples are allowed -- But the closing ,$ for the entire Segment declaration comes at the very end:
Syntax: How to Define a Conditional Join in the Master File
SEGNAME=seg,
SEGTYPE=styp,
PARENT=parseg,
CRFILE=xmfd,
[CRSEG=xseg,
JOIN_WHERE=expression; [JOIN_WHERE=expression; ...]
,$
So remove the first two $'s (after CRFILE=..., and between the two JOIN_WHERE=...; clauses) and you s/b set.
- Jack Gross WF through 8.1.05
September 23, 2009, 04:50 AM
Danny-SRL
Nice going Jack. I searched WebFocus and not FOCUS! Is this not supported in WF? Doesn't seem likely. Not documented? VERY likely...
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
September 24, 2009, 07:33 AM
David Glick
We support Conditional JOINs in the Developer Studio JOIN Tool as well as the JOIN Tool in InfoAssist.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com
1. As I noted above, CRFILE attribute is required in any segment with JOIN_WHERE
2. Same document states: "Conditional joins in the Master File are supported for relational data sources only. The conditions are considered virtual fields in the Master File."
3. The LOCATION attribute applies only to Focus files.