Search found 53125 matches

by ray.wurlod
Wed Jun 22, 2005 6:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Project variables in selection criteria?
Replies: 2
Views: 814

Yes, it's possible, but NOT in View Data! You need to provide an explicit value when prompted for the job parameter value. For some reason, the data browser can not pick up the user-defined environment variable - even though it's right there. This is probably a bug. You'll find that they work fine w...
by ray.wurlod
Wed Jun 22, 2005 6:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: '£ ' getting converted to '#'
Replies: 6
Views: 2604

Welcome to US Imperialism, where Shift-3 is "#" (which, curiously, those in the US call the "pound sign"). Yamini's solution is the simplest.
by ray.wurlod
Wed Jun 22, 2005 6:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Why Rnd() function generates same number twice?
Replies: 10
Views: 2965

The base assumption - that Rnd() cannot generate the same number twice - is incorrect. That's like saying that tossing a coin can never generate two heads or two tails - what happens on the third toss? Edge? How about the fourth toss? Your logic (somewhat familiar - are you at Reliance?) suggests th...
by ray.wurlod
Wed Jun 22, 2005 6:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Subtract 1 sec from a timestamp (2005-06-22 13:51:06)
Replies: 8
Views: 4326

You have a problem if the incoming timestamp is 2005-06-22 00:00:00 for which the result should be 2005-06-21 23:59:59.

Create a stage variable or routine to handle this boundary condition.
by ray.wurlod
Wed Jun 22, 2005 6:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to check last link status or last stage status
Replies: 5
Views: 1307

When a link is from one active stage Xfm1 to another active stage Xfm2 there will never be any error. Therefore you need a different technique, probably an output constraint on Xfm1. But do you really want to trigger Job1 and - possibly - Job2 for every row in the text file? This is what your job de...
by ray.wurlod
Wed Jun 22, 2005 5:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 problem, Invalid string or buffer length. SQLSTATE=HY090
Replies: 6
Views: 3897

Do you have SELECT privilege granted on the requisite system tables?
by ray.wurlod
Wed Jun 22, 2005 5:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Phantom error 13127
Replies: 3
Views: 1628

The vital part of these messages is Contact Customer Support Immediately!!! You have a dynamic hashed file in which the "dynamic" mechanism has been broken. The figures being reported can also be seen using the command analyze.shm -d if the dynamic hashed file is open. I am fairly certain that the h...
by ray.wurlod
Wed Jun 22, 2005 5:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Port Number
Replies: 6
Views: 2035

There should be an entry in /etc/services for this TCP port number.
by ray.wurlod
Wed Jun 22, 2005 5:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: UnStable DataStage Server 7.5
Replies: 2
Views: 1004

Addressing only the Notification Activity question, do you have an SMTP client installed on the DataStage server machine?
by ray.wurlod
Wed Jun 22, 2005 5:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL Runing On Several Tables
Replies: 7
Views: 1264

Is there is way to call sp within VB code?

Probably, but the answer won't be found on a DataStage forum.
by ray.wurlod
Wed Jun 22, 2005 5:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Stage in PX
Replies: 4
Views: 1763

As well as everything Vincent said, note that Readers Per Node is intended only for fixed-width format files. It's fully described in the Parallel Job Developer's Guide
by ray.wurlod
Wed Jun 22, 2005 5:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: shell script
Replies: 7
Views: 3361

The script to which Craig provided a link will run parallel or server jobs. No change is required, unless you want to control the value of the APT_CONFIG_FILE environment variable within the shell script. The dsjob command line interface is uninterested in the job type; it can start server jobs, par...
by ray.wurlod
Wed Jun 22, 2005 5:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Timestamp conversion
Replies: 23
Views: 5861

You could use the code below to determine the month number. The rest should be a simple matter of concatenation and the StringToDate function. Put the delimited Month list in the default value for a Stage Variable (svMM). Leave the derivation empty. svMM(default) = 'Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|...
by ray.wurlod
Wed Jun 22, 2005 5:12 pm
Forum: IBM QualityStage
Topic: QS Plugin reinstall?
Replies: 7
Views: 3687

The software occurs once, but a record of its existence must be loaded into DS_STAGETYPES in each project so that it can be used in each project.
by ray.wurlod
Wed Jun 22, 2005 5:10 pm
Forum: IBM QualityStage
Topic: RealTime QS
Replies: 3
Views: 2437

Then you need a fast method of retrieving not just the matching record but also its standardized forms. I normally solve this by adding fifteen columns to the table into which I initialize the standard forms (e.g. NYSIIS of last name, NYSIIS of city) then index these and any raw data fields that I m...