Search found 53125 matches

by ray.wurlod
Fri Mar 10, 2006 4:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate key
Replies: 6
Views: 1642

If the data are partitioned and sorted on the key for which you want to generate independent sequences, then three stage variables ought to be able to do it. svKeyChanged: InLink.KeyValue <> svOldValue Or @INROWNUM = 1 svOldValue: InLink.KeyValue svSequenceValue: If svKeyChanged Then 1 Else svSequen...
by ray.wurlod
Fri Mar 10, 2006 4:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference in FTP ing CFF and txt file
Replies: 4
Views: 1016

If the CFF has binary/packed data, you can't use an ASCII mode FTP operation. Other than that, it should be OK either way.
by ray.wurlod
Fri Mar 10, 2006 4:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine error
Replies: 7
Views: 1787

Code: Select all

Oconv(Right(InLink.ZipCode, 5), "MCN")
by ray.wurlod
Fri Mar 10, 2006 4:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 Load error
Replies: 7
Views: 3495

That's obviously a DB2 thing. In Informix you might have created the table with no logging. Doubtless other databases have similar functionality.
by ray.wurlod
Fri Mar 10, 2006 4:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Process 2 (or more) large files
Replies: 4
Views: 1071

Get the UNIX SA to switch on large file support sounds like the best idea to me. 2GB limit in UNIX is so 1990s. cat file1 file2 may work, depending on how much of it has to spill to disk. Hopefully none. If the rows are independent, why not create a multi-instance job and run one instance against ea...
by ray.wurlod
Fri Mar 10, 2006 4:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: intermediate result set required from a recordset
Replies: 19
Views: 6014

Recursive functions are possible in server routines. Include a self-referential DEFFUN declaration. Beyond that, it's impossible to suggest anything without some kind of specification - what do you want to lookup recursively, and what is the rule that lets you exit from the recursion stack. Dictiona...
by ray.wurlod
Fri Mar 10, 2006 2:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RejectLink
Replies: 2
Views: 836

Two Transformer stages, one for each task.
by ray.wurlod
Fri Mar 10, 2006 2:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSJobStartTimestamp value not updating
Replies: 3
Views: 4129

If you initialize the stage variable, and don't provide a derivation expression , it will retain its initial value throughout the job run. Whether you initialize it from the macro, or from the expression, is up to you. Incidentally there's a typo in the previous post; a right bracket is missing in t...
by ray.wurlod
Fri Mar 10, 2006 11:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Calculation to get the next quarter based on Input Date
Replies: 17
Views: 3841

D'you know, that just doesn't look like a parallel routine to me! I'm fairly certain that C++ code would have more curly braces and semi-colons than appear in your code. As noted in my earlier post, which everyone appears to have bypassed, there are solutions available that don't require either rout...
by ray.wurlod
Fri Mar 10, 2006 11:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 Load error
Replies: 7
Views: 3495

The error message indicates that the row is getting out of DataStage successfully, but something about it is being rejected by DB2. Chat with your DBA as to the meaning and remedial action possible when error code SQL7008N occurs. Track down (or search the Web) for information about the generic ODBC...
by ray.wurlod
Fri Mar 10, 2006 11:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Mass parameterization via XML export
Replies: 16
Views: 7616

That information is also on Kim's web site. Let me add my recommendation to Craig's concerning the efficacy of Kim's tools.
by ray.wurlod
Fri Mar 10, 2006 11:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sync source on DataStage job
Replies: 6
Views: 2541

The Hawk release is still in beta. There are email addresses within IBM where they might be prepared to give you more information. There were handouts at the Las Vegas conference. But I'm on the road, and not carrying them with me, so can't help. Try asking your account representative to get them fo...
by ray.wurlod
Fri Mar 10, 2006 11:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Manipulating timestamp
Replies: 2
Views: 842

Various ways you can do this. Us telling you a solution won't help you to learn independence, grasshopper. See what you can come up with alone (with the help of the manuals, of course). To make it interesting, let me set you this challenge. Come up with one solution using a Modify stage and another ...
by ray.wurlod
Fri Mar 10, 2006 11:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run SQL stored on a Table
Replies: 3
Views: 1210

You can parameterize the SQL statement, and therefore supply same from a job sequence. But, and this is the grabber, the SQL must generate or consume the same columns that are defined within the DataStage job; DataStage is metadata-driven; the list of columns is NOT dynamic.
by ray.wurlod
Fri Mar 10, 2006 6:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: User 'privileges' needed to create table in Universe
Replies: 4
Views: 1606

You need to find out who the DBA is. SELECT * FROM UV_USERS WHERE DBAAUTH = 'YES'; Connect (via telnet or Administrator client Command window) as that user and issue CONNECT privilege to that user. GRANT CONNECT TO aa; You will also need to add entries to the UV.LOGINS table to map all the different...