Search found 53125 matches

by ray.wurlod
Wed Jan 18, 2006 3:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing 25 Different User Defined Queries
Replies: 2
Views: 746

The Columns used in a DataStage job are not dynamic. Your choices are therefore to continue to use 25 separate jobs (since you've already created them) or to use generic (VarChar) columns - but even then you still must have the correct number of columns (you could change the shorter queries to selec...
by ray.wurlod
Wed Jan 18, 2006 3:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To identify the months between first month and end month
Replies: 4
Views: 1055

Should this be a decimal number (3.4 months) or an integer number of completed months (3 months)?

It's easiest done with a routine. I'm sure you can construct the algorithm. Do so (on paper), then try translating into DataStage BASIC.
by ray.wurlod
Wed Jan 18, 2006 3:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Will PX work with dynamically allocating LPAR's on AIX/DB2?
Replies: 4
Views: 1579

I suspect that it would be handled, maybe with warnings. PX starts processes, and does not care about which CPU any particular process is running on. However, this answer assumes that dynamically allocating LPARs copes gracefully with already-running processes if the number of CPUs is reduced; no re...
by ray.wurlod
Wed Jan 18, 2006 3:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error - Viewing Sequential File
Replies: 4
Views: 1920

What has changed? "Nothing" is not the correct answer.
by ray.wurlod
Wed Jan 18, 2006 3:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ds_uvput() - Write failed for record id '<Missing or NULL
Replies: 3
Views: 6197

A hashed file (note hashed, not hash) is a database table. Primary key values can not be null. Somehow your design seems to be trying to write a null key to a hashed file.

Why do you think you need hashed files between the rest of your design and the DB2 stages?
by ray.wurlod
Wed Jan 18, 2006 3:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic Hash file (create file) properties
Replies: 2
Views: 1100

There's also doing the arithmetic. A hashed file is made up of a number of pages (groups) the size of which you decide (either 2KB or 4KB). You have a certain volume of data that you need to store; you also allow, say, 20% headroom. So, to store N bytes of data, you need (N + 20%) / (page_size) page...
by ray.wurlod
Wed Jan 18, 2006 3:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: teradata table lookup
Replies: 6
Views: 2052

If both sources are Teradata, can you perform the join within Teradata? If not, can you reverse the logic, so that your lookup table only contains 200000 rows? Otherwise, do consider a server job, which can perform lookups directly against the (large) Teradata table. With only 200000 records to proc...
by ray.wurlod
Wed Jan 18, 2006 3:24 am
Forum: Data Integration
Topic: DataStage versus SQL Server Information Services
Replies: 11
Views: 19414

DataStage client software is (since 7.0) written using .NET Framework 1.1 (therefore the .NET framework must be installed in order for it to be run).
by ray.wurlod
Tue Jan 17, 2006 11:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS.PLADMIN.CMD CLEAR STATUS
Replies: 3
Views: 2156

The log (hashed) file and the status (hashed) file are totally separate entities. Clearing the status file has no effect on the log file. Purging the log file has no effect on the status file.

You will notice that RT_STATUS2271 was cleared - not RT_LOG2271.
by ray.wurlod
Tue Jan 17, 2006 11:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Erro - Converting from UTF-8
Replies: 4
Views: 2233

Parallel Maps Installation Button is disabled?

Are you logged in with Administrator access?
by ray.wurlod
Tue Jan 17, 2006 11:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Test plan
Replies: 3
Views: 796

Welcome aboard. :D That is an entirely unfair question. The only honest answer is that there is, in existence or in potentio, an infinite number of test plans. (You did not restrict your universe of discourse. I shall, and restrict myself to ETL processing.) Test plans have granularity, from "seems ...
by ray.wurlod
Tue Jan 17, 2006 7:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential File Issue
Replies: 6
Views: 1154

Read the file as a single column. Use Field() (if delimited) or Substrings() (if fixed width) to isolate the selector value. Four separate outputs as before, each with the single column that you read, and constrained by the selector value. On all five Sequential File stages, specify either no delimi...
by ray.wurlod
Tue Jan 17, 2006 5:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how do i increment
Replies: 4
Views: 1701

"/" for UNIX! :oops:

Wouldn't an ExecuteCommand activity executing head -1 filepath be easier? You could just pick up its return value.
by ray.wurlod
Tue Jan 17, 2006 4:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Implementing Type 2 SCD with DS
Replies: 13
Views: 4396

Intelligent. This is not the first attempt they've made at Intelligent Assistants. The first attempt was only (iirc) for 7.1 on Windows, and were wizards that guided you through job construction (source table? target table? voila! a job that moves data). The latest lot seem to be XML exports of para...
by ray.wurlod
Tue Jan 17, 2006 3:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Start Loop Activity Stage - want to source a parmfile.txt
Replies: 2
Views: 1304

Assuming that there aren't too many lines in the file, you could read the entire file into an array, or a delimited string, using a Routine activity, then use something like a Field() function to extract the appropriate line number. Make use of the fact that DataStage BASIC translates line terminato...