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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] inserting record from webfcous to teradata tables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] inserting record from webfcous to teradata tables
 Login/Join
 
Member
posted
Hi,
i have master file called item which is created from the csv file. i want to insert the item records in to the teradata table which has same structure as of master file item. But i am uable to do it. The below one is my approach. Kindly help on this.

it is working when i insert the harcode value like this
INSERT INTO DLBIS_ADHOC_TEAM.ITEM_MERGE VALUES('038','05','0416','037','05','0663');

it is not wrking when i try like below
ENGINE SQLDBC SET DEFAULT_CONNECTION INVOBIS
SQL SQLDBC
INSERT INTO DLBIS_ADHOC_TEAM.ITEM_MERGE
SELECT FROM_DEPT ,FROM_CL ,FROM_ITEM, TO_DEPT,TO_CL, TO_ITEM FROM ITEM;
END


TABLE FILE SQL_HOLD_S
PRINT *
END
-EXIT

Please help meSmiler

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8
Windows, All Outputs
 
Posts: 8 | Registered: March 11, 2015Report This Post
Virtuoso
posted Hide Post
Which error do you get, if so ?

What are the format of the fields in your item master file ? When you do it manually you are inserting characters, are you doing the same from the other process ?


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, 2013Report This Post
Member
posted Hide Post
Hi Martin,

the format of the fields in the item master file is A10. And the format of the teradata table column is also var char(10).
i get error saying that thet item procedure is not identified.

please suggest me


WebFOCUS 8
Windows, All Outputs
 
Posts: 8 | Registered: March 11, 2015Report This Post
Virtuoso
posted Hide Post
It may not be important, but A10 is not "necessarily" the same thing as varchar(10).

A10 is more than a char(10) which is a fixed length where varchar(10) is A10V if we want to be specific. But it's probably not your issue.

First, try to execute the SELECT ... FROM ITEM alone which is seems to be where the issue is from to be sure that it works.

Second, search for the received error on TechSupport when trying to insert in DB. Maybe you'll have other ways to investigate and resolve. Always better to do it step by step.


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, 2013Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] inserting record from webfcous to teradata tables

Copyright © 1996-2020 Information Builders