Search found 41 matches

by pratapsriram
Thu Jan 28, 2010 9:35 am
Forum: General
Topic: Transformer , IF condition
Replies: 4
Views: 3854

The nested If Then Else syntax should be If [condition] Then [output] Else If [condition] Then [output] Else If [condition] Then [output] Else [output]. In your case you don't need a nested condition, I think. You can use two transformers and a funnel stage to acheive it. In your first transformer u...
by pratapsriram
Wed Jan 27, 2010 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DRS stage error
Replies: 1
Views: 1320

This is resolved

The above error is due to the mismatch between the NLS settings for the job during run time to the NLS setting in the Server map. A detailed article is given in this LINK. So to view data change the NLS setting of the DRS stage to Project Default and try the 'View Data'.
by pratapsriram
Wed Jan 27, 2010 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DRS stage error
Replies: 1
Views: 1320

DRS stage error

The job has a simple transformation. DRS(Source) -> Lookup -> Lookup -> Transform -> DRS(Target). The job completes successfully with warnings. The first warning is: APT_CombinedOperatorController,0: Invalid character(s) ([xD1]) found converting string (code point(s): Warning: Trfm_STG_ADW_PROVIDER_...
by pratapsriram
Tue Nov 03, 2009 2:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key generation in SQL Server
Replies: 1
Views: 1082

Surrogate Key generation in SQL Server

We have a requirement to implement a Type1 SCD for SQL server database. Has anyone implemented a Surrogate key generation for SQL server in Enterprise edition for SQL server 2008 in windows environment? Can anyone suggest me the best approach for implementing Surrogate Key generation for the above s...
by pratapsriram
Mon Aug 31, 2009 12:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar(max) datatype not supported in 8.1
Replies: 3
Views: 3254

I still get the same error
main_program: Datatype Not Supported.
Xfrm_Inp: Error when checking operator: Could not find input field "FindingId".

These are the settings I have included in my design.
"$APT_DISABLE_COMBINATION = True
$APT_NO_ONE_NODE_COMBINING_OPTIMIZATION = True
"
by pratapsriram
Mon Aug 31, 2009 7:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar(max) datatype not supported in 8.1
Replies: 3
Views: 3254

Varchar(max) datatype not supported in 8.1

I am getting the error Datatype not supported when reading a SQL server database having a varchar(max) as the datatype. Importing the table definition shows the field as LongVarChar(). I tried changing that to Varchar, nvarchar,varchar(4000),char but still cannot execute the job successfully. If thi...
by pratapsriram
Wed May 30, 2007 3:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenate duplicate values..
Replies: 2
Views: 997

Concatenate duplicate values..

Hi All I am gettin data like this ... and gettin duplicates ( in green). A B C D 1 2 3 X 1 4 5 Y 1 2 3 Z 5 8 4 C 1 2 3 K Output should be as below...to be written to a Hashed file with A, B, C as Keys A B C D 1 2 3 X : Z :K 1 4 5 Y 5 8 4 C Please forward some suggestions on how to do this. Thanks..
by pratapsriram
Fri Apr 06, 2007 7:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML files parsing error
Replies: 2
Views: 1943

I have played a little after the last post. Here is what I have gotten to.. Use sequential stage to read. Specific files option, using filter I am using cat to merge the input files to a single file. It works for small files but if there is a bigger size file then it aborts with the error: Error rea...
by pratapsriram
Wed Apr 04, 2007 1:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML files parsing error
Replies: 2
Views: 1943

XML files parsing error

Hi, I am trying to merge 5 xml files into one xml file. The input xml files donot have LF(UnixNewline) character at the end. So basically each xml file is a string of characters without LF. I expect the output file after merging to be a concatenation of all the individual strings in each xml. Later ...
by pratapsriram
Thu Mar 08, 2007 7:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Generator generated OSH script bug
Replies: 5
Views: 1425

Yah I followed what Ray said above and it worked like a charm. Only regret is why dont IBM have good documentation for things such as these? Who would dream that a Row generator will have such functionality as a Folder stage? Well if thats what it takes then thats what it is...

-MSP
by pratapsriram
Wed Mar 07, 2007 4:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Generator generated OSH script bug
Replies: 5
Views: 1425

Row Generator generated OSH script bug

I have a sample job given by the IBM support to read a XML file using a ROW GENERATOR stage. This is the part of the OSH generated: ( filename:string[]{cycle={value='[&filename]'}}; ) I have designed the same job by using the stages provided in my DS. This is the OSH generated: ( filepath:string...