Search found 53125 matches

by ray.wurlod
Mon Sep 24, 2007 6:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Type 30, DATA30 and OVER30 Files
Replies: 3
Views: 1611

1. Probably not true. Where was this "somewhere"? 2. There are literally hundreds of commands for adding entries to the VOC file. The correct one depends on precisely what you want to achieve. Visit the IBM UniVerse manuals website and begin by reading UniVerse System Description then UniVerse User ...
by ray.wurlod
Mon Sep 24, 2007 6:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get Administrator commands
Replies: 1
Views: 827

Enrol in the class (code DX437) Administering DataStage, if this question really pertains to parallel jobs. You posted in the parallel forum, but marked your job as "server". Research the dsjob command in either the Server Job Developer's Guide or the Parallel Job Advanced Developer's Guide - the se...
by ray.wurlod
Mon Sep 24, 2007 5:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: double quote in sequential file
Replies: 3
Views: 1192

If there are no double-quote characters in the data, then use a Filter command to get rid of them. The tr -d \" command would be fairly efficient. You could also set the Quote Character property to None, which would mean that the quote characters become ordinary data, but could be removed subsequent...
by ray.wurlod
Mon Sep 24, 2007 5:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to upsert an oracle table with huge amount of data?
Replies: 2
Views: 1271

That's about 4000 rows/second which, if you believe this is a valid metric, isn't all that bad.

You could try separating the operations. Use direct write (bulk load) for the inserts, then upsert (with "Update Only" as the rule) for the updates.
by ray.wurlod
Mon Sep 24, 2007 5:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Type 30, DATA30 and OVER30 Files
Replies: 3
Views: 1611

A dynamic hashed file is implemented as a directory containing precisely three files, called DATA.30, OVER.30 and .Type30.

DO NOT OPEN THESE INDIVIDUAL FILES

Any attempt to do so risks terminal corruption of the hashed file. You will get neither sympathy nor support if you do.
by ray.wurlod
Mon Sep 24, 2007 5:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Debugging Phantom Error
Replies: 21
Views: 6122

Even if they could, there's nothing you could do about it. It's a CALL statement to an internal subroutine, and it's passing the just-extracted Transformer stage name, so presumably it's something to do with reporting. Only Advanced Technical Support could determine for sure - even first line suppor...
by ray.wurlod
Mon Sep 24, 2007 3:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting into a not null column.
Replies: 11
Views: 3723

Welcome aboard.

Procedural Note
We do not hijack threads. For a new topic, we start a new thread.
Please do so.
by ray.wurlod
Mon Sep 24, 2007 3:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: information needed on Oracle Enterprise stage
Replies: 1
Views: 1143

Study the chapter in Parallel Job Developer's Guide on the Oracle Enterprise, study also chapters 2 and 3. Trawl through the on-line help too. As you noted, in the Oracle Enterprise stage type all you get is sqlcode on the reject link (plus all the columns from the input link, of course). It's not t...
by ray.wurlod
Mon Sep 24, 2007 12:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: not able to load data into sequential file
Replies: 2
Views: 809

The sys... tables are queried by the Oracle Enterprise stage to determine whether, and if so how, the table is partitioned. This error can arise if you lack any privileges at all to these tables. Get your DBA to grant SELECT privilege to the eight system tables that the Oracle Enterprise stage might...
by ray.wurlod
Mon Sep 24, 2007 12:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequential File
Replies: 22
Views: 3256

OK, in spite of your tr not behaving like the man pages say it ought, try this:

Code: Select all

tr -d \x0 < #$FILEDIR#/#File#.ld > #$FILEDIR#/#File#_#Name#.ld 

If that doesn't work, try using Ctrl-@, shown as ^@ below.

Code: Select all

tr -d '^@' < #$FILEDIR#/#File#.ld > #$FILEDIR#/#File#_#Name#.ld 
by ray.wurlod
Mon Sep 24, 2007 12:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Locked
Replies: 2
Views: 936

I presume you mean Cleanup Resources to log out the other user. This is a clean logout, but may take some time to complete. For safety, it is better to release all the locks owned by that process in the client before logging the process out. Then wait 2-4 minutes for the system to "clean up".
by ray.wurlod
Sun Sep 23, 2007 5:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Integrating APT Framework - write dataset directly
Replies: 1
Views: 1121

You're right - it's very simple. But the API doesn't help if you're going to rely on osh. Further, I don't think you'll get any performance gains - after all, the osh is simply two operators - import followed by copy. Build the job and examine the generated OSH.
by ray.wurlod
Sun Sep 23, 2007 5:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calculating Days
Replies: 9
Views: 2854

Pre-sort by Id then by Status. That having been done, you can use stage variables in a Transformer stage to detect change, and Iconv() of the date(s) - which you can "remember" also using stage variables - to calculate the days difference.
by ray.wurlod
Sun Sep 23, 2007 2:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequential File
Replies: 22
Views: 3256

Try losing the hard quotes, and using the -d option.

Code: Select all

tr -d \x00 < #$FILEDIR#/#File#.ld > #$FILEDIR#/#File#_#Name#.ld 
by ray.wurlod
Sun Sep 23, 2007 4:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: unable to start teradata multiload
Replies: 7
Views: 4827

You are missing the point. You can not pass $PROJDEF as a job parameter. This is a special token (as is $ENV or $UNSET) that can be used as the default value for otherwise-named environment variable job parameters. For example, you can add the environment variable value $APT_CONFIG_FILE as a job par...