Search found 53125 matches

by ray.wurlod
Tue Mar 01, 2005 2:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Ctrl Y EM in Datastage
Replies: 3
Views: 1748

More efficient is the Convert function. Convert(Char(25), "", String) However, the Change function should have worked, if the character really is Ctrl-Y. What you may actually be seeing is the non-first character of a multi-byte character. In that case, it's not Char(25) or...
by ray.wurlod
Tue Mar 01, 2005 2:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Sequence 's log
Replies: 4
Views: 1298

You're right, you can't. But, if you're in the routine activity that is the final piece of the sequence, the time "now" should be close enough.

Code: Select all

Oconv(Date(),"D-YMD[4,2,2]") : " " : Oconv(Time(), "MTS:")
by ray.wurlod
Tue Mar 01, 2005 2:39 pm
Forum:
Topic: Unable To Login
Replies: 8
Views: 5050

Are you using exactly the same user name that you used to install MetaStage? If not, try that one.
by ray.wurlod
Mon Feb 28, 2005 3:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Perfromance Issues
Replies: 7
Views: 2391

Mention to your DBA that you're wanting to execute a query that includes a correlated subquery to a 830000 row table and another correlated subquery to a 400000 row table, then run for your life! Seriously, this is a tough query for a database server. It could probably be made much more efficient if...
by ray.wurlod
Mon Feb 28, 2005 3:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Error
Replies: 10
Views: 2105

The routine is called once per row. You seem to have assumed it is called once per job invocation. The upshot is that you don't need either loop. A simple test is all you need to implement your logic. Indeed, you don't need a routine at all; the counter could be accumulated in a stage variable, test...
by ray.wurlod
Mon Feb 28, 2005 3:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning while sending a Email using DSSendMail
Replies: 12
Views: 8331

That set of error messages results from not wrapping the message in quotes.
by ray.wurlod
Mon Feb 28, 2005 3:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: First job Server Task
Replies: 4
Views: 1529

The easiest way to remember the architecture is this simple statement.

DataStage Engine is the client to the database servers.

When DataStage runs a job, it is just another client application as far as your database servers (Sybase and MS SQL Server) are concerned.
by ray.wurlod
Mon Feb 28, 2005 3:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSN Empty: list returned from host xxx
Replies: 3
Views: 1465

Having uvodbc.config in the $DSHOME directory and not in the projects is a perfectly valid approach, though you lost the ability to have different sets of DSNs per project. When a BCI call to connect to a DSN is made, DataStage searches first in the project directory for uvodbc.config , next in the ...
by ray.wurlod
Mon Feb 28, 2005 1:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Sequence 's log
Replies: 4
Views: 1298

You can add a Routine Activity and modify your routine slightly (copy it to a transform function) so it's callable by that means. Make the Routine Activity the last activity in the Sequence.
by ray.wurlod
Sun Feb 27, 2005 3:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Exception Handling from a sequence
Replies: 3
Views: 1610

I use the same style as Roy. Each Job Activity can have three triggers - finished OK, finished with warnings and failed. The latter two go to an "Any" sequencer that triggers a Routine Activity, that invokes UtilityWarningToLog and logs a message indicating that some problem has occurred, and identi...
by ray.wurlod
Sat Feb 26, 2005 4:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timer in Sequencer Job
Replies: 4
Views: 937

A counter will consume CPU cycles.

Prefer SLEEP or NAP.

If you really need an interruptable routine, create a loop that includes a SLEEP or NAP statement.

SLEEP is in seconds (or until a particular time), NAP is in milliseconds.
by ray.wurlod
Sat Feb 26, 2005 4:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: failed to connect to host,host not responding -81011
Replies: 5
Views: 2478

81011 means "unknown host".

Check that your host name (or IP address) is correctly entered and, as the others have suggested, reachable.

The DataStage RPC daemon listens on port number 31538; check that this port is not blocked by the firewall.
by ray.wurlod
Sat Feb 26, 2005 12:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Comparing columns in a record
Replies: 5
Views: 1159

No, I can't explain, unless you explain "inconsistent". What results did you expect to get and with what values, and what results did you get? Otherwise it's like asking me to tell you, from the other side of the world, why your car won't go. It might be nulls, as Ken suggested. Otherwise, post some...
by ray.wurlod
Sat Feb 26, 2005 12:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file size
Replies: 8
Views: 2128

A perfectly tuned hashed file will be very scalable based on the number of rows processed in the main stream. Remember that the hashed file is for lookups. For example, the hashed file might only have ten rows in it (for example ten different customer type codes). You could perform millions of looku...
by ray.wurlod
Fri Feb 25, 2005 4:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Comparing columns in a record
Replies: 5
Views: 1159

Don't quote the names of the columns. Column names must be qualified with their link names. Use the expression editor (right mouse click) to choose Input column names. This avoids typing errors. You should end up with something like the following. If InLink.Col1 = InLink.Col2 And InLink.Col5 = InLin...