Search found 13 matches

by Sagnik Mukherjee
Tue Jul 30, 2013 2:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to read entire data of a text col when data is huge
Replies: 5
Views: 3385

Unable to read entire data of a text col when data is huge

Hi, i have one text column in one file. I am trying to read that column by varchar or long varchar. Now the problem is the data which are coming are so big, DS is not able to read full data. Data which exceeds the maximum length got truncated. Do we have any data type which can raed more character t...
by Sagnik Mukherjee
Wed Jul 03, 2013 8:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Upsert is not working in Netezza Connector stage
Replies: 4
Views: 5253

Hi, When I hardcoded the name of primary key columns(comma separated) and updated colunms(comma separated) in netezza connector stage, then its working fine. But when I passed the same columns on runtime as parameter(mentioning two parameter name for primary key cols and update cols in NZ connector ...
by Sagnik Mukherjee
Tue Dec 04, 2012 3:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Equivalent of Translate fn which can be used on Modify Stage
Replies: 4
Views: 2695

the translate function replaces a sequence of characters in a string with another set of characters. Right? I want to do that in modify stage. If I use transformer, then I can think of use Convert function.But as its not available in Modify stage so I want another function which can do the same thing.
by Sagnik Mukherjee
Tue Dec 04, 2012 2:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Equivalent of Translate fn which can be used on Modify Stage
Replies: 4
Views: 2695

Equivalent of Translate fn which can be used on Modify Stage

Could someone please suggest the equivalent function of Translate function,which I can use on modifyspec of modify stage?
Please suggest function with its full syntax.
Thanks in advance.
by Sagnik Mukherjee
Wed Nov 28, 2012 12:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing junk character from a field in modify stage
Replies: 1
Views: 2237

Removing junk character from a field in modify stage

Hi, I got junk characters(like small small boxes) in one field. I am using modify stage and in this stage I handled null for that field. Ex - AMEX_REV_CMNT_TX:string[max=100] = handle_null(AMEX_REV_CMNT_TX,"") where AMEX_REV_CMNT_TX is the field name. But still the issue is not resolved. I...
by Sagnik Mukherjee
Mon Nov 26, 2012 7:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove new line character from modify stage
Replies: 7
Views: 3834

Now I am using this :

AD_LINE_1_TX:string[max=40]=string_trim["\n"](AD_LINE_1_TX)

and its working fine..

Thanks
:D
by Sagnik Mukherjee
Mon Nov 26, 2012 5:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove new line character from modify stage
Replies: 7
Views: 3834

Sorry for my late reply. Now I am using this : AD_LINE_1_TX:string[max=40]=string_trim(AD_LINE_1_TX,"\n"); where AD_LINE_1_TX is th column name. But it gives an error. main_program: Error parsing modify adapter: Error in binding: Expected ')', got: "," Expected destination field ...
by Sagnik Mukherjee
Sat Nov 17, 2012 9:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove new line character from modify stage
Replies: 7
Views: 3834

Actually I am using a multiinstance job. I have done all the transformation in modifyspec of modify stage.I cant use convert function in transformer as I pass everything at runtime.So I have to do it in modify stage only.
Please suggest.
by Sagnik Mukherjee
Fri Nov 16, 2012 10:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove new line character from modify stage
Replies: 7
Views: 3834

Remove new line character from modify stage

Hi, I am using modify stage in a multiinstance job.Now in one field of the input file I get a new line character. For example - suppose the field name is 'ADDRESS1' and the data is populating like 'SOUDI ARAB'. Now in between SOUDI and ARAB there is a new line character(not space).For that we are no...
by Sagnik Mukherjee
Thu Oct 18, 2012 12:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversation
Replies: 6
Views: 7179

The problem has been solved. In that microsecond part instead of giving .%SSSSSS, i gave .%6. Means now I have given like this :

StringToTimestamp(lnk_CONV.TS4,"%yyyy-%mm-%dd-%hh.%nn.%ss.%6")

and the job succesfully ran.I didnot know about this format of timestamp.
by Sagnik Mukherjee
Wed Oct 17, 2012 6:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversation
Replies: 6
Views: 7179

Actually we are getting with that format only from source file and as its a multi instance job, I cant see the possibility to change the format in stagevar also.
What 2 do now.
by Sagnik Mukherjee
Wed Oct 17, 2012 6:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversation
Replies: 6
Views: 7179

String to timestamp conversation

Hi, In transformer stage i use String to Timestamp function like this : StringToTimestamp(lnk_CONV.TS4,"%yyyy-%mm-%dd-%hh.%nn.%ss.%SSSSSS") the data is coming to transformer either with this format or with 'space'. Data in TS4 is proper.We are handling the 'space' also. Though this transfo...
by Sagnik Mukherjee
Fri Sep 07, 2012 5:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: facing issue with remving duplicates
Replies: 5
Views: 2299

Hi,
Is it ok if you can get your desired output using only a transformer??
Please let me know.