Search found 28 matches

by amit.jaiswal_ATL
Thu May 14, 2015 11:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting or Updating Xml data into Oracle table
Replies: 4
Views: 4314

We have XML_VALUE column as BLOB in Oracle Table and we are using LongVarBinary data type for this column in DataStage which is working fine. You may want to try this option. FYI, we are using Oracle Connector Stage in DS 9.1 and 11.3.
by amit.jaiswal_ATL
Tue May 12, 2015 8:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Usage of BAPI as a lookup (pass value and return the result)
Replies: 0
Views: 1599

Usage of BAPI as a lookup (pass value and return the result)

Hello All, I have a requirement where I want to pass a parameter value and a column value from the source and fetch the result from SAP table. If it returns the value then I have to use one logic using the return result and if it does not return any value back then I will have to implement another b...
by amit.jaiswal_ATL
Thu Mar 26, 2015 12:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Output Stage formatting issue
Replies: 2
Views: 1867

XML Output Stage formatting issue

Hello All, Below is my requirement related to inner XML block, -<s:LineItems> <s:Code>0000</s:Code> -<s:Values> <s:CodeValue>01</s:CodeValue> </s:Values> -<s:Values> <s:CodeValue>02</s:CodeValue> </s:Values> -<s:Values> <s:CodeValue>03</s:CodeValue> </s:Values> </s:LineItems> Below is what I am gett...
by amit.jaiswal_ATL
Thu Mar 05, 2015 1:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LongVarBinary to BLOB column issue
Replies: 3
Views: 3478

Hello All,

I have used UStringToString function to change this from Unicode to ANSI to resolve this issue. This is now giving me desired result.

Thanks.
by amit.jaiswal_ATL
Thu Mar 05, 2015 11:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LongVarBinary to BLOB column issue
Replies: 3
Views: 3478

Additional information: 1. Inside job we are using XML Output encoding as UTF8. 2. While storing the XML in BLOB using DataStage it is storing it as PC-Unicode type of file. However, SeeBeyond is storing it as PC-ANSI 3. We have removed 'Unicode' property from the Extended drop down under table defi...
by amit.jaiswal_ATL
Thu Mar 05, 2015 10:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LongVarBinary to BLOB column issue
Replies: 3
Views: 3478

LongVarBinary to BLOB column issue

Hello All, We are converting our applications from SeeBeyond to DataStage-9.1/11.3. In one of the Job we have to store XML objects in Oracle BLOB column. We have used LongVarBinary in datastage to map it to BLOB column in Oracle. There is some weird thing happening and we are unable to understand it...
by amit.jaiswal_ATL
Fri Feb 20, 2015 10:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Output stage repetitive data elements issue
Replies: 9
Views: 4543

Thanks Ray for your suggestions. I defined the "Value" column (Column-B) as a Key column in the Input of XML Output Stage and it gave me expected result.
by amit.jaiswal_ATL
Wed Feb 18, 2015 5:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Output stage repetitive data elements issue
Replies: 9
Views: 4543

Thanks Ray. Unfortunately, it is a single line XML block. Any solution for this scenario?
by amit.jaiswal_ATL
Wed Feb 18, 2015 4:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Output stage repetitive data elements issue
Replies: 9
Views: 4543

Thanks Ernie. To remove extra data elements in XML because of DummyKey I am looking for any option. So far I could not figure out any solution. Here is what I have to achieve: My XML structure <s:LineItems> <s:Code>2810945</s:Code> <s:Values> <s:DummyKey>123</s:DummyKey> <s:CodeValue>S</s:CodeValue>...
by amit.jaiswal_ATL
Tue Feb 17, 2015 8:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Output stage repetitive data elements issue
Replies: 9
Views: 4543

Thanks Ernie for your reply. I am just wondering, after adding dummykey element with it's value (counter 1,2,3, etc) in the XML data block, how to cleanup this from that XML block in the subsequent transformer? Are you suggesting to use function like ereplace and replace dummykey elelments with ZERO...
by amit.jaiswal_ATL
Tue Feb 17, 2015 3:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Output stage repetitive data elements issue
Replies: 9
Views: 4543

XML Output stage repetitive data elements issue

Hello All, I have below values in the source: COL-A COL-B 2810945 S 2810965 S 2810985 S 4025390 H 4041510 B 4041512 B I am expecting below XML structure <s:LineItems> <s:Code>2810945</s:Code> <s:Values> <s:CodeValue>S</s:CodeValue> </s:Values> </s:LineItems> <s:LineItems> <s:Code>2810965</s:Code> <s...
by amit.jaiswal_ATL
Tue Feb 17, 2015 3:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Output unable to generate multiple namespaces
Replies: 2
Views: 1844

Thanks Ernie. I used option-2 and used Ereplace function to add the namespaces and it worked as expected. Thanks for your help!
by amit.jaiswal_ATL
Mon Feb 16, 2015 7:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Output unable to generate multiple namespaces
Replies: 2
Views: 1844

XML Output unable to generate multiple namespaces

Hello All, I am reading data from a table and creating XML blocks and storing in the Oracle target table as BLOB. I am using Oracle Connector Stage ==> XML Output Stage ==> Transformer Stage ==> XML Output Stage ==> Oracle Connector Stage to generate below XML. I am able to generate XML structure an...