Search found 53125 matches

by ray.wurlod
Mon Jul 05, 2004 3:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: can you use odbc driver for bci?
Replies: 8
Views: 2973

You can use the ODBC driver from version 5, but it has exactly the same issues. It works for 30 days, after which SQLConnect() fails with a message saying that you need to purchase a licence. The BCI functions themselves are part of DataStage, and incur no extra cost. It is a licence to use the ODBC...
by ray.wurlod
Mon Jul 05, 2004 3:52 pm
Forum:
Topic: RunReceivedAction
Replies: 2
Views: 1714

Sometimes you need to quote the entire command, so as to make it a single string that can be passed to the executable. For example: cmd /C 'copy "$FILE" Dir1' The other thing that springs to mind is that environment variable references in DOS are contained within a pair of "%" characters, ...
by ray.wurlod
Mon Jul 05, 2004 3:48 pm
Forum: Data Quality Best Practices
Topic: Help needed regarding some questions about verifying data
Replies: 1
Views: 2267

The easy thing to do is to introduce additional output links from your Transformer stages, that can capture what's coming in.

Alternately (though it's effectively the same thing) you can use stage tracing to report the data flowing into and out of the Transformer stage for each link.
by ray.wurlod
Mon Jul 05, 2004 1:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: can you use odbc driver for bci?
Replies: 8
Views: 2973

The obvious alternative, looking at your code, is to run a job that extracts the row using an ODBC stage and moves it into the user status area or into a text file from which it can then be obtained. Since it's apparently a password you're getting, I'd recommend using the user status area, so that t...
by ray.wurlod
Mon Jul 05, 2004 1:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: can you use odbc driver for bci?
Replies: 8
Views: 2973

The "problem" is that the ODBC driver is licensed for use with the ODBC stage, but is not licensed for use with BCI functions. Your only solution, if you want to use BCI functions, is to obtain a full licence for the DataDirect Technologies ODBC driver. It's not a problem with DataStage, it's the wa...
by ray.wurlod
Sat Jul 03, 2004 4:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Limitation of the Pivot Stage?
Replies: 2
Views: 1016

I think we'll need someone with access to the Pivot stage's source code to be able to answer this one. There's no documented limit, but there's always a limit!
by ray.wurlod
Sat Jul 03, 2004 4:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Basic DSExecute returned variable condition not working
Replies: 7
Views: 2160

The output of the UNIX command includes some line-feed characters. When these are loaded into a variable (the third argument of DSExecute) the line-feed characters are converted to field-mark characters (@FM). So the actual output is something like "~1" (where I've used ~ to represent a field-mark c...
by ray.wurlod
Fri Jul 02, 2004 4:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference/Advantage of using Transform instead of Routine
Replies: 12
Views: 5038

What's your alternative in server jobs? :?

I challenge you to do anything faster in server jobs that what can be done with BASIC expressions/routines.

Note that I didn't specify "what you can do with BASIC" - I specified "what can be done with BASIC".
by ray.wurlod
Fri Jul 02, 2004 4:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Increment Date Field by 6 months
Replies: 5
Views: 2672

Well spotted, I've edited the code. :oops:
Dots and colons are SO hard to see on a laptop monitor! :wink:
by ray.wurlod
Fri Jul 02, 2004 12:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle 9.2.0.5 WITH clause fails
Replies: 5
Views: 1593

Completely off topic

Constructing an (Oracle 9i) IMPORT script in Word, the spell checker changed TOUSER to TROUSER :lol:
by ray.wurlod
Thu Jul 01, 2004 10:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Increment Date Field by 6 months
Replies: 5
Views: 2672

You can add 183 days to the internal format, or use substrings to add six months to the date. The latter would need to be done in a routine. FUNCTION AddMonthsToDate(BaseDate, Months) Equate RoutineName To "AddMonthsToDate" Ans = @NULL Test = Iconv(BaseDate, "DYMD"...
by ray.wurlod
Thu Jul 01, 2004 10:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle 9.2.0.5 WITH clause fails
Replies: 5
Views: 1593

Can't see it myself. Irrespective of the syntax the inner query must be executed and its result used in the outer query. The syntax (in this case) surely only affects where the value is stored. I might be able to be convinced in the case of a correlated subquery, where some clever caching may be use...
by ray.wurlod
Thu Jul 01, 2004 8:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle 9.2.0.5 WITH clause fails
Replies: 5
Views: 1593

Can't you re-cast your query as follows? SELECT EK.EXTERNAL_SYSTEM_KEY3, EK.TDW_TABLE_KEY1 FROM EXTERNAL_SYSTEM_KEY EK WHERE EK.EXTERNAL_SYSTEM_NAME_ID = ( SELECT EXTERNAL_SYSTEM_NAME_ID FROM EXTERNAL_SYSTEM_NAME EN WHERE EN.NAME = 'ARBOR BP' ) AND EK.EXTERNAL_SYSTEM_TABLE_NAME = 'BILL_INVOI...
by ray.wurlod
Thu Jul 01, 2004 8:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is Pick Basic still the programming language in PX?
Replies: 9
Views: 3343

Yes, I have three hats. 8)
And like to stay active on the various forums for each, mainly:

DataStage (here (where Oliver's DataStage is archived) and ADN)
UniVerse (www.u2ug.org, which took over Oliver's U2)
Red Brick (www.iiug.org)
by ray.wurlod
Thu Jul 01, 2004 8:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: GLOBAL TEMPORARY TABLES
Replies: 3
Views: 821

No, temporary tables follow the rules for temporary tables; they are dropped when the user's session that created them ends.
Subsequent DataStage jobs are separate sessions.