Search found 53125 matches

by ray.wurlod
Mon Sep 12, 2005 3:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage logon error
Replies: 3
Views: 1843

Welcome aboard! :D

This error is failure of an internal GRANT CONNECT TO username; SQL statement. That it occurs is a bug. You can work around it by logging in as the user who installed DataStage, and executing the GRANT statement explicitly.
by ray.wurlod
Mon Sep 12, 2005 3:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get Job start and end time
Replies: 5
Views: 2433

DS_JOBS contains all the job names and job numbers. RT_LOGnnn contains the log for job number nnn. Use DSGetNewestLogId() to find the closest event number to the timestamp in question. Then cycle backwards till you find "job started" or "job finished" event. From this you will be able to determine t...
by ray.wurlod
Mon Sep 12, 2005 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal to String Conversion
Replies: 5
Views: 2280

View it with a hex editor and a companion who understands the rules for storage of decimal data types. You will find that it's not "garbage". So string_from_decimal (in a Modify stage) or DecimaltoString (in a Transformer stage) should do the job for you. Make sure that the string has sufficient cha...
by ray.wurlod
Mon Sep 12, 2005 3:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems with Job Parameters and Sequence Job
Replies: 6
Views: 3624

Sometimes the line termination character is converted to a field mark (@FM, or Char(254)) as part of being captured.
by ray.wurlod
Mon Sep 12, 2005 3:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSStopJob(DSJ.ME) within transformer
Replies: 3
Views: 2430

Who told you to use DSStopJob? This is singularly bad advice. Simply detect that the lookup has failed (use the Reject link of the Lookup stage for example). Only pass the row to the table if the lookup has succeeded. You can do whatever you like with the stream of rows for which the lookup failed, ...
by ray.wurlod
Mon Sep 12, 2005 3:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key lookup
Replies: 6
Views: 1924

Search is your friend, it's been described on a number of occasions. You need an upstream job which captures the result you want and stores it somewhere (maybe that job's user status area), which is then available downstream in the controlling job sequence for loading into parameters.
by ray.wurlod
Mon Sep 12, 2005 3:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: compilation error
Replies: 5
Views: 1616

Do you have RCP enabled, and there's a string EFF_DT in a source schema?
by ray.wurlod
Mon Sep 12, 2005 4:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: VOC Entry Details
Replies: 7
Views: 5588

Beware that most of the metadata for DS_METADATA are not in the public domain.
You can get some sense of what's possible by looking at Kim Duke's tools and their associated SQL; some of which has been posted on this forum (Search is your friend).
by ray.wurlod
Mon Sep 12, 2005 4:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get Job start and end time
Replies: 5
Views: 2433

That is a very complex query, Arun, since the start and end times are stored in a different table for every job. Further, I believe your site uses multiple job instances, which roughly doubles the complexity. You would be better off creating DataStage componentry to extract this information; a set o...
by ray.wurlod
Mon Sep 12, 2005 4:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: difference between batch and jobsequencer
Replies: 1
Views: 849

Duplicate post. Please delete the other.

A batch is created in Director, a job sequence (note, no trailing "r") is created in Designer.
by ray.wurlod
Mon Sep 12, 2005 4:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: JobActivity behaviour
Replies: 3
Views: 1243

Welcome aboard! :D

The most common cause for this error is that one of the jobs referred to in the Job Activity has not been compiled. Or is not currently in a knowable (or runnable) state for some other reason.
by ray.wurlod
Mon Sep 12, 2005 4:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Importing metadata from DB2
Replies: 7
Views: 1310

OK, I think you're at a point where you need to get the DBA involved, if only to trace what requests DB2 is getting when you're trying to import the column definitions.

Can anyone else at the site successfully import them? If the DBA logs in and uses Manager, does that work?
by ray.wurlod
Mon Sep 12, 2005 4:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error:- ds_udtGetNextPacket Error calling DSHELPER
Replies: 5
Views: 2492

There is a limit to how much data at a time can be retrieved from UniData - from memory I believe it's 8KB. Based on this your rows per chunk figure should (can?) be no higher than 8KB/physical row size.
by ray.wurlod
Mon Sep 12, 2005 4:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems with Job Parameters and Sequence Job
Replies: 6
Views: 3624

Typically a command output has leading and trailing line terminator characters that you need to strip off.
Try using Trim() or Convert() function to remove all Char(10) characters.
by ray.wurlod
Mon Sep 12, 2005 4:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: compilation error
Replies: 5
Views: 1616

Check the schema associated with EVERY link. Somewhere there's a string data type. Otherwise you wouldn't have seen that particular error.