Search found 71 matches

by ukyrvd
Thu Oct 12, 2006 10:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join Stage
Replies: 9
Views: 3402

kumar_s wrote:If both the stream keys are varchar, shouldnt it take care by it self?
no .. it can only handle variable length values

like varchar 10 can handle "abc" "abc1234567" .. but it still treats "abc " different from the way it treats "abc"
by ukyrvd
Thu Oct 12, 2006 10:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: data is getting rejected when loading to file.
Replies: 14
Views: 5016

The problem is... data is getting rejected at transformer stage .and i am getting warning message as ...[APT_CombinedOperatorController(1),0: Field 'PROCESS_DATETIME' from input dataset '0' is NULL. Record dropped.] this is different problem .. and covered well on DSX!! this happens if you are doin...
by ukyrvd
Thu Oct 12, 2006 10:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while Bulk insertion of records
Replies: 14
Views: 6072

Yes they are part of the primary key and i have handled the same properly in my query itself. it could be that you need to modify your query a bit .. lets say your primary key is c1+c2+c3 and your unique index has c2 in its definition: with the logic you have, DS will check if c1+c2+c3 in the incom...
by ukyrvd
Thu Oct 12, 2006 10:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage
Replies: 7
Views: 3716

search on DS Help resulted in the following function

-----
TrimLeadingTrailing
Returns a string with leading and trailing whitespace removed
string (string)
result (string)
-----

I remember using this in XFM .. you can try and see if its available in Modify stage as well??
by ukyrvd
Thu Oct 12, 2006 10:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while Bulk insertion of records
Replies: 14
Views: 6072

the unique key columns mentioned in 'rep_fin_asset_UIX1' index definition are part of the key columns in the query??
by ukyrvd
Thu Oct 12, 2006 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: data is getting rejected when loading to file.
Replies: 14
Views: 5016

I understand. But if you change the target to Char. It can handle decimal values. I am not too sure, but give it a shot. Target is already CHAR and it is Fixed Width file . hmm!! in that case I think you are stuck with implementing nulltovalue logic before writing to the file!! I havent seen any ge...
by ukyrvd
Thu Oct 12, 2006 10:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EBCDIC to ASCII Conversion
Replies: 7
Views: 2125

Re: EBCDIC to ASCII Conversion

If I were developing this code in Server Edition, I'd simply use the ASCII() function. How can I do the same thing in Parallel Edition? parallel transform doesnt have ASCII function ..but the BASIC transform does. The simplest solution would be , if you can afford the performance loss, using this s...
by ukyrvd
Thu Oct 12, 2006 10:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while Bulk insertion of records
Replies: 14
Views: 6072

did you check the INSERT sql and UPDATE sql code that was generated and if that has correct key settings??

Update then Insert--Upsert mode-- will only try to update the record if it finds the duplicate key combination in the table otherwise it will happily tries to insert the record!!
by ukyrvd
Fri Oct 06, 2006 2:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF drawbacks in Parallel Jobs
Replies: 2
Views: 1363

Re: CFF drawbacks in Parallel Jobs

gsherry1 wrote: Then after splitting by rec_id, land the file and reread with more specific schema to each record. Is this what others are doing?
Yes .. we have similar requirement and we followed similar technique
by ukyrvd
Tue Sep 12, 2006 10:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: records dropped in transformer
Replies: 7
Views: 3783

I had similar problem. In my case, the isnull check and the transformation logic is in StageVariable derivation. If I move that to output column derivation, DS is happy!!
by ukyrvd
Mon Sep 11, 2006 1:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle ForeignKey constraints with NULL Child Value
Replies: 7
Views: 3567

Thats one of the things I have actually looked at already .. It did not work in this case .. as I have mentioned DS tried to enable this FK first and determined that corresponding PK is not yet enabled so threw a warning and continued with rest of the constraints.. I think, Defering works when we ar...
by ukyrvd
Mon Sep 11, 2006 11:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle ForeignKey constraints with NULL Child Value
Replies: 7
Views: 3567

I have solved this problem. It has to do with the order in which Constraints are enabled .. We have given name to Primary Key (on Col1 in Eg) which comes later, in alphabatical order, than the reference_key name in question. So DS tried to enable FK but by that time the PK is not yet enabled. If I r...
by ukyrvd
Sat Sep 09, 2006 11:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle ForeignKey constraints with NULL Child Value
Replies: 7
Views: 3567

Re: Oracle ForeignKey constraints with NULL Child Value

did u check the offending record using exceptions clause alter table <table_name> enable constraint <Foriegn_key_constraint> exceptions into <exception_table> [/code] straight run or ALTER command @sqlplus prompt with out the exception clause is not at all complaining .. but only when I do it from ...
by ukyrvd
Sat Sep 09, 2006 11:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle ForeignKey constraints with NULL Child Value
Replies: 7
Views: 3567

The error is about the exixtance of the parent column. Check whether the give name is correct. If not try to have table.column name in the statement. thanks Kumar .. BUT as I have said same alter command worked PERFECT when I ran it from SQL promt (sqlplus) .. I will try to alter the constraint def...
by ukyrvd
Fri Sep 08, 2006 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle ForeignKey constraints with NULL Child Value
Replies: 7
Views: 3567

Oracle ForeignKey constraints with NULL Child Value

Options: Write Method Load Write Mode Append Disable Constraints TRUE -------- Table Structure Col1 Non-Nullable PK Col2 Nullable FK references Col1 in the same table .. .. There are some more referential intigrity constraints and CHECK constraints on this table .. also some indexes were defined ---...