Search found 135 matches

by srinivas.nettalam
Thu Sep 05, 2013 11:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Different results in every run
Replies: 5
Views: 3923

I rebuilt the job by separating the references to different look up stages and rewrote the stagevariables and constraints.It worked.
by srinivas.nettalam
Thu Sep 05, 2013 12:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading same table in db by 2 different parallel jobs
Replies: 5
Views: 3726

Parallel inserts are allowed on the tables.Suppose that the table you mentioned is loaded by only one parallel job in your project and the job runs on 8 nodes.It is implicit that it is allowing 8 parallel insert statements. In your case the table is loaded by two jobs and assuming your job runs in 2...
by srinivas.nettalam
Mon Sep 02, 2013 4:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion from decimal(25,2) to decimal(14,2)
Replies: 9
Views: 5772

Is there any specific reason for defining the soruce metadata as 25,2 instead of 14,2?
by srinivas.nettalam
Tue Aug 27, 2013 1:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML requirement
Replies: 4
Views: 2568

What are you passing from ExternalSource stage and what option did you choose in XML input stage for input method URL or XML Content?
by srinivas.nettalam
Tue Aug 27, 2013 1:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merging multiple rows into single row
Replies: 11
Views: 7746

Just to make sure nothing wrong in your derivation.Enable KeyChange Column in sort and write your derivation like

Code: Select all

svCurrent = If KeyChange=1 Then ColB:',':ColC Else svPrev:', ':ColB:',':ColC
svPrev=svCurrent
by srinivas.nettalam
Tue Aug 20, 2013 6:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting special characters
Replies: 7
Views: 5890

Are you ftping in binary or ascii mode?
by srinivas.nettalam
Tue Aug 20, 2013 6:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with txt file
Replies: 6
Views: 3974

'|' is the field delimiter not the record delimiter.Remove the record delimiter property and add field delimiter ='|'
by srinivas.nettalam
Wed Aug 14, 2013 6:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Strange issue while converting varchar to integer
Replies: 5
Views: 4012

That is why I used to mark similar columns as BigInt in datastage when mapping to the ODWH. :lol:
by srinivas.nettalam
Tue Aug 06, 2013 3:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup_103,1: Field "ID" has keyprep export format
Replies: 11
Views: 9064

What is the nullability of the field?
by srinivas.nettalam
Mon Jul 22, 2013 10:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate key with cyclic option
Replies: 4
Views: 2903

I assume RPhani is generating sequence using surrogate key (state file) but not generating numbers by formula or loop.

Use a stagevariable and map the generated value in the function as Arnd suggested:
Mod( svSurrKey,1000)
by srinivas.nettalam
Fri Jul 19, 2013 4:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get unique records ?
Replies: 2
Views: 2547

Split the Combined records from first 2 sources into two streams using copy stage and send one stream of the combined data from first 2 sources as reference to Lookup stage and use the third source as stream , perform look up on key and capture the rejects. Now send the other stream from copy stage ...
by srinivas.nettalam
Wed Jul 10, 2013 4:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregation/Summation
Replies: 9
Views: 5702

OR a lengthy approach...

1-Split the input to two streams.
2-Find max year and month in the output1
3- join the two outputs(Fork join) on projectid,month and year and then find sum.
by srinivas.nettalam
Wed Jul 10, 2013 3:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with state file
Replies: 5
Views: 4614

How is that 10000 passed to the Surr.Key stage and in the job which generates surrogate key (assuming job 2),whats the option selected for Generate Key from Last Highest Value property?
by srinivas.nettalam
Wed Jul 10, 2013 3:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Incorrect allignment while generating CSV file using DS job.
Replies: 7
Views: 4477

As Ray suggested first step is to talk to the data provider if that is possible
OR
Read as a single column ,pass that to a stage variable, strip out the " from the stage variable and use field function on the stage variable in the derivation for columns.