Search found 38 matches

by landaghaar
Thu May 15, 2008 9:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RCP with Teradata Multiload
Replies: 1
Views: 1698

RCP with Teradata Multiload

I want to create a generic job to get the schema file name and target table name and source file name as parameter. The problem is that i can't make the RCP to work with Multiloader, i keep getting the following error: 0008 .layout internal indicators; 0009 .dml label tdmload; 0010 insert TEST.Testt...
by landaghaar
Thu Dec 13, 2007 11:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading complex flat file in sequential mode
Replies: 5
Views: 2428

when you view the data from CFF stage, they are read sequencially and in order. This means that your data gets mixed up after reading. so dont change the CFF, but the stages after.
by landaghaar
Thu Dec 06, 2007 1:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Teradata Enterprise Stage loading problem
Replies: 2
Views: 1849

I think it is like SQL*Loader direct path. Default or triggers on a table work on a one row inserts. they wont work with bulk loads.

turn off bulk load and it should work, then it will be slow. so do your defaults on datastage, instead of a trigger by database.
by landaghaar
Wed Dec 05, 2007 8:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 512 byte Fixed length EBCIDIC
Replies: 1
Views: 1162

when you create the copy book for the EBCIDIC file, you use COMP-3 and (19,2) or (17,2) look at it, it will tell you the size in bytes. it is perhaps 6 or 7 bytes. fix your filler accordingly.
by landaghaar
Wed Dec 05, 2007 8:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while loading in Teradata table
Replies: 6
Views: 5947

RELEASE MLOAD Table_Name

is the answer :)
by landaghaar
Wed Dec 05, 2007 8:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: chopping decimals
Replies: 3
Views: 1971

in the worst case, put an If statement and if any number is < 0 then multiply it by -1 else take it as it is.
by landaghaar
Wed Dec 05, 2007 8:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Funnel stage problem
Replies: 4
Views: 2052

Check if you try to push a nullable column to non nullable column. this happens often. It happened to me, it shows as writing and but nothing is written.

so my suggestion is to check the null values.
by landaghaar
Fri Nov 30, 2007 11:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Special characters
Replies: 3
Views: 2088

Observation: COBOL files don't usually have delimiters. Are you translating from EBCDIC to ASCII as part of your processing? ... the delimiter i just put for readability. i just wanted to demonstrate the three columns. i am reading from cobol and want to write to a sequencial file in ascii format. ...
by landaghaar
Thu Nov 29, 2007 12:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Special characters
Replies: 3
Views: 2088

Special characters

Hello, I am reading cobol files. i noticed recently that some character fields are modified. data reads like this in cobol: ID, CMT, DATE 11, OK!, 2007-12-12 12,Done,2007-12-12 ... When I read this from data stage parallel job, i get this: ID, CMT, DATE 11, OK], 2007-12-12 12,Done,2007-12-12 ... ! c...
by landaghaar
Fri Nov 23, 2007 11:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove duplicates stage on data sorted on different keys
Replies: 8
Views: 4098

sort is needed for duplicate remover based on the keys to be considered during removing, not primary keys or business keys. in your case sort based on Value, not Key1, because in your example, for removing a duplicate, your key is value not key1. then sort it based on key1 if you need it. same as jo...
by landaghaar
Wed Nov 21, 2007 10:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Funnel dilema
Replies: 2
Views: 1423

Maveric wrote:Copy paste the exact error message here. Also check the metadata of the two streams to see if they are same. Switch off RCP in the stages preceding the funnel stage and try.
Thanks Man, turning off the RCP solved the problem. You are the man.
by landaghaar
Wed Nov 21, 2007 8:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Funnel dilema
Replies: 2
Views: 1423

Funnel dilema

We have one source file which we duplicate its records and each record will be processed differently, at the end we have to write all to the same target file. meaning, source has 10 records, target will have 20 records. process1 -> more processes-> source -> Copy -| | -> funnel -> target process2 ->...
by landaghaar
Fri Nov 16, 2007 12:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling spaces in Packed Decimal fields
Replies: 8
Views: 4174

I just browsed through other posts and found my answer.
If anyone still has this issue, just add a default property to the decimal field and make it default to 0 or 999999999 or whatever you wish.
by landaghaar
Fri Nov 16, 2007 12:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling spaces in Packed Decimal fields
Replies: 8
Views: 4174

I have the same problem and yes those fields have ebcidic 40404040 value in there.
by landaghaar
Fri Nov 16, 2007 12:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Empty String vs Null
Replies: 2
Views: 2996

I have tried that, still it inserts null to teradata.