Search found 53125 matches

by ray.wurlod
Wed Sep 13, 2006 10:35 pm
Forum: General
Topic: Conversion of variable-length data to fixed-length data
Replies: 1
Views: 1998

Welcome aboard. :D
The short answer is yes. Specify delimited format when you're reading, and fixed width format when you're writing.
by ray.wurlod
Wed Sep 13, 2006 8:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: view log file
Replies: 2
Views: 1165

The job log is not a file. Get this idea out of your head. The job log is a sequence of records in a database table (RT_LOGnnn) in the Repository database (project schema). Therefore you view it using SQL. They have also provided some API functions, and exposed these as options to the dsjob command.
by ray.wurlod
Wed Sep 13, 2006 8:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue with mail syntax in unix
Replies: 3
Views: 1091

Is the variable EMAILSUBJECT actually defined? If it were not, you would see the behaviour you are describing.
by ray.wurlod
Wed Sep 13, 2006 8:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Method used to convert server jobs to parallel jobs ?
Replies: 6
Views: 2523

Second set. 1) Hashed files can not be used in parallel jobs. 2) Why do you insist upon discarding the benefits of parallelism? 3) Pipeline is automatic. Inspect the generated OSH. 4) How long is a piece of string? 5) Throw away the server job design and the mindset that accompanies it.
by ray.wurlod
Wed Sep 13, 2006 5:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Integrity Constant
Replies: 3
Views: 1568

Sure, just go ahead and load.

But it will be faster without the constraints. If you can promise the DBA that your data will not violate any constraints, then it ought to be OK to drop them and later re-impose them. After all, an empty table is not needful of constraints.
by ray.wurlod
Wed Sep 13, 2006 5:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to mask the minus sign
Replies: 2
Views: 1095

Iconv() is a fairly clever function. Try

Code: Select all

Oconv(Iconv(InLink.TheValue,"MD2"),"MD2")
by ray.wurlod
Wed Sep 13, 2006 5:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replacing a string
Replies: 17
Views: 6988

Give us your thoughts. In a server job you would have looked at Ereplace() but this is not available in parallel jobs. Clearly an approach that uses substrings and concatenation, plus If..Then..Else, seems to be indicated. Can you guarantee that the string-to-be-replaced occurs not more than once in...
by ray.wurlod
Wed Sep 13, 2006 5:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Method used to convert server jobs to parallel jobs ?
Replies: 6
Views: 2523

1) Lookup File Set stage if the data volume on the reference link will fit in memory, otherwise consider Join or Merge stage. Lookups are performed with a Lookup stage, not with a Transformer stage. 2) It's largely automatic. Use (Auto) unless you have a specific need to partition on a grouping or l...
by ray.wurlod
Wed Sep 13, 2006 5:25 pm
Forum: General
Topic: Can't login to Data Stage Server from DS client
Replies: 8
Views: 5554

DataStage clients use port number 31538; if this were disabled you would have been getting "connection refused". Even so, it might be worth checking that this port is open through any firewall that you have, and that it is properly recorded in the /etc/services file.
by ray.wurlod
Wed Sep 13, 2006 3:19 pm
Forum: General
Topic: Can't login to Data Stage Server from DS client
Replies: 8
Views: 5554

"Project" UV is the DataStage installation directory. It's called that for historical reasons. It's the initial attach point for the Administrator client. When you telnet, and get to the ">" prompt, you can execute the command LOGTO UV - having done that, can you then execute SELECT * FROM UV.ACCOUN...
by ray.wurlod
Wed Sep 13, 2006 3:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 7.5 problem
Replies: 10
Views: 2115

Can't reproduce it. Can you generate a job report (click the "Internet Explorer" icon second from the right in the Designer toolbar) and publish this on a web site somewhere so we can look at it? At worst, publish all but the bitmap here. If you could also provide the 10 rows of data that would also...
by ray.wurlod
Wed Sep 13, 2006 3:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSSendMail 'To:' Parameter Question
Replies: 7
Views: 2486

You can always send to an email address that is a "list" in your email server.
by ray.wurlod
Wed Sep 13, 2006 3:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to write to SQL-database in a routine?
Replies: 6
Views: 2365

Doing it from a routine incurs one of two fairly severe penalties. Either the routine executes a shell script (with all the overheads of establishing and managing a new shell and return structure), or the routine uses BCI functions (which involves paying for a Data Direct ODBC licence). Why re-inven...
by ray.wurlod
Wed Sep 13, 2006 3:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a list for the DataStage Routines, Transforms etc?
Replies: 2
Views: 1361

Welcome aboard. :D The list is in the GUI itself. Every site is different; you will have added your own Transforms, Routines, Data Elements and so on. So you are better off browsing through the Repository where you are working, inspecting those that look interesting, and asking your colleagues for h...
by ray.wurlod
Wed Sep 13, 2006 3:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Access violation error
Replies: 2
Views: 1543

That message has not come from a job sequence. It has come from a job that contains a Transformer stage. You need to track that down to figure out where the problem arose.