Search found 53125 matches

by ray.wurlod
Thu Aug 24, 2006 12:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trouble creating hashed file during first run
Replies: 2
Views: 1176

:idea: You can cheat here. Rename the hashed file on the "read" link temporarily to something that already exists (VOCLIB is a good choice). Validate or run the job to create the hashed file you require. Then reset the proper hashed file name on the "read" link.
by ray.wurlod
Thu Aug 24, 2006 12:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete a category from command line
Replies: 15
Views: 4710

Didn't say that. But if you remove a category there is a containment relationship, and you will need to remove the contents of that category. That means not just DS_JOBOBJECTS but also all the run-time tables RT_* for the jobs in question!
by ray.wurlod
Thu Aug 24, 2006 12:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Strange Problem - Join Performance Inconsistencies
Replies: 9
Views: 3120

That nothing has changed in the job does not mean that nothing has changed on the system. For example it will be faster to insert 50 million rows into an empty table than into a table that already has very many rows. Newly added indexes, triggers and constraints will also slow load performance. Quer...
by ray.wurlod
Thu Aug 24, 2006 12:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: merging two files
Replies: 3
Views: 1315

All of the horizontal combination stage types (Lookup, Join, Merge and Funnel) can use Sequential File stages to feed their inputs. Obviously there must be some matched-metadata requirements fulfilled in each case. The cat option suggested by others is very efficient given that, in all cases, sequen...
by ray.wurlod
Thu Aug 24, 2006 12:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Special Character in Char column
Replies: 3
Views: 1148

Yes, Char fields are padded. The default pad character is set with an environment variable (APT_DEFAULT_STRING_PADCHAR if I remember correctly), but can be overridden down to the individual column level. Right click on the column in the Columns grid to open the editor and find the pad character prop...
by ray.wurlod
Thu Aug 24, 2006 12:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete a category from command line
Replies: 15
Views: 4710

Danger!! Danger!!

It's not only DS_JOBS that you need to hack. Therein lies your dilemma.

Don't attempt it.
by ray.wurlod
Thu Aug 24, 2006 12:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems changing rows in column
Replies: 7
Views: 1726

So, basically, the requirement is to sort by address and group by (a newly generated) serial number? Sort the addresses with a Sort stage, then use a Transformer stage to detect changes and generate the serial number, incrementing when the value changes. Run in sequential mode or partition by hash o...
by ray.wurlod
Thu Aug 24, 2006 12:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Load warning
Replies: 13
Views: 3801

Null Field Length property is for use with variable-length strings. You do not have any of these in a fixed-width file. Use Null Field Value property instead (they are mutually exclusive), and make sure that the value is of the correct length.
by ray.wurlod
Thu Aug 24, 2006 12:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: field not found
Replies: 9
Views: 3596

Nothing gets "detected" automatically. You have to have imported the "table definition" and gotten format and field definitions correct at that time. You then load this into the job and check that everything is still right (for example "first line is column definitions" does not load because it's no...
by ray.wurlod
Thu Aug 24, 2006 12:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle enterprise Insert only
Replies: 6
Views: 1891

Do you have a rejects-handling output link from the Oracle Enterprise stage?
by ray.wurlod
Thu Aug 24, 2006 12:09 am
Forum: IBM QualityStage
Topic: POSTAL UPDATE TO QS
Replies: 1
Views: 1393

SERP also, in case you need Canadian addresses verified. :wink:
by ray.wurlod
Wed Aug 23, 2006 9:24 am
Forum: General
Topic: HHJLDATE
Replies: 3
Views: 2684

That just didn't do it. This function does: create or replace Function Get_Hdate(F_Date in Date) Return Varchar2 Is V_date Varchar2(30); Begin Select To_char(F_Date, 'DD/MM/YYYY', 'nls_calendar = '''||'Arabic Hijrah''') Into V_date From Dual ; Return V_date; End Get_Hdate;
by ray.wurlod
Wed Aug 23, 2006 8:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Error on AIX machine while using ODBC table def
Replies: 1
Views: 707

This is usually a problem with your shared library search path, which should be set in the dsenv as an environment variable called LD_LIBRARY_PATH. It must be able to find the libraries in the branded_odbc/lib directory. Also, make sure that 32-bit database client libraries precede any 64-bit databa...
by ray.wurlod
Wed Aug 23, 2006 8:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: where to locate .dshome file
Replies: 7
Views: 3594

Or simply ask to read its contents, which will answer both your questions!

Code: Select all

cat /.dshome

Note for users of Windows-based servers: the .dshome file is not used on these machines; instead the location of the DataStage install directory is unsurprisingly a Registry entry.
by ray.wurlod
Wed Aug 23, 2006 8:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Macros
Replies: 2
Views: 979

Most of the supplied macros are mainly useful in enriching captured errors with information about the job in which they were captured.

You can create your own, but it requires a reasonably advanced knowledge of the DataStage BASIC programming language as well as editing of a configuration file.