Hi,
I'm using informatica to load data from xml files to our oracle db. I have mapped all the incoming fields and it works. But one problem I'm facing is, I want to have a Load Id to be stored in my database to track relationships.
For example, I have a sample xml like following:
<Customer Id="cust001">
<Addr>
<Street></Street>
<City></City>
...
</Addr>
<Order>
<Items>
<Item>
<ItemId></ItemId>
<Price></Price>
</Item>
...
</Items
</Order>
</Customer>
I have mapped the fields to tables like Customer, Addr, Order etc. Now, for a customer record, I want to put a unique LoadId into Customer, Addr, Order tables which will show the records received together and are related to one customer.
I have tried to create an expression transformation having LoadId (created using sysDate function) and custKey(mapped Customer Id key to this field). And I want to link this LoadId to all the target table/transformation but informatica is not allowing to link from a transformation to other transformations/targets.
Is there a way I can do this? Why I can't link LoadId from on transformation to other transformations/targets ?
Any help would be greatly appreciated.
Thanks
I'm using informatica to load data from xml files to our oracle db. I have mapped all the incoming fields and it works. But one problem I'm facing is, I want to have a Load Id to be stored in my database to track relationships.
For example, I have a sample xml like following:
<Customer Id="cust001">
<Addr>
<Street></Street>
<City></City>
...
</Addr>
<Order>
<Items>
<Item>
<ItemId></ItemId>
<Price></Price>
</Item>
...
</Items
</Order>
</Customer>
I have mapped the fields to tables like Customer, Addr, Order etc. Now, for a customer record, I want to put a unique LoadId into Customer, Addr, Order tables which will show the records received together and are related to one customer.
I have tried to create an expression transformation having LoadId (created using sysDate function) and custKey(mapped Customer Id key to this field). And I want to link this LoadId to all the target table/transformation but informatica is not allowing to link from a transformation to other transformations/targets.
Is there a way I can do this? Why I can't link LoadId from on transformation to other transformations/targets ?
Any help would be greatly appreciated.
Thanks