Search found 763 matches

by bcarlson
Tue May 24, 2005 8:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Terawrite worked once, now won't work again
Replies: 5
Views: 5067

Terawrite worked once, now won't work again

I have a parallel job that just reads a PX dataset and writes to a Teradata table using the Teradata Enterprise Stage (aka terawrite). It writes using the replace mode. I got it to work a couple of times, and now it won't work at all. The program has not changed. It would work once, then fail a few ...
by bcarlson
Mon May 23, 2005 4:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Env Variable APT_TERA_64K_BUFFERS (Teradata)
Replies: 1
Views: 1366

Env Variable APT_TERA_64K_BUFFERS (Teradata)

Can anyone tell me mroe about the APT_TERA_64K_BUFFERS (boolean) variable? The description says 'Enables the use of 64K buffers for the terawrite operator." The documentation says "Orchestrate assumes that the terawrite operator writes to buffers whose maximum size is 32 KB. Enable the use...
by bcarlson
Mon May 23, 2005 3:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Teradata unique secondary index error
Replies: 1
Views: 5758

You can use the before/after sections of the Multiload stage. Syntax depends on if you have named indexes or not. I'll use both types in the example: In the before section: drop unique index (field1, field2) on mydb.mytable; -- or -- drop unique index myindxname on mydb.mytable; In the after section...
by bcarlson
Mon May 23, 2005 1:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Teradata write created hundreds of sessions
Replies: 3
Views: 4747

Teradata write created hundreds of sessions

I guess You're trying to load a terradata tables isn't it ?? If so did you set "-sessionsperplayer" and "-requestedsessions " as DB options ??? All the best I copied this from a posting by l_homme_de_rio made in response to "multiload utility in Parallel mode", http://...
by bcarlson
Mon May 23, 2005 12:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I terminate and roll back a db2 load?
Replies: 3
Views: 2640

We use DB2 with PX as well. My understanding is that a true load (i.e. uses DB2's autoloader) cannot be rolled back. If a load fails, you can get the table released (from the load pending state) and the table will contain any data that had successfully loaded, but would not roll back to the original...
by bcarlson
Tue May 17, 2005 12:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: schema
Replies: 1
Views: 1085

If you have exported the DSX to a file, you can pull the schemas from that. Open the DSX in an editor and search for the word schema. It should look something like this: -schema record {record_length=fixed, delim=none, ebcdic, native_endian, binary} ( FIB_CDC_APPLICATION_ID:string[15]; FIB_CDC_PAGE_...
by bcarlson
Mon May 16, 2005 12:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove non-ascii char from a string
Replies: 4
Views: 5251

If you are using custom buildops, you can take advantage of some of the C/C++ built-in functions. We wrote a function called stringToGraph that takes a string as input, loops through each character and uses the C macro isgraph(c) to test if character c is a graphic character (letter, number, type of...
by bcarlson
Mon May 16, 2005 11:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error in viewing the data
Replies: 3
Views: 2806

Check your import schema. The messages you are getting are the same as those you would get if there was a problem with your Sequential File Stage import during processing. The browser has to import the data, too. In your schema, make sure you define the format of the data coming in (in the Edit Colu...
by bcarlson
Fri May 13, 2005 11:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key generator
Replies: 2
Views: 2184

We use Surrogate Keys a lot. You can use a variable (job parameter) to seed the generated id or always start with 1 and in the same job pull the max id + 1 of your target table (into which your new data will be loaded). Then in a transformer, as mentioned by T42, you can add the generated it to the ...
by bcarlson
Thu May 12, 2005 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading Data from Dataset
Replies: 3
Views: 2459

You can use integer, but you must use an unsigned integer. A signed integer can hold values from -2 ^ 31 through +(2^31) - 1, or -2147483648 to +2147483647 (approx -2.1 billion to +2.1 billion) An unsigned integer can hold from 0 to +(2^32) - 1 = +4294967295 (0 to approx. +4.3 billion) If you know t...
by bcarlson
Thu May 12, 2005 4:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: surroagte key geneartor error
Replies: 2
Views: 2341

What criteria did you use for your surrogate key? What data is going into it? I am wondering if the error is actually related to the data going into the generator as opposed to what the generator is doing. The Generator can only create a numeric output field and doesn't do anything with timestamp. A...
by bcarlson
Thu May 12, 2005 4:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merging 2 files with specail handling if there is a match
Replies: 2
Views: 2199

We have into this as well. Here's what we have done: 1) After each import (on the output link, that is), add a Generator stage to add a file_id field that is hardcoded to 1 or 2 (depending on which link it is attached to) 2) Funnel the results together 3) Sort on your data keys (billing_nr, ship_nr,...
by bcarlson
Thu May 12, 2005 4:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple record entries to be produced from a single row.
Replies: 5
Views: 3408

Yes, it helps to have some C/C++ background, but most of our staff had little or no background when they started. All it takes is one or two people that DO know C and/or C++ and the ball starts rolling. I just don't want people to get scared off when they see "C/C++". For the most part, it...
by bcarlson
Wed May 11, 2005 5:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple record entries to be produced from a single row.
Replies: 5
Views: 3408

Just wanted to throw out another option, since I haven't seen it mentioend yet, here or in other related topics. We use Buildops at our shop. They handle the ETL all at once in one buildop stage rather than a multitude of other stages. A lot of our data comes from source that use occurences. Mostly ...
by bcarlson
Mon May 09, 2005 4:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Set
Replies: 2
Views: 1154

Remember, in PX, you need to think 'parallel'. Once a sequential file is read into a dataset, the dataset is stored so that PX can access it in parallel. This is great when multiple processes may need access to the same sequential file. Rather than have multiple processes read from the file, have on...