Search found 3 matches

by Dharma
Thu Jun 22, 2006 6:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Logic needed
Replies: 7
Views: 1939

Re: Logic needed

HI use this select statement u can get as u required select max(code1) || max(var1) ||min(code1)||min(var1),group1 from abc group by group1 Thanks Dharma Hi , Please help me how to implement this logic in DS. soure is coming like this code1 val1 group1 ____________________________________ 1 p abc 0 ...
by Dharma
Wed Jun 21, 2006 6:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert a number in to word
Replies: 9
Views: 3738

Re: convert a number in to word

Hi, Check out this select to_char(to_date(101,'j'),'jsp') from dual; it gives you one hundred one good luck Dharma Hi All, My source file is a flat file.In that,i have a column with numeric datatype. i want to convert number into word. for example Input,Output 100,ONE HUNDRED 101,ONE HUNDERD ONE 123...
by Dharma
Tue Jun 13, 2006 8:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: date conversion problem
Replies: 2
Views: 1077

Re: date conversion problem

Hi

oconv(iconv(input_col,'D-YMD[4,2,2]),'D-YMD[2,A3,4]')

Dharma.

raji wrote:Hi all, :)

I have to convert the date format "yyyy-mm-dd" to "dd-mon-yyyy"

where my job looks like


SEQ.FILE----- TRANSFORMER STAGE----- SEQ.FILE

Please anybody help me out.

Thanks in advance :)