Search found 144 matches

by suresh_dsx
Tue Jan 22, 2008 11:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ora stage warning.
Replies: 8
Views: 2681

In the oracle table column datatype/length Cust_id not null Number 38 In data stage, oracle stage cust_id not null decimal 38 i specified only the length 38, no need to specify the scale. Any way the scale value will be 0. All the stages in the job, I gave the data type is Decimal and length is 38. ...
by suresh_dsx
Tue Jan 22, 2008 11:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ora stage warning.
Replies: 8
Views: 2681

In the oracle table column datatype/length Cust_id not null Number 38 In data stage, oracle stage cust_id not null decimal 38 i specified only the length 38, no need to specify the scale. Any way the scale value will be 0. All the stages in the job, I gave the data type is Decimal and length is 38. ...
by suresh_dsx
Tue Jan 22, 2008 11:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ora stage warning.
Replies: 8
Views: 2681

ora stage warning.

Hi, I have a job Oracle stage - > transformer - >dataset Oracle Stage: Cust_id decimal 38 not null User deifned sql query: select cust_id from table_name The job is running fine. But it is showing the below warning. Val_ORA: Column CUST_ID floating point decimal is not fully supported; adjusting the...
by suresh_dsx
Fri Jan 18, 2008 5:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Internal error
Replies: 1
Views: 749

Internal error

Hi, The code is working fine in the server but not in the parallel transformer. Iam unable to compile the job in parallel. If any one face the same error please share with me. The compilation error: Output from transformer compilation follows: ##I TFCN 000001 05:22:10(000) <main_program> Ascential D...
by suresh_dsx
Wed Jan 09, 2008 1:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer stage Vs switch stage
Replies: 1
Views: 1924

Transformer stage Vs switch stage

The transformer stage contains three stage variables. Stage variable 1: if sal >0 and sal <10000 then 1 else if sal >10000 and sal <20000 then 2 else if sal >20000 and sal <30000 then 3 else if sal >30000 and sal <50000 then 4 else sal = @NULL Stage variavle2: SAL =(SAL*12)/15 Stage Variable3: if ag...
by suresh_dsx
Wed Jan 02, 2008 12:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSSetUserStatus, unable to use in parallel
Replies: 5
Views: 5584

In the server Oracle stage -- transformer -- transformerstage2--oracle stage 10 columns --10 columns --11columns(11th column we are doing some calculation) then passing to the next stage--11columns (11th column we are passing to the routineR1(LINK.COL). The return value storing in to the table. In p...
by suresh_dsx
Wed Jan 02, 2008 12:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSSetUserStatus, unable to use in parallel
Replies: 5
Views: 5584

In the server Oracle stage -- transformer -- transformerstage2--oracle stage 10 columns --10 columns --11columns(11th column we are doing some calculation) then passing to the next stage--11columns (11th column we are passing to the routineR1(LINK.COL). The return value storing in to the table. In p...
by suresh_dsx
Wed Jan 02, 2008 8:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSSetUserStatus, unable to use in parallel
Replies: 5
Views: 5584

DSSetUserStatus, unable to use in parallel

Hi, I am doing the server to parallel conversion. I created a routine in the server. Routine name: R1 Input Argument: Arg1 $INCLUDE DSINCLUDE JOBCONTROL.H Call DSSetUserStatus (Arg1) Ans = Arg1 I am using this routine in the stage variable of the transformer stage Stage variable derivation tab: R1(L...
by suresh_dsx
Wed Dec 26, 2007 1:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fmt FROM SERVER TO PARALLEL
Replies: 17
Views: 3669

I tried with a sample test the following First i took a column name: Col1 Data type: Decimal Data length: 15 First Stage variable name SONE: DecimalToString(DSLink4.Col1) Second stage variavle name STWO: Length(SONE) Third stage variable name STHREE: STR('0',9 - STWO) The valus is passed to the targ...
by suresh_dsx
Wed Dec 26, 2007 1:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fmt FROM SERVER TO PARALLEL
Replies: 17
Views: 3669

I tried with a sample test the following First i took a column name: Col1 Data type: Decimal Data length: 15 First Stage variable name SONE: DecimalToString(DSLink4.Col1) Second stage variavle name STWO: Length(SONE) Third stage variable name STHREE: STR('0',9 - STWO) The valus is passed to the targ...
by suresh_dsx
Wed Dec 26, 2007 11:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fmt FROM SERVER TO PARALLEL
Replies: 17
Views: 3669

I tried in this way. i crated a one stage variable which calculates the length of the coulmn. i created one more stage variable which minus with 9. The final integer value will be passed to STR function. value First Stage variable name:sta1 data type: integer Derivation: Len(link.col1) Second stage ...
by suresh_dsx
Wed Dec 26, 2007 9:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fmt FROM SERVER TO PARALLEL
Replies: 17
Views: 3669

i tried with that...

it is not returning any rows....

Please give me the solution with the syntax...

Thanks
by suresh_dsx
Wed Dec 26, 2007 9:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fmt FROM SERVER TO PARALLEL
Replies: 17
Views: 3669

My source data type is decimal
target data type is varchar
by suresh_dsx
Wed Dec 26, 2007 9:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fmt FROM SERVER TO PARALLEL
Replies: 17
Views: 3669

Hi, i am trying with the below function STR('0',9 - Len(DSLink4.test1)) : DSLink4.test1 i am finding the length and minus with 9. the difference will be repated that many times and placed the zeros and finally concatenated with actual value. But i am not getting the zeros, only getting the same sour...
by suresh_dsx
Wed Dec 26, 2007 6:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fmt FROM SERVER TO PARALLEL
Replies: 17
Views: 3669

ok fine... my source data is Source 1 2 3 4 5 . . . 100 101 ...so on i want to make the output for that column like this Output 000000001 000000002 000000003 . . . . 000000100 000000101 ........and so on... Please give the solution. How can i convert in parallel. Sorry for keep on asking same thing....