Search found 53125 matches

by ray.wurlod
Fri Mar 07, 2008 5:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Request for Migration Guide from DS 7.x to 8.x
Replies: 2
Views: 776

Take a backup first. Export your projects. Do it twice!

Axiom: things only go wrong when you don't have a backup.
by ray.wurlod
Fri Mar 07, 2008 5:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: pivot
Replies: 9
Views: 1717

Talk with your DataStage owners - you need access to the DataStage manuals. Even I need access to the DataStage manuals occasionally (tell them that!). It would not be difficult for them to put them on a shared drive.
by ray.wurlod
Fri Mar 07, 2008 5:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting "value IN (1,2,3,4,5,6,7) from Oracle to tra
Replies: 8
Views: 2837

There is no IN operator in a Transformer stage. You could - in this particular case - use an Index() function.

Code: Select all

Index("1234567",InLink.TheValue,1)
which returns 0 if the value is not in the string of digits.
by ray.wurlod
Fri Mar 07, 2008 5:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Embedded quotes in Sequential stages
Replies: 10
Views: 2810

It's a BASIC routine that could be invoked from a Routine activity's routine, when pre-processing the file. And, yes, the length is stored at the beginning of a string. Len() is an extremely efficient function therefore.
by ray.wurlod
Fri Mar 07, 2008 5:51 am
Forum: General
Topic: Hash Stage in PX
Replies: 11
Views: 2876

No. There is no such thing as a "hash" stage in either edition. Server edition has a Hashed File stage. It is a passive stage. Open its properties in the Stage Types branch of the Repository to verify this assertion. Parallel Edition has no Hashed File stage. The closest thing is a Lookup File Set s...
by ray.wurlod
Fri Mar 07, 2008 5:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage"Unable to open the Link for details stage
Replies: 2
Views: 1297

You may have an indexing problem in the DS_JOBOBJECTS file, or a corrupted job design.
by ray.wurlod
Fri Mar 07, 2008 5:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How To Delete Staging file
Replies: 5
Views: 1514

Operating system commands can not correctly delete hashed files that were created in an account (project), without returning to the DataStage shell (which seems wasteful).
by ray.wurlod
Fri Mar 07, 2008 5:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need some advise on how to merge data in a server job.
Replies: 12
Views: 3138

No idea. What are hash_1 and hash_2?
by ray.wurlod
Fri Mar 07, 2008 5:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filter stage usage
Replies: 6
Views: 1607

What error do you get when you try to run the job? Acually, this probably needs to be a new thread.
by ray.wurlod
Fri Mar 07, 2008 5:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Embedded quotes in Sequential stages
Replies: 10
Views: 2810

FUNCTION Trimmer(TheString,Delimiter) If Delimiter = "" Then Ans = TheString End Else Ans = "" * Remove surrounding delimiters, if any. If Left(TheString,1) = Delimiter And Right(TheString,1) = Delimiter Then Temp = TheString[2,Len(TheString)-2] E...
by ray.wurlod
Fri Mar 07, 2008 4:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Embedded quotes in Sequential stages
Replies: 10
Views: 2810

Good catch. But a routine that processed a character at a time with lookahead would do it easily.
by ray.wurlod
Fri Mar 07, 2008 4:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Embedded quotes in Sequential stages
Replies: 10
Views: 2810

If they have, they've chosen not to post it here. Obviously using a different quote character is feasible, but the script that changed them would need to be careful (it could actually be easily done in a routine, using Trim(TheString, '"') , but a filter command works differently). Hey,...
by ray.wurlod
Fri Mar 07, 2008 4:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How To Delete Staging file
Replies: 5
Views: 1514

Who imposed that restriction? The only way you can do it in a "single server job" would be for that job to contain/invoke a routine. How you delete the hashed files (note: not "hash" files) depends on whether they were created in an account (project) or in a directory.
by ray.wurlod
Fri Mar 07, 2008 4:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Better Performance
Replies: 4
Views: 2083

Define "performance" in an ETL context. Only then might one be able to address whether whatever it is can be made "better" (whatever that is).

Please do not cite rows/sec as your performance metric. Search DSXchange for many rants from me about why it is meaningless.
by ray.wurlod
Fri Mar 07, 2008 3:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Substring using modify stage
Replies: 15
Views: 6068

All is well. The date format you get when you view a date in the View Data browser is governed by the default date format string currently in force. The date itself, once it's been converted, is a binary form.