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.
Hi All, I am new to web focus and i am working on a web focus project. I need help from you guys to get it done below task. I have a focus mart called item and it has three column as below.I have to read three columns in three variable seprated by comma and '' so that i can use in the query in the IN clause.
Ex: TABLE FILE ITEM PRINT FROM_DEPT FROM_CL FROM_ITEM END
output : &dept &dept = '101','201','301','401'( all the column values of FROM_DEPT) &cl &cl = '10','20','30','40' the above varible i need to use in the below query
ENGINE SQLDBC SET DEFAULT_CONNECTION INVOBIS SQL SQLDBC PREPARE SQL_HOLD_S FOR
SELECT * FROM PROD_V.MDSE_ITEM_KEY_LKUP WHERE TO_CHAR( MDSE_DEPT_REF_I ) IN ( &dept &dept ) and MDSE_class_REF_I IN ( &cl &cl) ; END
Please help me on this.This message has been edited. Last edited by: <Kathryn Henning>,
Assuming that your query on the ITEM table results in 1 single row and that ITEM.FROM_DEPT = '101','201','301','401' and ITEM.FROM_CL = '10','20','30','40', the following should get you going:
TABLE FILE ITEM
PRINT FROM_DEPT FROM_CL FROM_ITEM
ON TABLE SET ASNAMES ON
ON TABLE HOLD AS HPARAM
END
-RUN
-READFILE HPARAM
ENGINE SQLDBC SET DEFAULT_CONNECTION INVOBIS
SQL SQLDBC PREPARE SQL_HOLD_S FOR
SELECT * FROM PROD_V.MDSE_ITEM_KEY_LKUP
WHERE TO_CHAR( MDSE_DEPT_REF_I ) IN ( &FROM_DEPT ) and MDSE_class_REF_I IN ( &FROM_CL) ;
END
HI, Thanks for the note...when i try this i ma getting error saying below.
FOC209) THE DATA VALUE EXCEEDS ITS LENGTH SPECIFICATION: 0165á (FOC209) THE DATA VALUE EXCEEDS ITS LENGTH SPECIFICATION: 0167á (FOC209) THE DATA VALUE EXCEEDS ITS LENGTH SPECIFICATION: 0239á (FOC209) THE DATA VALUE EXCEEDS ITS LENGTH SPECIFICATION: 0252 á (FOC209) THE DATA VALUE EXCEEDS ITS LENGTH SPECIFICATION: 100 (FOC209) THE DATA VALUE EXCEEDS ITS LENGTH SPECIFICATION: 100 (FOC209) THE DATA VALUE EXCEEDS ITS LENGTH SPECIFICATION: 100 0 NUMBER OF RECORDS IN TABLE= 422 LINES= 422 0 ERROR AT OR NEAR LINE 10 IN PROCEDURE merge.fex (FOC303) CONTROL LINE NOT RECOGNIZED IN FOCEXEC: -READFILE HPARAM
the thing is i need to read a column in to amp variable and the column look like below