Search found 68 matches

by changming
Thu Jun 04, 2009 12:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: copy stage has different input row number and output row num
Replies: 6
Views: 3944

copy stage has different input row number and output row num

I have ODBC stage -----------> copy stage-----------> filter stage the copy stage is simple, just to rename a field, but I found the input records number is more than output record name. Any idea why this happened? I also change the copy stage option face=true, than I got same problem. then I change...
by changming
Mon Jun 01, 2009 12:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: best way to add + sign infront of a number
Replies: 3
Views: 1844

I can guess that is way to do it

Thanks, Ray, for giving me the direction. But I still need to know more details about that. I have tried diffrent setting/options on the Numeric decimal data type for 1 hour. I still could not get what I expected.
by changming
Mon Jun 01, 2009 12:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: best way to add + sign infront of a number
Replies: 3
Views: 1844

best way to add + sign infront of a number

is there any other way to add the + sign in front of a positive number? I don't like to use string function to do that.
by changming
Wed Apr 15, 2009 12:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert String to Decimal in subroutine
Replies: 8
Views: 2593

pass the value you want to add as a parameter to the command

Hi, 1 2 3 4 Filename="test.dat" 5 Jobname="testjob" 6 scriptsdir="/usr/testdir" 7 scriptname="amt.ksh" 8 commd="ksh":" ":scriptsdir:"/":scriptname:" ":Filename:" ":Jobname:" ":"outputfile.dat&qu...
by changming
Mon Feb 23, 2009 6:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Roll up monthly data to SCD
Replies: 7
Views: 5405

Re: Roll up monthly data to SCD

use oracle analytic function (Lag or lead)to get current state and next state, current start date and next end date partition by name order by date.
if current is equal to next, use current start date and next end date.
there will be a problem on formance.
any better idea?
by changming
Mon Feb 23, 2009 6:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Load Characteristic
Replies: 2
Views: 1019

Re: Oracle Load Characteristic

Hey, I am using LOAD option in oracle enterprise stage. When i load onto the VARCHAR Field, the data is getting loaded with spaces. Example Assume the job as follows Oracle -----> Transformer------->Oracle In transformer i am defaulting a value "SM" for column "Code" of datatype...
by changming
Wed Oct 31, 2007 10:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to avoid warning in datastage director when repartition
Replies: 4
Views: 2577

how explicitly

the message is "JN_Debt_Follow_Up.LN_join_DataSet_Sort: When checking operator: Operator of type "APT_TSortOperator": will partition despite the preserve-partitioning flag on the data set on input port 0." what is explicitly repartition? how to explicitly repartition? Sorry, my q...
by changming
Wed Oct 31, 2007 10:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to avoid warning in datastage director when repartition
Replies: 4
Views: 2577

how explicitly

the message is "JN_Debt_Follow_Up.LN_join_DataSet_Sort: When checking operator: Operator of type "APT_TSortOperator": will partition despite the preserve-partitioning flag on the data set on input port 0." what is explicitly repartition? how to explicitly repartition? Sorry, my q...
by changming
Wed Oct 31, 2007 9:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to avoid warning in datastage director when repartition
Replies: 4
Views: 2577

how to avoid warning in datastage director when repartition

I have some job, when the repartition has to happen, such as join key changed between one join stage to another join stage, it will give warning. Can anyone give me some guide how to avoid these warning message? (do not handle massage in director).
many thanks
by changming
Wed Oct 31, 2007 9:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conversion of date(4) to timestamp(26)
Replies: 9
Views: 3949

date to string them string to timestamp

It should work. I used few days ago. Check your format %yyyy-%mm-%dd
by changming
Mon Sep 24, 2007 11:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with string to decimal conversion
Replies: 4
Views: 6795

Re: problem with string to decimal conversion

in transform set to input.field/1, convert null to '0' , set the output datatype to Decimal(5,3).
It will work
by changming
Mon Sep 24, 2007 10:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Add new parameter and remove default value from Jobs
Replies: 10
Views: 3177

Re: Add new parameter and remove default value from Jobs

I do not think there is a simple way to do it. Just change it one by one, that will only take 2 days for one people.
by changming
Tue Aug 21, 2007 9:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invalid character value for cast specification
Replies: 8
Views: 5258

Re: Invalid character value for cast specification

I'm getting an Invalid character value for cast specification on this column: It's coming from a sequential file RATING_PUBLSHD_DT = "9/13/1999 0:00:00" I'm trying to insert it into sql server, as a timestamp. (23,3). Not sure why i'm getting an error on this for. I believe you format the...
by changming
Mon Jan 08, 2007 11:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How merge stage works
Replies: 4
Views: 1548

How merge stage works

I was facing one preblem. the merge stage process two files. all filds are direct writen to a new output file. something I do not understand is some field in source is null become others field's value in target file. if I replace the null with 'NULL' in source, 'NULL' will be writen in target file c...
by changming
Thu Nov 30, 2006 11:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 'call DSExecute' does not work in job control
Replies: 4
Views: 1492

it did work

chulett thanks for your advice. It did work . in the script I will run , just two commands. such as echo "helo world" touch HelloWorld.flg I made a very stupid mistake, I did define the directory the file should be created. when I could not find the file, I thought the script was not excut...