Search found 124 matches

by mac4rfree85
Mon Sep 05, 2011 4:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rows Getting Rejected in transformer
Replies: 3
Views: 2239

Rows Getting Rejected in transformer

Hi guys, My job is a simple job with a Source(Oracle DB) , a transformer and Target(oracle Db). From source, i am getting 2 columns. In transformer, i will pass only one column(col1) and in constraint i am giving the IsNull(Col2). The Col1 is Varchar(15) both in source and target. But for some reaso...
by mac4rfree85
Tue Aug 30, 2011 12:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DATASTAGE Upgrade from Server 7.5.2 to Parallel 8.1
Replies: 5
Views: 4183

The Transformer should not have mapping for the column in which you are populating the NEXTVAL value.
so, your transformer should have only mappings for 7 columns excluding the column in which you will be passing the NEXTVAL value.
by mac4rfree85
Mon Aug 29, 2011 3:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need to convert dd-mm-yy to yyyymmdd format
Replies: 1
Views: 1751

Need to convert dd-mm-yy to yyyymmdd format

Hi Guys,

I am getting a string in the format dd-mm-yy which i want it to convert it to yyyymmdd format. Can somebody help me.

Code: Select all

I/P                             O/P
21-01-86             19860121
23-03-08              20080323
Cheers!!!!
by mac4rfree85
Mon Aug 29, 2011 3:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting CR and LF to Empty stirng
Replies: 4
Views: 2360

Yeah Ray, i found it later.. thanks anyway.. :)
by mac4rfree85
Sat Aug 27, 2011 3:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting CR and LF to Empty stirng
Replies: 4
Views: 2360

Converting CR and LF to Empty stirng

Hi Guys,

I like to convert CR and LF which is coming in a particular column to Empty string.

I tried the following but it was not converted.

Code: Select all

Convert('chr(10)chr(13)','',COLNAME)
Can somebody help me with this.

Cheers!!!
by mac4rfree85
Sat Aug 27, 2011 3:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help in rectifying Pivot Warning
Replies: 2
Views: 1481

There is no time field. There is only one Timestamp column. I also checked the timestamp column, i did not find such a data ("00:00:00")
by mac4rfree85
Fri Aug 26, 2011 4:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Custom Query for Oracle Stage in 8.01
Replies: 3
Views: 2007

Custom Query for Oracle Stage in 8.01

Hi guys, I am trying to run a custom query in Oracle stage. The query is running fine in SQL developer. So, i gave Tablename (1 of the 4 source tables). GenerateSQL is No. Then i gave the Custom query in User-Defined SQL. And Pre 4.2 User-defined as 'Yes'. My metadata is matching the select clause. ...
by mac4rfree85
Fri Aug 26, 2011 3:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help in rectifying Pivot Warning
Replies: 2
Views: 1481

Help in rectifying Pivot Warning

Hi Guys, Altogether i am pivoting 7 columns. One of the column is a Timestamp Column. Because of the Timestamp column pivoting, i am getting this Warning. Data string '00:00:00' does not match format '%yyyy-%mm-%dd %hh:%nn:%ss': the value for tag %yyyy has fewer characters than expected. If I remove...
by mac4rfree85
Fri Aug 26, 2011 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need Help in Convert DSJobStartTimeStamp to integer
Replies: 2
Views: 1707

Thanks Ray, thats all i am looking at :)
by mac4rfree85
Fri Aug 26, 2011 12:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need Help in Convert DSJobStartTimeStamp to integer
Replies: 2
Views: 1707

Need Help in Convert DSJobStartTimeStamp to integer

Hi Guys,

I need to convert DSJobStartTimeStamp to integer.

Currently am using the below code to convert it.

Code: Select all

Convert(' ','',Convert(':','',Convert('-','',TimestampToString(DSJobStartTimeStamp,"%yyyy-%mm-%dd %hh:%nn:%ss"))))
Is there any better way to do it?

Cheers!!!!
by mac4rfree85
Thu Aug 25, 2011 1:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help in Processing XML File
Replies: 1
Views: 967

Re: Help in Processing XML File

Sorry guys, the issue was with the XML.
The input was not a valid file.
Now i am able to parse it..
by mac4rfree85
Thu Aug 25, 2011 1:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need help with XML tag formatting to different style
Replies: 3
Views: 2948

Re: Need help with XML tag formatting to different style

I am also new to XML... I don know whether we can create it. But yes we can read it. emp_cd,last_name,first_nam are called attributes. They can be read it using XMLReader. In derivation part, you need to mention the XPath of them which will be /empload/entry/@emp_Cd /empload/entry/@first_nam /emploa...
by mac4rfree85
Thu Aug 25, 2011 6:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help in Processing XML File
Replies: 1
Views: 967

Help in Processing XML File

Hi Guys, I need to Read XML file and put it to different Columns. My I/P is <?xml version=""1.0"" encoding=""UTF-8"" standalone=""no""?> <pricing-model> <qualifier> <next> <collection-name>items</collection-name> <element-name>item</element...
by mac4rfree85
Thu Aug 25, 2011 4:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue In Reading and Inserting CLOB Column
Replies: 2
Views: 1487

Make sure that the receiving field is large enough for the data you're sending to it. ... Yeah Ray, i gave 999999999 as Length. It failed with Abnormal Termination Error. One more thing i forgot to mention. I created two similar jobs. One in parallel and one in server with same metadata. Server job...
by mac4rfree85
Thu Aug 25, 2011 3:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue In Reading and Inserting CLOB Column
Replies: 2
Views: 1487

Issue In Reading and Inserting CLOB Column

Hi Guys, I need to read a clob column and load it to Target Table. I am using Oracle Stage and used the Datatype as LongVarChar. When i gave empty string to Length i was able to read the CLOB column and load it successfully to a file. But when i tried to replace the file to the Target table, i am no...