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 am getting below errors in code . if someone can help me. Thanks in advance.
(FOC1070) VALUE FOR JOIN 'FROM' FIELD OUT OF SEQUENCE. RETRIEVAL ENDED 0 ERROR AT OR NEAR LINE 250 IN PROCEDURE bltx02_summary_29948 (FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: PRE_CNTY 0 ERROR AT OR NEAR LINE 253 IN PROCEDURE bltx02_summary_29948 (FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: PRE_CNTY BYPASSING TO END OF COMMAND (FOC1070) VALUE FOR JOIN 'FROM' FIELD OUT OF SEQUENCE. RETRIEVAL ENDEDThis message has been edited. Last edited by: FP Mod Chuck,
MATCH FILE TAXSTAPD
SUM STATE_NAME STT_CHR
BY STA_CODE
RUN
FILE HOLD
PRINT GEO_CODE TAX_AUTH TAX_TYPE CRE_AMT CREDIT_AMT
SUB_CODE
TAX_CATE RATE SUB_MARKET_CD TAX_AMT
TAX_SRV_CTG TAX_SRV_TYPE
BY STA_CODE
BY GEO_CODE
BY TAX_AUTH
BY TAX_TYPE
WHERE (TAX_AUTH NE 0) AND (TAX_TYPE NE 0)
AFTER MATCH HOLD NEW
END
-RUN
-*
JOIN
SUB_CODE IN HOLD
TO
MARKET_CODE IN TXTMKT AS JMAK
END
-RUN
The Hold file you're creating AFTER MATCH isn't sorted by SUB_CODE.
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
MATCH FILE TAXSTAPD
SUM STATE_NAME STT_CHR
BY STA_CODE
RUN
FILE HOLD
PRINT GEO_CODE TAX_AUTH TAX_TYPE CRE_AMT CREDIT_AMT
SUB_CODE
TAX_CATE RATE SUB_MARKET_CD TAX_AMT
TAX_SRV_CTG TAX_SRV_TYPE
BY STA_CODE
BY GEO_CODE
BY TAX_AUTH
BY TAX_TYPE
WHERE (TAX_AUTH NE 0) AND (TAX_TYPE NE 0)
AFTER MATCH HOLD AS MRGFILE NEW
END
Then add the following before the JOIN
TABLE FILE MRGFILE
PRINT STATE_NAME
STT_CHR
GEO_CODE
TAX_AUTH
TAX_TYPE
CRE_AMT
CREDIT_AMT
TAX_CATE
RATE
SUB_MARKET_CD
TAX_AMT
TAX_SRV_CTG
TAX_SRV_TYPE
BY SUB_CODE
BY STA_CODE
BY GEO_CODE
BY TAX_AUTH
BY TAX_TYPE
ON TABLE HOLD MRGIDX
END
-RUN
JOIN
SUB_CODE IN MRGIDX
TO
MARKET_CODE IN TXTMKT AS JMAK
END
-RUN
DEFINE FILE MRGIDX
STT_CNTY/A5=STT_CHR ;
END
-RUN
-*
TABLE FILE MRGIDX
...
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
(FOC1070) VALUE FOR JOIN 'FROM' FIELD OUT OF SEQUENCE. RETRIEVAL ENDED
The result of your code is ORDERED by 1- STA_CODE 2- GEO_CODE 3- TAX_AUTH 4- TAX_TYPE 5- SUB_CODE So SUB_CODE is the last one which can make the field "OUT of SEQUENCE" due to previous order combination in other BY fields.
MATCH FILE TAXSTAPD
SUM STATE_NAME STT_CHR
BY STA_CODE
RUN
FILE HOLD
PRINT GEO_CODE TAX_AUTH TAX_TYPE CRE_AMT CREDIT_AMT
SUB_CODE
TAX_CATE RATE SUB_MARKET_CD TAX_AMT
TAX_SRV_CTG TAX_SRV_TYPE
BY STA_CODE
BY GEO_CODE
BY TAX_AUTH
BY TAX_TYPE
BY SUB_CODE
WHERE (TAX_AUTH NE 0) AND (TAX_TYPE NE 0)
AFTER MATCH HOLD NEW
END
-RUN
-*
JOIN
SUB_CODE IN HOLD
TO
MARKET_CODE IN TXTMKT AS JMAK
END
-RUN
-*
When you use several MATCH as you did, I suggest to use the "AFTER MATCH HOLD AS aFileName NEW" instead of only "AFTER MATCH HOLD NEW". That way no confusion between several HOLD file. You will know exactly which HOLD file you are using. Then, since you need to MATCH on STA_CODE, then use another step to order by SUB_CODE before your JOIN as I stated previously.
TABLE FILE MRGFILE
PRINT STATE_NAME
STT_CHR
GEO_CODE
TAX_AUTH
TAX_TYPE
CRE_AMT
CREDIT_AMT
TAX_CATE
RATE
SUB_MARKET_CD
TAX_AMT
TAX_SRV_CTG
TAX_SRV_TYPE
BY SUB_CODE
BY STA_CODE
BY GEO_CODE
BY TAX_AUTH
BY TAX_TYPE
ON TABLE HOLD AS MRGIDX
END
-RUN
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
After the AS, you need to put a file's name such as below and use that file's name :
...
AFTER MATCH HOLD AS MRGFILE_A OLD-OR-NEW
END
-RUN
-*
MATCH FILE TAXSTAPD
SUM STATE_NAME STT_CHR
BY STA_CODE
-RUN
FILE MRGFILE_A
PRINT GEO_CODE TAX_AUTH TAX_TYPE CRE_AMT CREDIT_AMT
SUB_CODE
TAX_CATE RATE SUB_MARKET_CD TAX_AMT
TAX_SRV_CTG TAX_SRV_TYPE
BY STA_CODE
BY GEO_CODE
BY TAX_AUTH
BY TAX_TYPE
WHERE (TAX_AUTH NE 0) AND (TAX_TYPE NE 0)
AFTER MATCH HOLD AS MRGFILE NEW
END
-RUN
-*
-* Start change
TABLE FILE MRGFILE
PRINT STATE_NAME
STT_CHR
GEO_CODE
TAX_AUTH
TAX_TYPE
CRE_AMT
CREDIT_AMT
TAX_CATE
RATE
SUB_MARKET_CD
TAX_AMT
TAX_SRV_CTG
TAX_SRV_TYPE
BY SUB_CODE
BY STA_CODE
BY GEO_CODE
BY TAX_AUTH
BY TAX_TYPE
ON TABLE HOLD AS MRGIDX
END
-RUN
-* End change
JOIN
SUB_CODE IN MRGIDX
TO
MARKET_CODE IN TXTMKT AS JMAK
END
-RUN
-*
DEFINE FILE MRGIDX
STT_CNTY/A5=STT_CHR ;
END
-RUN
-*
TABLE FILE MRGIDX
...
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
MATCH FILE TAXSTAPD
SUM STATE_NAME STT_CHR
BY STA_CODE
-RUN <==== This should be "RUN", not "-RUN"
FILE HOLD
PRINT GEO_CODE TAX_AUTH TAX_TYPE CRE_AMT CREDIT_AMT
SUB_CODE
TAX_CATE RATE SUB_MARKET_CD TAX_AMT
TAX_SRV_CTG TAX_SRV_TYPE
BY STA_CODE
BY GEO_CODE
BY TAX_AUTH
BY TAX_TYPE
WHERE (TAX_AUTH NE 0) AND (TAX_TYPE NE 0)
AFTER MATCH HOLD AS NEW
END
-RUN
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
I just realized that you have a lot of -SET such as above that are missing the amper (&). Do you know that the result of this is giving nothing ?
And as for
quote:
(FOC1070) VALUE FOR JOIN 'FROM' FIELD OUT OF SEQUENCE. RETRIEVAL ENDED
We are back to the same error for which we already answered : SUB_CODE is not in the BY fields (and I suggested to have it as the first BY from another step after the MATCH and BEFORE the JOIN)
MATCH FILE TAXSTAPD
SUM STATE_NAME STT_CHR
BY STA_CODE
RUN
FILE HOLD
PRINT GEO_CODE TAX_AUTH TAX_TYPE CRE_AMT CREDIT_AMT
SUB_CODE
TAX_CATE RATE SUB_MARKET_CD TAX_AMT
TAX_SRV_CTG TAX_SRV_TYPE
BY STA_CODE
BY GEO_CODE
BY TAX_AUTH
BY TAX_TYPE
WHERE (TAX_AUTH NE 0) AND (TAX_TYPE NE 0)
AFTER MATCH HOLD NEW
END
-RUN
-*
JOIN
SUB_CODE IN HOLD
TO
MARKET_CODE IN TXTMKT AS JMAK
END
-RUN
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Your problem is in this line. What do you want to do after match?
AFTER MATCH MRGFILE_A FORMAT FOCUS INDEX NEW
Has this code ever worked? It seems like you're debugging someone's very complex application. There are some basic techniques that you have to apply before we can effectively help you. For instance, when you have code like this, you ought to take advantage of -EXIT and -TYPE and ECHO=ALL so you can see what is triggering the errors one step at a time. If you aren't familiar with these syntax, you ought to start reading up on Dialogue Manager in the documentation first.
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
You have so many invalid code (such as -SET without an ampersand (&) and "AFTER MATCH MRGFILE_A FORMAT FOCUS INDEX NEW", to give a few...) and not able to follow provided sample/suggestion/steps that you MUST contact IB Support.
We're in a loop trying to help. I stop trying to help you. Sorry
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Sorry for all the trouble. but i have been trying many thing to resolve the issue. I tried contacting IB support but could not. Can u please suggest me how can I contact IB as this is the first time i will be contacting them.
Thanks a lot for all your help. and sorry for trouble.
Go to http://techsupport.informationbuilders.com and click on case management. It will ask you to sign in so since this is your first case you will have to create an account. This requires you know your site code.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005