Search found 13 matches

by zhzhs
Sun Aug 23, 2009 10:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Create a seq file using '||' (double pipe) as delimiter
Replies: 4
Views: 2857

Sainath.Srinivasan wrote:Look for delimiter String. ...
yes
by zhzhs
Fri Aug 21, 2009 12:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read a text file of 5GB
Replies: 24
Views: 11810

i just to say
u can create one job just make sequential file to dataset file.
by zhzhs
Tue Aug 18, 2009 10:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim of varchar
Replies: 6
Views: 3866

Re: Trim of varchar

TRIM(COL_A,"0","L") is right, i have tried it.
by zhzhs
Tue Aug 18, 2009 10:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivot
Replies: 4
Views: 2340

Re: Pivot

i think u can do it by transforms stage
by zhzhs
Tue Aug 18, 2009 9:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to retain preceeding zeros in a decimal field?
Replies: 10
Views: 5680

ray.wurlod wrote:You can make the target column a VarChar and assemble the string however you like. ...
thanks
i have known the way.
just
trim(decimaltostring(dslink.col),"0","L")
by zhzhs
Tue Aug 18, 2009 12:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to retain preceeding zeros in a decimal field?
Replies: 10
Views: 5680

i have the same question,a column is decimal(10,2)
for example:

the data is 12000

output of the sequence file will be 00012000.00

but i need 12000.00

what can i do?
friends.
by zhzhs
Mon Aug 17, 2009 11:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NLS description in the Schema File
Replies: 1
Views: 1786

Re: NLS description in the Schema File

Hello, I have to parse Spanish Characters in the incoming flat file. We are using RCP with details described in the schema file . Can you please advice how to add NLS properties while describing the String in schema file and the encoding Spanish characters set to used? Thanks in advance i think it'...
by zhzhs
Mon Aug 17, 2009 9:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to retain preceeding zeros in a decimal field?
Replies: 10
Views: 5680

Re: How to retain preceeding zeros in a decimal field?

hari4dsx wrote:Input field is a decimal (eg. 00012.)..
This is to be converted into integer, with the preceeding zeroes retained.

Does anyone have any solution for this...?


Thanks in advance.
U can try

substr("00000":link.column,-5,5)
by zhzhs
Mon Aug 17, 2009 9:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Configuration File
Replies: 9
Views: 4400

ray.wurlod wrote:
chulett wrote:Mmmmm... pie.

(Said in my best Homer Simpson voice)
Nah. It's Weebl! ...

:?: :?: :?:
by zhzhs
Tue May 26, 2009 11:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TeraUtils:Fetch failed: Error Code = 227 [terautils.C:2863]
Replies: 4
Views: 4693

Re: TeraUtils:Fetch failed: Error Code = 227 [terautils.C:2

now i have the same question

i can telnet server ,and access teradata by bteq

server env is HP

helphelp :(
by zhzhs
Tue May 26, 2009 11:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TeraUtils:Fetch failed: Error Code = 227 [terautils.C:2863]
Replies: 4
Views: 4693

Re: TeraUtils:Fetch failed: Error Code = 227 [terautils.C:2

now i have the same question

i can telnet server ,and access teradata by bteq

server env is HP

helphelp :(