Search found 53125 matches

by ray.wurlod
Fri Feb 22, 2008 7:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: getting fatal error while loading teradata using ODBC
Replies: 1
Views: 811

No-one can help you while you still have operator combination in effect.
by ray.wurlod
Fri Feb 22, 2008 7:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in Hash file
Replies: 12
Views: 3003

The answer is no. The maximum permitted value of MAXKEYSIZE (my error earlier, it's not MAXKEYLENGTH) is nowhere near 20000. From the manual: Specifies the maximum number of characters for a primary key. It must be any multiple of 64 between 256 and 2048. The full record ID is stored in the record l...
by ray.wurlod
Fri Feb 22, 2008 7:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inserting NULL records even after defining constraint
Replies: 19
Views: 3984

Premium membership is not expensive; it's less than 30c (Rs12) per day. Revenue from premium memberships is totally devoted to helping to defray the hosting and bandwidth costs incurred by DSXchange. And you get to be able to read the entire contents of premium posters' contributions, among other b...
by ray.wurlod
Fri Feb 22, 2008 7:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date problem
Replies: 7
Views: 2383

But, because there is a space ahead of your AM/PM designator, you need a variation, as I posted in my original answer, which is a complete solution. Do purchase premium membership. Revenue from premium membership is totally devoted to helping to defray the hosting and bandwidth costs incurred by DSX...
by ray.wurlod
Fri Feb 22, 2008 7:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filter reject link
Replies: 3
Views: 1610

Right click on the output link and choose "Change to Reject" from the pop-up menu.
by ray.wurlod
Fri Feb 22, 2008 7:33 am
Forum: General
Topic: Comparison between DS Version Control and Visual Source Safe
Replies: 3
Views: 1000

The main difference is that they are different tools that serve different purposes. Visual Source Safe is a source code control system; you have probably already noticed that DataStage uses a graphical paradigm, so does not have any source code per se (not counting routines and transforms). Version ...
by ray.wurlod
Fri Feb 22, 2008 3:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Orchestrate Exception
Replies: 3
Views: 2098

You need to look in the record schema - either in the generated OSH or in the score - to see the C-style data types reported. Clearly string[n] corresponds to the SQL data type Char(n) while string[max=n] corresponds to the SQL data type VarChar(n). When these are ustring it means that NLS is enable...
by ray.wurlod
Fri Feb 22, 2008 3:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: import error and no default value
Replies: 9
Views: 4257

Well, record 0 is the first line. Would you like to check the actual file?
by ray.wurlod
Fri Feb 22, 2008 3:07 am
Forum: General
Topic: Individual Job export and Director log via unix or win CMD
Replies: 4
Views: 1604

You don't. Not without accessing the log itself (which is a database table, so that might mean SQL or other commands that can read individual entries) and reformatting the heck out of what you get back.
by ray.wurlod
Fri Feb 22, 2008 2:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Log retrieve
Replies: 4
Views: 1099

Yes, but... Do you have the skills to restore the hashed file to a separate location, create a VOC pointer to it there, and use SQL to inspect it?

Overwriting a hashed file with one of a different structure on backup media is a Bad Idea, and can lead to corruption.
by ray.wurlod
Fri Feb 22, 2008 2:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: import error and no default value
Replies: 9
Views: 4257

Try checking your "first line is column headings" setting.
by ray.wurlod
Fri Feb 22, 2008 2:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: configuration file issuse
Replies: 1
Views: 702

Your assumption is invalid. The default, as installed, has two nodes.
by ray.wurlod
Fri Feb 22, 2008 2:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: leading zeros infront
Replies: 3
Views: 1128

Integers do not have leading zeroes. Integers are stored in a binary format. If you want leading zeroes then your target field needs to be a string. In that case an appropriate expression to use is something like

Code: Select all

Right("000000" : InLink.QT, 6)
by ray.wurlod
Fri Feb 22, 2008 2:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date problem
Replies: 7
Views: 2383

Change the format to one acceptable to SQL Server, particularly CCYY-MM-DD HH:MM:SS or CCYY-MM-DD HH:MM:SS.sss Split the input into date and time. Use Iconv() and Oconv() functions to reorganize both, then concatenate with a space between. Oconv(Iconv(Field(InLink.TheString," "...
by ray.wurlod
Fri Feb 22, 2008 2:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in Hash file
Replies: 12
Views: 3003

The correct terminology is hashed file, not "hash" file.

Are there any warnings in your job log?

What is the MAXKEYLENGTH setting for hashed files at your installation? (The default is 768, which would definitely rule out 20000-character keys.)