Search found 92 matches

by ambasta
Sat Oct 28, 2006 7:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Exract only number from alphanumeric
Replies: 5
Views: 3307

Thanks a lot Kumar.My problem is resolved now.
by ambasta
Fri Oct 27, 2006 11:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Exract only number from alphanumeric
Replies: 5
Views: 3307

How to Exract only number from alphanumeric

Hi All, My requirement is to Populate only number for a column which can contain alphanumeric.The length of Column is 24 and dattype is Varchar.number and alphabets can come at any place. Ex..if data is coming like hfkhfh12hje4344jbd4j then i need to populate only 1242444. or if input data is hjdghj...
by ambasta
Thu Oct 26, 2006 4:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data is getting rejected at lookup.
Replies: 9
Views: 3297

Thanks a lot for this great Suggession.I will take care of this in Future.
As I Understood if i will set APT_STRING_PADCHAR as 0x20 and then trim the column RECORD as Trim(RECORD) then we will get [Ready ] as [Ready].Right!!!
by ambasta
Thu Oct 26, 2006 3:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data is getting rejected at lookup.
Replies: 9
Views: 3297

Thanks a lot Nagesh,
I am not aware of this Environment Variable called APT_STRING_PAD_CHAR.can you please explain what is the functionality of this and what it does.


Thanks in Advance.
by ambasta
Wed Oct 25, 2006 9:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data is getting rejected at lookup.
Replies: 9
Views: 3297

Hi Kunal, Just remember, whenever your doing lookup the filed datatype should be same in both Main stream and reference stream. here Length is a problem , when ever your performing lookup on CHAR to CHAR field. Length is not at all a problem when you are performing lookup on Varchar to Varchar fiel...
by ambasta
Tue Oct 24, 2006 1:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data is getting rejected at lookup.
Replies: 9
Views: 3297

Thanks a lot Shantanu for your quick and kind suggession.
I am already doing the Trim of Lookup column as well as main Stream.Is this any Unicode data problem??
by ambasta
Tue Oct 24, 2006 1:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data is getting rejected at lookup.
Replies: 9
Views: 3297

Data is getting rejected at lookup.

Hi All, In My job i am using one lookup table based one column having length Varchar(12),but the actual data is coming of length 8.I am trimming that field at oracle and then doing the lookup.When i am making length as 12 all data are getting rejected at lookup,but if i am giving length as 8 data is...
by ambasta
Thu Oct 12, 2006 2:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 USER DEFINED SQL
Replies: 4
Views: 1367

Hi Ray,
Actually i was not aware of that fact.from now on i will definitely take care of these Etiquettes.Thanks for your guidance.
by ambasta
Thu Oct 12, 2006 2:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: transformer error
Replies: 4
Views: 1335

If you are not having too much data can you please check if there is any duplicate record coming after joining two files???if yes! and you are not handing that using remove duplicate stage then the problem can be this one.
by ambasta
Thu Oct 12, 2006 2:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: transformer error
Replies: 4
Views: 1335

Are you performing any calculation at transforming level???
by ambasta
Thu Oct 12, 2006 2:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare the two dates which is Greater
Replies: 8
Views: 7806

I think you can do this by converting your fields as datetosting or timestamptoString and then compare themn.I think this will work
by ambasta
Thu Oct 12, 2006 2:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 USER DEFINED SQL
Replies: 4
Views: 1367

I think i cxan help you on this,but can u please explain your requirement in simple words [DEP_DATETIME BETWEEN CAST('2006-10-12 00:00:00.000000' AS TIMESTAMP) - 28 DAYS AND CAST('2006-10-12 00:00:00.000000' AS TIMESTAMP) - 21 DAYS THEN 'N' WHEN DEP_DATETIME BETWEEN CAST('2006-10-12 00:00:00.000000'...
by ambasta
Thu Oct 12, 2006 10:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: data is getting rejected when loading to file.
Replies: 14
Views: 4986

I think there is no other way out .... :( .i need to do it in the transformer using IsNull function for every column separetely.
by ambasta
Thu Oct 12, 2006 10:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: data is getting rejected when loading to file.
Replies: 14
Views: 4986

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.]
by ambasta
Thu Oct 12, 2006 9:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: data is getting rejected when loading to file.
Replies: 14
Views: 4986

Thanks GURU,
But this constrain is for around 100 fields.conversion like
Timestamp to Char
Varchar to Char
Decimal to Char etc are there.