Search found 53125 matches

by ray.wurlod
Fri Jul 01, 2011 6:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid Precision error in ODBC Connector
Replies: 2
Views: 2300

This error most usually occurs when the Precision field for a Decimal or string column has been left unpopulated. That's the first thing I'd check.

Nor is it permissible for precision to be zero or a negative number nor, indeed, too large.
by ray.wurlod
Fri Jul 01, 2011 6:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job aborted 'glibc detected' error
Replies: 11
Views: 8804

rpm is a Linux command. It may not be findable in your PATH, but it should be findable if you're logged as superuser. Of course, you could use a find command to determine the location of the rpm command.
by ray.wurlod
Fri Jul 01, 2011 6:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CurrentTimestamp() before 3 months
Replies: 8
Views: 3526

Create a routine that subtracts 3 from the month if it is 4 through 12, or adds 9 to the month and subtracts 1 from the year if the month is 1 through 3, then adjusts the date backwards until it is valid. From that new date, rebuild the timestamp. Alternately you could perform these steps in stage v...
by ray.wurlod
Fri Jul 01, 2011 1:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage (join stage)
Replies: 3
Views: 2287

Welcome aboard.

Please prove your assertion, and describe the Partitioning settings on both inputs of the Join stage in question.

Please also be a little more careful when crafting English sentences.
by ray.wurlod
Fri Jul 01, 2011 12:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CurrentTimestamp() before 3 months
Replies: 8
Views: 3526

OK, what is the timestamp three months before 2011-05-31 11:12:13 ?
by ray.wurlod
Thu Jun 30, 2011 10:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key Generator questions
Replies: 41
Views: 8392

Yes you have (erred in your design). ExecSH is a "before/after subroutine". This type of routine is not suitable for use as a Routine activity - only "transform functions" can be used. The reason for that is that before/after subroutines do not have a mechanism for returning a va...
by ray.wurlod
Thu Jun 30, 2011 9:50 pm
Forum: General
Topic: DS8.5 Client connection Error
Replies: 2
Views: 2236

You have not yet set up the Engine credentials.

Do this using the Web Console for Information Server, on the Domain Management menu. You will need to be logged in as a user to whom Suite Administrator role pertains.
by ray.wurlod
Thu Jun 30, 2011 9:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion of Time from EST to GMT.
Replies: 12
Views: 7416

uvGMTSecs <-- System(99) uvDays <-- Int(uvGMTSecs / 86400) uvSecs <-- Mod(uvGMTSecs, 86400) uvDate <-- Oconv(uvDays + 732, "D-YMD") uvTime <-- Oconv(uvSecs, "MTS") uvTimestamp <-- uvDate : " " : uvTime Generalize from the above. You couldn't, for example, do all of tha...
by ray.wurlod
Thu Jun 30, 2011 4:52 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: Application Error: While trying to open Primary Key Analysis
Replies: 1
Views: 1290

Out of memory? You would need to look at the detailed logs to determine on which tier the memory problem occurred.
by ray.wurlod
Thu Jun 30, 2011 4:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion of Time from EST to GMT.
Replies: 12
Views: 7416

In an expression in a job sequence (for example in a User Variables activity) you could use the System(99) function, which returns the number of seconds since midnight GMT on January 1, 1970, then use Oconv() and Time() functions to convert that to current.
by ray.wurlod
Thu Jun 30, 2011 4:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CurrentTimestamp() before 3 months
Replies: 8
Views: 3526

Sometimes the business rule then specifies that the day in question must be a business day (not a weekend or a holiday).

What are your business rules?
by ray.wurlod
Thu Jun 30, 2011 4:46 pm
Forum: General
Topic: Number of parallel, sequential jobs, routines
Replies: 11
Views: 3100

Routines aren't in DS_JOBS or DS_JOBOBJECTS at all.

Job type is identified by JOBTYPEIND in the DS_JOBS table.
by ray.wurlod
Thu Jun 30, 2011 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate key generator using flat file input
Replies: 3
Views: 4577

Why do you want to avoid "the holes"? They are not relevant for surrogate keys. Except in very special circumstances, noted elsewhere, it is impossible to guarantee an unbroken sequence from the Surrogate Key Generator stage. You need to use a different mechanism. Why not have the Sequenti...
by ray.wurlod
Thu Jun 30, 2011 4:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key Generator questions
Replies: 41
Views: 8392

Show us your routine code. In particular, what value are you putting into the Ans variable?

But why are you using a Routine activity at all? Surely an Execute Command activity would be more appropriate?
by ray.wurlod
Thu Jun 30, 2011 4:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in reading source file and loading data into DB
Replies: 3
Views: 1436

Once you know the format of the CSV create a source-to-target mapping specification and base your DataStage design upon that.