Focal Point Banner


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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] FOC1850
 Login/Join
 
Gold member
posted
I got the FOC1850 after doing the following:

-* Before join
?FF org_wv_idx
-RUN
FILENAME= ORG_WV_IDX
AGT E01 A8
-*
CHECK FILE org_wv_idx PICTURE RETRIEVE DUPLICATE
-RUN
0 NUMBER OF ERRORS= 0
NUMBER OF SEGMENTS= 1 ( REAL= 1 VIRTUAL= 0 )
NUMBER OF FIELDS= 1 INDEXES= 1 FILES= 1
TOTAL LENGTH OF ALL FIELDS= 8
1SECTION 01
STRUCTURE OF XFOCUS FILE ORG_WV_I ON 11/15/11 AT 15.32.19
SEG01
01 S1
**************
*AGT **I
* **
* **
* **
* **
***************
**************
-*
?FF wv_prod_ebene10
-RUN
FILENAME= WV_PROD_EBENE10
PROD_ID E01 A8
JAHR E02 I6
MONAT E03 I6
JAHR_E E04 I6
MONAT_E E05 I6
JAHR_W E06 I6
MONAT_W E07 I6
AGENTUR E08 A8
VBW_GFELD E09 A1
BEZ E10 A40
KZ_BEWEG_ART E11 A1
BEWEGART E12 A30
BEWSORT E13 I2
STATUS E14 A1
ANZ_BEW E15 P32
SUMME_BEW E16 P33.2
ANZ_UNBEW E17 P32
SUMME_UNBEW E18 P33.2
OFFANAN_SBEW E19 P33.2
OFFANAN_SUNBEW E20 P33.2
OFFANNAN_SBEW E21 P33.2
OFFANNAN_SUNBEW E22 P33.2
ZIEL_EUR E23 D12.2
ZIEL_PRZ E24 D6.2
-*
CHECK FILE wv_prod_ebene10 PICTURE RETRIEVE DUPLICATE
-RUN
0 NUMBER OF ERRORS= 0
NUMBER OF SEGMENTS= 1 ( REAL= 1 VIRTUAL= 0 )
NUMBER OF FIELDS= 24 INDEXES= 5 FILES= 1
TOTAL LENGTH OF ALL FIELDS= 407
1SECTION 01
STRUCTURE OF XFOCUS FILE WV_PROD_ ON 11/15/11 AT 15.32.19
SEG01
01 S14
**************
*PROD_ID **I
*JAHR **I
*MONAT **I
*JAHR_E **
* **
***************
**************
-*
-*
JOIN
AGT IN org_wv_idx TO ALL AGENTUR IN wv_prod_ebene10 AS J_AGT
END
-RUN
-*
-* After join
? JOIN
-RUN
JOINS CURRENTLY ACTIVE
HOST CROSSREFERENCE
FIELD FILE TAG FIELD FILE TAG AS ALL WH
----- ---- --- ----- ---- --- -- --- --
AGT ORG_WV_I AGENTUR WV_PROD_ J_AGT Y N
-*
?FF org_wv_idx
-RUN
FILENAME= ORG_WV_IDX
AGT ORG_WV_IDX.E01 A8
PROD_ID WV_PROD_EBENE10.E01 A8
JAHR E02 I6
MONAT E03 I6
JAHR_E E04 I6
MONAT_E E05 I6
JAHR_W E06 I6
MONAT_W E07 I6
AGENTUR E08 A8
VBW_GFELD E09 A1
BEZ E10 A40
KZ_BEWEG_ART E11 A1
BEWEGART E12 A30
BEWSORT E13 I2
STATUS E14 A1
ANZ_BEW E15 P32
SUMME_BEW E16 P33.2
ANZ_UNBEW E17 P32
SUMME_UNBEW E18 P33.2
OFFANAN_SBEW E19 P33.2
OFFANAN_SUNBEW E20 P33.2
OFFANNAN_SBEW E21 P33.2
OFFANNAN_SUNBEW E22 P33.2
ZIEL_EUR E23 D12.2
ZIEL_PRZ E24 D6.2
-*
CHECK FILE org_wv_idx PICTURE RETRIEVE DUPLICATE
-RUN
0 NUMBER OF ERRORS= 0
NUMBER OF SEGMENTS= 2 ( REAL= 1 VIRTUAL= 1 )
NUMBER OF FIELDS= 25 INDEXES= 1 FILES= 2
TOTAL LENGTH OF ALL FIELDS= 415
1SECTION 01
STRUCTURE OF XFOCUS FILE ORG_WV_I ON 11/15/11 AT 15.32.19
SEG01
01 S1
**************
*AGT **I
* **
* **
* **
* **
***************
**************
I
I
I
I SEG01
02 I KM
..............
:PROD_ID ::
:JAHR ::
:MONAT ::
:AGENTUR ::K
: ::
:............::
.............:
JOINED WV_PROD_EBENE102
-*

If I use only the field AGT in a TABLE FILE all is OK.
Using

TABLE FILE org_wv_idx
BY AGT
BY PROD_ID
END
-RUN

causes the error
(FOC1850) MISMATCH IN NUMBER OF FILES IN COMPONENT OF CONCATENATION

Can somebody help?

Thanks in advance

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Platinum Member
posted Hide Post
MichaelBalle,
Try looking at this link to see if it helps:
Link


WebFOCUS 7.6.9

Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5
Reporting Server OS/400 V5R4M0
Outputs: HTML, Excel, PDF, CSV, and Flat Files
 
Posts: 130 | Location: Columbus, Ohio | Registered: February 25, 2009Report This Post
Gold member
posted Hide Post
I have the same requirement: I have to join to the USE-File not from the USE-File to another one.
And for that case there is no solution.


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Virtuoso
posted Hide Post
If you cannot join from the USE file, then you may be able use a -REPEAT loop and join to each file separately, with results being appended to one output file. For example:

FILEDEF AGT_PROD DISK AGT_PROD.FTM (APPEND
-*
-REPEAT :ENDREPEAT1 FOR &I FROM 9 TO 11
-SET &YR = IF (&I LT 10) THEN ('0' || &I) ELSE &I ;
-*
JOIN CLEAR *
JOIN AGT IN org_wv_idx TO ALL AGENTUR IN wv_prod_ebene&YR AS J_AGT
-*
TABLE FILE org_wv_idx
 BY AGT
 BY PROD_ID
 ON TABLE HOLD AS AGT_PROD FORMAT ALPHA
END
-:ENDREPEAT1
-*
TABLE FILE AGT_PROD
 BY AGT
 BY PROD_ID
END



WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders