Search found 74 matches

by shalini11
Thu Mar 26, 2009 6:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job not aborting in case of primary key violation error
Replies: 4
Views: 1713

I added the reject link to OE stage but where to set row limit to 1
by shalini11
Thu Mar 26, 2009 4:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job not aborting in case of primary key violation error
Replies: 4
Views: 1713

Job not aborting in case of primary key violation error

Hi All, The requirement is to insert records into a table from a file. Before inserting into table I have to get the maximum value of the primary key. Then i have to append the records into table incrementing the value each time. For eg: The table structure is: Col1 Col2 00000 unknown 00001 gasoline...
by shalini11
Tue Mar 24, 2009 5:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to concatenate zeros before the col value
Replies: 4
Views: 2532

hey, I got the solution.

I used the below derivation:

If Len(AspCodeCountSVar) ='0' Then AspCodeCountSVar Else Str('0',5-Len(AspCodeCountSVar)):AspCodeCountSVar

where AspCodeCountSVar contains the value after adding 1.
by shalini11
Tue Mar 24, 2009 5:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to concatenate zeros before the col value
Replies: 4
Views: 2532

how to concatenate zeros before the col value

Hi All, The requirement is that I have to select the max of column value from a table and the add 1 to it and insert the new record. The column is varchar(5). So if the number after adding 1 is less than 5 digits then, zeros should be added before the number to make the field of 5 digits. For ex: Th...
by shalini11
Mon Mar 23, 2009 2:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between Dynamic RDBMS, ODBC and OCI Loader
Replies: 7
Views: 7219

Thanks a lot for clearing my doubts.
by shalini11
Mon Mar 23, 2009 12:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between Dynamic RDBMS, ODBC and OCI Loader
Replies: 7
Views: 7219

Sorry, I am not able to view your full answer.

Some premium content button is displayed. Could tou pls tell how can I view your answer
by shalini11
Sun Mar 22, 2009 10:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between Dynamic RDBMS, ODBC and OCI Loader
Replies: 7
Views: 7219

Difference between Dynamic RDBMS, ODBC and OCI Loader

Hi All,

Could you pls explain what's the difference between Dynamic RDBMS and ODBC and OCI Loader. Also which stage is preferable and when?

I have used only Oracle enterprise stage as of now so dont have any idea about these stages.

Will it be faster using Dynamic RDBMS instead of OE stage?

Thanks
by shalini11
Thu Mar 12, 2009 3:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to reduce one year from current date
Replies: 10
Views: 5075

U can try this function;

YearFromDate(CurrentDate())-1
by shalini11
Thu Mar 12, 2009 3:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in defining one business rule in transformer
Replies: 6
Views: 3629

Thank you Sir,

It worked.
Such a small thing and it created a havoc.

Can you explain me what's the difference in writing Trim(Variable[from,len]) and Trim(Variable)[from,len].
by shalini11
Thu Mar 12, 2009 2:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in defining one business rule in transformer
Replies: 6
Views: 3629

Problem in defining one business rule in transformer

Hi All, I have to give one condition in transformer. I am using a stage variable to do this.But the job is getting aborted because of that particular condition.I am not able to find out whats wrong in the below condition. If Trim(Move_Xfm.Make)='Chevrolet' And Trim(Move_Xfm.Model)='Impala' And Trim(...
by shalini11
Wed Mar 04, 2009 11:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Destination "transfer0.Series" is alr
Replies: 1
Views: 1513

Fatal Error: Destination "transfer0.Series" is alr

Hi All, I an trying to use Change capture on 2 tab delimited files, then doing a lookup with 2 tables, then using a transformer and then loading into another table. When i ran the job, it got aborted giving the fatal error as : Fatal Error: Destination "transfer0.Series" is already bound. ...
by shalini11
Mon Mar 02, 2009 4:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get rid of warning while using Change Capture
Replies: 2
Views: 1487

How to get rid of warning while using Change Capture

Hi All, I am using Change Capture Stage and given the option"Explicit Keys Explicit Values". Job is running fine but I am getting many warnings (one for each field which is used in Change Capture). Change_Capture: When checking operator: Defaulting <field_name> in transfer from "befor...
by shalini11
Tue Feb 24, 2009 4:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insertion of new records using Change Capture
Replies: 1
Views: 882

Insertion of new records using Change Capture

Hi All, I have a scenario where I need to compare 2 tables say for eg: table A and B, based on a key column. If the record with key column is not in table B then I have to insert that record into table B. I can do this in 2 ways: 1) By using a select query in Oracle Enterprise stage and then passing...
by shalini11
Tue Feb 24, 2009 4:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Output stage for Change Capture stage
Replies: 7
Views: 2443

Thanks,

You are right. The records were dropped because there was no null handling being done. I used a transformer in between Change Capture stage and sequential file and handled null. Then it worked.