Search found 186 matches

by srini.dw
Wed Jan 28, 2009 11:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 2 in Datastage 8.0
Replies: 11
Views: 11299

My design,

TargetTable(Reference)
|
|
V
SCD ----->ODBC Enterprise Stage
|
|
V
Dataset (Insert)

My apologize, I was using Upsert Mode --> Insert than Update

It should have been Update than insert.
My target was Terdadata database

Its working now, thank you
by srini.dw
Tue Jan 27, 2009 11:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 2 in Datastage 8.0
Replies: 11
Views: 11299

Thanks for the reply, First time my record is as below, EMPNO ENAME ADD SALARY CURR_IND 10001 John Doe Singapore 4000 Y I changed SALARY from 4000 to 500, in my source. When i run my job iam getting 2 inserted record i.,e SKEY EMPNO ENAME ADD SALARY CURR_IND EFF_DATE 85 10001 John Doe Singapore 4000...
by srini.dw
Tue Jan 27, 2009 4:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 2 in Datastage 8.0
Replies: 11
Views: 11299

Hi, My design is as below TargetTable(Reference) | | V SCD ----->Dimension Table (Upsert) | | V Dataset (Insert) In the Dim update tab Empno Business Key Ename Type2 EAdd Type2 Salary Type2 Curr_Ind Current Indicator (Derivation Y, Expiration N) Empno Ename EAdd Salary Curr_Ind 555 RELIC GERMANY 121...
by srini.dw
Fri Jan 23, 2009 3:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 2 in Datastage 8.0
Replies: 11
Views: 11299

Hi, Thanks for the reply, (i have 1 source and 1 tgt table, comparing) SRC Columns EMP_ID EMP_NAME EMP_ADD SALARY TARGET Columns S_KEY (surrogate_key) EMP_ID (Business_Key) EMP_NAME EMP_ADD SALARY CURR_IND (Current Indicator) EFF_Y (Effective Date) EXP_Y (Expiration Date) Job Description TGT | | SRC...
by srini.dw
Thu Jan 22, 2009 8:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Type 2 in Datastage 8.0
Replies: 11
Views: 11299

SCD Type 2 in Datastage 8.0

Hi guys, Iam need to implement a SCD Type2 in DataStage 8.0, Need to know what are the important fields i should take to find out how it works. I just need to know how this SCD works in 8.0. DEPT_K (Surrogate Key) DEPT_C (Business_Key) From where should be the below fields value come from. Type2 Cur...
by srini.dw
Thu May 08, 2008 2:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DELETE 22 tables
Replies: 8
Views: 2627

Thanks, Can you please give me more details with regard to shell script, how to pass the 2 parameters inside shell script
by srini.dw
Thu May 08, 2008 1:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DELETE 22 tables
Replies: 8
Views: 2627

Thanks, for the reply

1st job
I have a datastage job where i will do some processing and get 2 columns, deptid n dname.

2nd job
Based on the above 2 columns i need to delete 23 tables i.e., where condition.

How to do that in BTEQ or shell script.

Thanks
by srini.dw
Wed May 07, 2008 11:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DELETE 22 tables
Replies: 8
Views: 2627

DELETE 22 tables

Hi,

I have a requirement like based on condition i need to delete the rows from 23 teradata tables, any ideas please. (from single job).
It will be run once in a year.

thanks
by srini.dw
Wed Apr 30, 2008 6:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: percent_rank() function in Datastage
Replies: 11
Views: 7094

Can you please elaborate more, not able to get any idea..

DATASET--> COPY-----> 2 links>
1 As it is
2 Sort-->Aggr> Join-->1---->Dataset
by srini.dw
Mon Apr 21, 2008 5:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding NLS MAP
Replies: 5
Views: 3371

Before posting this issue i already did search in this forum.

But I didn't find any posts related this issue.

Thanks,
Srini
by srini.dw
Mon Apr 21, 2008 12:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding NLS MAP
Replies: 5
Views: 3371

Hi Ray,

I am getting this warning in Transformer stage.

TRNS_FDI_DATA,0: Invalid character conversion found converting to ISO-8859-1, substituting.


Thanks,
Srini
by srini.dw
Fri Apr 18, 2008 8:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding NLS MAP
Replies: 5
Views: 3371

Regarding NLS MAP

Hi, Loading source data [Sql server] to Teradata as target database. Extracting data from Sql server using Dynamic RDBMS stage. Source containing one description column length as 4000 chars. This column contain data as multiple language values. NLS MAP ----- Project default (ISO-8859-1) I am getting...
by srini.dw
Fri Mar 28, 2008 7:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversation
Replies: 12
Views: 4124

sorry guys for coming late, StringToDate(Right('00':MONTH,2) : "/" : right('00':DAY,2) : "/" : Right('0000':YEAR,4), "%mm/%dd/%yyyy") Thank you, all you guys for your support, when i execute the above statmenet it gives like 2008-02-19. Again later i changed that by usi...
by srini.dw
Thu Mar 27, 2008 2:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversation
Replies: 12
Views: 4124

I tried the option like
StringToDate(MONTH : "/" DAY : "/" YEAR), "mmm/dd/yyyy"), but in vain
by srini.dw
Thu Mar 27, 2008 2:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversation
Replies: 12
Views: 4124

Date conversation

Hi,

My Source column all are Integer
Target column is Date (format)

My incoming values are like MONTH, DAY, YEAR. (3 different inputs)

Iam giving like MONTH : "/" DAY : "/" YEAR

I want the output as 12/31/2008, its giving error

Any ideas, please

Thanks