Search found 57 matches

by rohithmuthyala
Thu Jul 07, 2016 12:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Access DB and spaces in column names
Replies: 9
Views: 14718

While connecting to SQL server while using the ODBC connector, it worked when I used the brackets "[" , "]" when the field names had spaces and '#'
by rohithmuthyala
Fri Feb 14, 2014 11:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF stage not reading the special character correctly
Replies: 3
Views: 3580

Hi All, Even I'm getting the same problem, my source is MF Binary file, when trying to read the value for a column which is of character type in CFF stage with below properties Character set = EBCDIC. The values in MF is given as China! Japan! The same value when coming out of CFF is China] Japan] C...
by rohithmuthyala
Tue Apr 12, 2011 6:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Possible truncation of variable length string
Replies: 8
Views: 7252

Do not specify any limit define it as varchar()..!
by rohithmuthyala
Tue Apr 12, 2011 6:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Different Delimiter In one record
Replies: 6
Views: 3150

What Ray is suggesting is that to read the whole row as a single column defined as a varchar datatype..!
So here it doesn't matter what delimiter one specifies.
by rohithmuthyala
Thu Dec 16, 2010 4:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling in fixed width file with
Replies: 4
Views: 3337

You can read the values as Char or Varchar and then handle it in the next stage.
by rohithmuthyala
Fri Dec 10, 2010 3:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Range Lookup in Join stage
Replies: 1
Views: 3384

Range Lookup in Join stage

Hi,

Is it possible to do the range lookup in a join stage..?

Meaning, if the data volume if large then it's not feasible to use a lookup, so how to execute the concept of range lookup in a join stage...!
by rohithmuthyala
Thu Nov 04, 2010 2:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pros & Cons of Schema File
Replies: 1
Views: 2039

With the help of schema files, one can pass the default values

E.g.

record
(
ABC:decimal[15,0];
XYZ:string[max=10] {cycle={value='ABCD'}};
)

In the example above XYZ column is assigned a default value "ABCD"
by rohithmuthyala
Fri Oct 29, 2010 6:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when checking operator: Could not find input field
Replies: 4
Views: 8779

Yeah...he wanted to add a new column and assign a default value...!
by rohithmuthyala
Fri Oct 29, 2010 6:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when checking operator: Could not find input field
Replies: 4
Views: 8779

I'm not sure if you could add a new column and assign a default value in modify stage. It expects s mapping from input columns for any new output column. One can add a new column with a default value through a Column Generator stage (or) a Transformer stage.
by rohithmuthyala
Tue Oct 26, 2010 4:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string to integer conversion
Replies: 2
Views: 2801

Make the output column datatype Bigint. It should solve your problem.!
by rohithmuthyala
Wed Oct 13, 2010 11:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sequence number generation
Replies: 7
Views: 3721

In version 8 of Datastage, this can be generated in transformer itself as a surrogate key in the stage properties that too in parallel mode.
by rohithmuthyala
Mon Oct 11, 2010 11:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: calculating total number of business days
Replies: 7
Views: 8138

Hi Raja,

As I already suggested the same, it did work out for me.....when I tried this experiment out.
by rohithmuthyala
Sat Oct 09, 2010 2:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: calculating total number of business days
Replies: 7
Views: 8138

1)Try doing a range lookup on the list of holidays like start date < holiday < End date ... aggregate this count based on the key combination of empid,Start Date and End Date by which one can get the number of holidays in that range. Once you come to know the number of records for a particular pair ...
by rohithmuthyala
Tue Oct 05, 2010 2:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: zero not to be truncated
Replies: 6
Views: 4773

Keep the target column as Varchar.May i know what is your final target is it a sequential file...?
If so one can directly populate target column into the sequential file as varchar.
by rohithmuthyala
Fri Sep 24, 2010 2:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update SQL
Replies: 12
Views: 8095

I'm not sure if that is a correct way of doing it....as you are reading and updating the table in the same job.One can split the task into two jobs: 1st Job: Extract the table with the where condition i.e. Select * from Table_Name WHERE Table_Name.Column1='XX' AND Table_Name.Column2='CO'; Pass it th...