Search found 24 matches

by tini
Fri Sep 04, 2009 2:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pls Help - Extract XMLTYPE data from Oracle 9i
Replies: 2
Views: 2193

Pls Help - Extract XMLTYPE data from Oracle 9i

I have a problem to extract XMLTYPE data from Oracle 9i to text file, using Server job. the length of this field is 400 I get the error said "internal error code, arguments:[], [], [], [], []' I did go back to the old post in this form but none of the post can help me to solve this problem. I'd...
by tini
Wed Jun 17, 2009 3:53 pm
Forum: General
Topic: help - Convert Char to Bigint
Replies: 2
Views: 1779

help - Convert Char to Bigint

Could someone show me how to convert Char 20 to Bigint using
Transform and Modify
Thanks a lot
by tini
Fri May 30, 2008 2:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Function in Modify stage.
Replies: 2
Views: 1498

Function in Modify stage.

Can someone please post all the convertion functions that we can use in Modify stage please.
Thanks
by tini
Sun Nov 18, 2007 9:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Please help StringToTimestamp
Replies: 5
Views: 2569

If I try the code on 7.1 then it works without warning. but Try on version 7.5 then we get the error
Warning:--Input_file,0: Conversion error calling conversion routine timestamp_from_string data may have been lost
do you know why? thanks
by tini
Tue Oct 23, 2007 11:46 pm
Forum: General
Topic: one more help please how to convert GMT to central time?
Replies: 10
Views: 5458

If the input is
Char 14 (20060911150001) but it's represent of GMT time.
How do I convert it to Central time? at this point I don't care about Daylight Savings.

What I did is I take I convert to (StringToTimeStamp - 5) but it didn't work. :oops: :cry:

Please help.
Thanks
by tini
Tue Oct 23, 2007 11:11 pm
Forum: General
Topic: How to use MODIFY STATE ? help please
Replies: 12
Views: 4421

ArndW wrote:tini - I used a fixed length CHAR instead of VarChar and the message went away. Or just deprecate the warning message in the log. ...

I tried this way too but the warning still there :evil: :evil: :evil:
by tini
Tue Oct 23, 2007 11:00 pm
Forum: General
Topic: Help how to extract first field in a string (csv file)
Replies: 9
Views: 3436

ok, I don't want use transform,
but I still want to extract ABCDFGFDR123 only. Can I do it in Modify state?
by tini
Tue Oct 23, 2007 10:47 pm
Forum: General
Topic: Help how to extract first field in a string (csv file)
Replies: 9
Views: 3436

can I do this in modify state?
If I can then how is the code?

I try to learn the modify state.
thanks
by tini
Tue Oct 23, 2007 10:39 pm
Forum: General
Topic: How to use MODIFY STATE ? help please
Replies: 12
Views: 4421

So what should I do?
I even convert the varchar 15 to char 15
and substring 14 but I still have same warning?
what is going on?
by tini
Tue Oct 23, 2007 10:17 pm
Forum: General
Topic: How to use MODIFY STATE ? help please
Replies: 12
Views: 4421

tini - did you use 13 instead of 14 as the string end position? How did you declare this new column in your metadata? Somewhere you have specified this as unbounded, which is where the warning is comi ... the input column is varchar 15 and I declared the new column as char 14. I tried targetfield:s...
by tini
Tue Oct 23, 2007 10:00 pm
Forum: General
Topic: How to use MODIFY STATE ? help please
Replies: 12
Views: 4421

targetfield:string[14]=substring[0,14](sourcefield) or targetfield:nullable string[14]=substring[0,14](sourcefield) ... I tried the code but I still have same error msg. Conversion; from source type "string[max=15]" to result type "string[14]": Taking substring of variable-lengt...
by tini
Tue Oct 23, 2007 9:48 pm
Forum: General
Topic: How to use MODIFY STATE ? help please
Replies: 12
Views: 4421

targetfield:string[14]=substring[0,14](sourcefield) or targetfield:nullable string[14]=substring[0,14](sourcefield) ... I tried the code but I still have same error msg. Conversion; from source type "string[max=15]" to result type "string[14]": Taking substring of variable-lengt...
by tini
Tue Oct 23, 2007 4:33 pm
Forum: General
Topic: How to use MODIFY STATE ? help please
Replies: 12
Views: 4421

How to use MODIFY STATE ? help please

I want to use the modify state to convert varchar 15 to char 14 and convert char 14 to timestampe But I got warning when convert varchar 15 to 14. Here is the warning Conversion; from source type "string[max=15]" to result type "string": Taking substring of variable-length source...
by tini
Sun Sep 30, 2007 11:02 pm
Forum: General
Topic: one more help please how to convert GMT to central time?
Replies: 10
Views: 5458

Thanks ray.wurload.
Sorry Iam asking so much
by tini
Sun Sep 30, 2007 9:25 pm
Forum: General
Topic: one more help please how to convert GMT to central time?
Replies: 10
Views: 5458

Thank you for all your help but I really don't get it. :oops: :oops: :oops: so I should take GMT - 6 right? and then how do I handle Daylight saving time? like Chulett said? Hi, ray.wurlod. What do you mean by GMT +09:30 (which is actually correct at the moment).? Could you explain more please :( :(...