Search found 70 matches

by pandujoy
Thu Nov 12, 2009 11:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to Timestamp conversion
Replies: 14
Views: 3353

Not sure Arnd....

i am getting the result with in the service as "2008-12-15T06:00:00.000Z" I have defined the WISD output datatype as 25,5
by pandujoy
Thu Nov 12, 2009 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to Timestamp conversion
Replies: 14
Views: 3353

Somebody plz help me in resolving this issue... :(
by pandujoy
Thu Nov 12, 2009 9:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to Timestamp conversion
Replies: 14
Views: 3353

I didnt make any conversion and tried but i gave me the same result...

I tried "TimestamptoString(DSLink12.usg_begin_dt, "%yyyy-%mm-%dd %hh-%nn-%ss.5")" ...when i try to a flat file it worked but with in a service it didnt....

I am not sure how to solve this problem
by pandujoy
Thu Nov 12, 2009 9:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to Timestamp conversion
Replies: 14
Views: 3353

my target is a webservice...Let me check what happens if i declare it as vchar thanks
by pandujoy
Thu Nov 12, 2009 9:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to Timestamp conversion
Replies: 14
Views: 3353

Thanks a lot for the information Chulett .

My input field is timestamp field - "12/15/2008 10:11:12 AM" and my target is timestamp .

Can you please tell me how to resolve this issue
by pandujoy
Thu Nov 12, 2009 8:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to Timestamp conversion
Replies: 14
Views: 3353

Date to Timestamp conversion

Hi Gurus, I have timestamp field coming from informix database (12/15/2008 10:11:12 AM) and when i am using the data type for the target as Timestamp i am getting "2008-12-15T16:11:12.000Z" Not sure why i am getting this junk values "T" and "Z"...can anyone help me out....
by pandujoy
Wed Nov 11, 2009 12:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sql statement in odbc connector
Replies: 6
Views: 2348

thanks for you reply.....so when you mean create table definition...all that i need is to import the table definitions of both the tables into the stage right?
by pandujoy
Wed Nov 11, 2009 11:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sql statement in odbc connector
Replies: 6
Views: 2348

sql statement in odbc connector

Hi , I am new to datastage.....Just a small or may be foolish question... Can we use a regular SQL statement in ODBC connector stage...When i mean regular SQl.....like if i am getting 3 fields form tabel A and 6 fields form table B....how to import the table definitions. Or should i just join stage ...
by pandujoy
Mon Nov 09, 2009 5:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Whitespace added after every value
Replies: 14
Views: 3951

dats funny....any ways thanks for your help..mostly ray and ArnldW .....
by pandujoy
Fri Nov 06, 2009 5:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Whitespace added after every value
Replies: 14
Views: 3951

Chulett, I have one more requirement ...is to pass a null field to validate a field. So as mentioned in the previous issue if i passing field1 it is give as "30 " and for the requirement 2 if i pass null value in i/p it is taking as whitespace...not sure whats wrong with it..... Can you le...
by pandujoy
Fri Nov 06, 2009 4:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Whitespace added after every value
Replies: 14
Views: 3951

thanks again for the instace answer...

in the lookup they look like "30" and from input i am getting "30 " .
by pandujoy
Fri Nov 06, 2009 4:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Whitespace added after every value
Replies: 14
Views: 3951

thanks for the reply...My lookup is also char(3)
by pandujoy
Fri Nov 06, 2009 4:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Whitespace added after every value
Replies: 14
Views: 3951

Whitespace added after every value

Hi Gurus, I have a input field coming all char data types and when i do a lookup against char datatype fields the lookup is failing becoz the values are coming along with spaces. ex. char (3) input field - "30" when i do a look up for this field the data is getting rejected and the if i se...
by pandujoy
Thu Nov 05, 2009 3:48 pm
Forum: General
Topic: Conversion from Char to Varchar
Replies: 4
Views: 1664

Thanks a lot for your help...I could solve it out...I made APT_STRING_PADCHAR....as 0x20 and used the trim function - Trim(<Col name>,Char(0),'A')