Search found 53125 matches

by ray.wurlod
Mon Jul 30, 2007 3:21 pm
Forum: IBM<sup>®</sup> DataStage TX
Topic: Simple question : how to do "10 to the power of x"
Replies: 9
Views: 5447

If the exponent is integer and small you might be able to multiply in a loop.
by ray.wurlod
Mon Jul 30, 2007 3:20 pm
Forum: IBM<sup>®</sup> DataStage TX
Topic: Simple question : how to do "10 to the power of x"
Replies: 9
Views: 5447

If the exponent is integer and small you might be able to multiply in a loop.
by ray.wurlod
Mon Jul 30, 2007 3:19 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: Solution to the large look-up
Replies: 2
Views: 2227

The temporary table with keys is probably the best suggestion. Despite the large number of rows, being a key-only table means that it won't consume a lot of space, and the DBA won't mind you're having it. For example if you had a single integer key, the table would require less than 0.3MB.
by ray.wurlod
Mon Jul 30, 2007 3:16 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: The requested Data Is Empty
Replies: 5
Views: 2809

Only table structures are imported, and then they're largely ignored while the analyses look at actual data (what's really there, as opposed to what the metadata claim). Usually the sample is created during the Column Analysis phase. Can you review your work there - even reset so that the Column Ana...
by ray.wurlod
Mon Jul 30, 2007 4:48 am
Forum: Information Analyzer (formerly ProfileStage)
Topic: The requested Data Is Empty
Replies: 5
Views: 2809

Can you verify where the sample data are stored? What are the row counts (sample size) for the sample in the PSDB?
by ray.wurlod
Mon Jul 30, 2007 4:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage Parallel Jobs
Replies: 4
Views: 2418

Care to verify what it (the solution) actually was?
by ray.wurlod
Mon Jul 30, 2007 4:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal termination of stage sample..T1 detected
Replies: 10
Views: 2951

Reset the job in Director and report back whether any "from previous run" message is logged and, if so, its contents.

I am assuming here that your job name is "sample" and there is a Transformer stage called T1. Further, the job is not running as a multi-instance job.
by ray.wurlod
Sun Jul 29, 2007 9:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding unzip in WinNT
Replies: 24
Views: 8223

If you're running version 7.5x2 of DataStage you DO have MKS Toolkit - it installs with DataStage. So you can use UNIX-style shell scripts.
by ray.wurlod
Sun Jul 29, 2007 9:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate id generation - multiple inst jobs at same time.
Replies: 5
Views: 1568

You can use .nextval in user-defined insert SQL (which is what I think you may also be asking) but the same single-threading will apply, which somewhat counteracts your use of multi-instance jobs - or even parallel jobs, for that matter
by ray.wurlod
Sun Jul 29, 2007 2:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate id generation - multiple inst jobs at same time.
Replies: 5
Views: 1568

While we think about this, can you please put yourself in the position of DataStage - doing simultaneous inserts from multiple processes all of which have to generate unique values of the same column. How would you do it? Essentially that's the same way that DataStage would have to do it.
by ray.wurlod
Sun Jul 29, 2007 2:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job control process (pid 6268) has failed
Replies: 2
Views: 1560

Are you running jobs under control of a job sequence, job control routine or batch? If so, is there anything else logged for the controller and/or for the controlled job? If you Reset the jobs in Director, is there a message logged "from previous run..." containing extra diagnostic information?
by ray.wurlod
Sat Jul 28, 2007 3:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding unzip in WinNT
Replies: 24
Views: 8223

Yeah, well...

Maybe seeing "don't use FTP stage" explicitly stated may stimulate a synapse or two.
by ray.wurlod
Sat Jul 28, 2007 3:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding unzip in WinNT
Replies: 24
Views: 8223

Don't use the FTP stage.
Create a script to perform the FTP operation (in binary mode).
Now you have the zipped file on your DataStage machine, you can use gunzip as a filter command in a Sequential File stage.
by ray.wurlod
Sat Jul 28, 2007 3:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: unable to trim
Replies: 13
Views: 2956

Pedantically you can TRIM a CHAR data type, and it is immedately padded again with APT_STRING_PADCHAR (automatically, because its data type is CHAR).

The effect is the same.
by ray.wurlod
Sat Jul 28, 2007 3:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to use Case Structures in place of nested if
Replies: 2
Views: 1276

Not possible in a derivation or constraint expression, which yours appears to be.

It is possible in a routine, but yours does not have the form of a set of nested IF statements (containing assignment statements) that one would expect to find in a routine.