Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Zero loaded instead of integer values
Go
New
Search
Notify
Tools
Reply
  
Zero loaded instead of integer values
 Login/Join
 
Member
posted
Hi All,

I am loading data from Table A to Table B, both the table structure and datatype as same.

All the columns are loaded properly but one column is loaded as zero instead of Table A data.

Value 0 is loaded for all the rows for that particular column remaining column data are fine.

Could anyone please help me on this?


Webfocus 7702, Windows server 2008
 
Posts: 21 | Registered: December 20, 2011Reply With QuoteReport This Post
Expert
posted Hide Post
Can you post the code ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6119 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
Hi Waz,

It is a direct pass through and mentioned query below generated by DMC.

SELECT DISTINCT
T1.ORGANIZATION_ID ,
T1.INVENTORY_ITEM_ID ,
T1.CATEGORY_SET_ID ,
T1.CATEGORY_ID ,
T1.LAST_UPDATE_DATE ,
T1.LAST_UPDATED_BY ,
T1.CREATION_DATE ,
T1.CREATED_BY ,
T1.LAST_UPDATE_LOGIN ,
T1.REQUEST_ID ,
T1.PROGRAM_APPLICATION_ID ,
T1.PROGRAM_ID ,
T1.PROGRAM_UPDATE_DATE ,
T1.WH_UPDATE_DATE
FROM
mtl_item_categories T1

In the above query all the columns are loaded fine except T1.INVENTORY_ITEM_ID column.

Please help me on this?


Webfocus 7702, Windows server 2008
 
Posts: 21 | Registered: December 20, 2011Reply With QuoteReport This Post
Expert
posted Hide Post
I'm not an Iway person, but is there any transforms or function on the investory item field ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6119 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
Hi Waz,

Thanks for your response.

Haven't used any transformation , its a direct pull from source to target.


Webfocus 7702, Windows server 2008
 
Posts: 21 | Registered: December 20, 2011Reply With QuoteReport This Post
Expert
posted Hide Post
Just a silly question.

Is source INVENTORY_ITEM_ID associated with the destinations INVENTORY_ITEM_ID ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6119 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Guru
posted Hide Post
It looks like you are using DataMigrator. What release are you using?

Just to be clear you are not using what we call Direct Pass Through which refers to database specific SQL dialect that is passed through to the underlying relational database as is. While the DMC never generates such you can write it in a DBMS SQL Flow.

Is the target a New or Existing table?

If New the transformations from source to target are implied, you don't need to specify them.

For existing you do need what we call a transformation for each column you want loaded (we call them that even if they are just doing a simple assignment).

So I would phrase Waz's last question, is there a transformation for INVENTORY_ITEM_ID?

If not, and the column is NOT NULL (MISSING is not checked in the synonym editor for the field) then you would indeed get zero's loaded.

This message has been edited. Last edited by: Clif,
 
Posts: 384 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Zero loaded instead of integer values

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.