Search found 42189 matches

by chulett
Tue Apr 06, 2004 7:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to use the ROWSPLITTER in DATASTAGE DESIGNER
Replies: 2
Views: 3891

They do provide pdf documentation for both the Row Splitter and the Row Merger stages, much like any PlugIn stage. Check in your 'Docs' directory under your Client install and you should find both there.
by chulett
Mon Apr 05, 2004 9:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transposing rows to columns
Replies: 16
Views: 8245

Excellent points. I tend to forget about the possibility of doing something after stage, the before/after job ones are so much more... visible. I should have mentioned the fact that you can land data and pick it back up again in the same job in the manner you illustrate. Heck, I just did something ...
by chulett
Mon Apr 05, 2004 6:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transposing rows to columns
Replies: 16
Views: 8245

Hmm... Craig, its not possible not to reject the rows as the volume is huge. So I will have to insert the dummy row somewhere in the "source" transformer itself. Not talking about rejecting any rows. You're not getting what I'm trying to say, let me see if I can rephrase it. I don't know all of the...
by chulett
Mon Apr 05, 2004 12:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Key function
Replies: 2
Views: 885

Not sure, but is the technique discussed in this post what you are thinking of? Or something you could use? If you mean simply concatenating all of those fields together to build a 'psuedo' composite key, just use the standard colon concatenation operator. Throw in the NullToSpace() transform to han...
by chulett
Mon Apr 05, 2004 8:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Sequence
Replies: 3
Views: 1596

Sometimes it also helps to build 'sub-sequences' that are run by the Master sequence job. That way jobs can run in logical 'groups' but if there are any issues in a sub-sequence, then it can write a message to its own log that causes the processing of any further sequences in the Master sequence to ...
by chulett
Mon Apr 05, 2004 8:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Return Oracle SQLERROR
Replies: 2
Views: 1042

Welcome! Off the top of my head, I know you can get the SQLERR from Oracle by referring to the DBMSCODE Output Link Variable in the Transformer handling the rejects. Not sure about the SQLERRM, but you could try some of the other Variables there and see if one might suit your needs. They are: LASTER...
by chulett
Mon Apr 05, 2004 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC return from lookup
Replies: 3
Views: 1239

I would think, if you've got a specific definition of 'first' in mind, the ony way to ensure that you get the one you want is to order the record set so that the one you want sorts out first. I wouldn't rely on the database unless you literally don't care which one you get at any given time.
by chulett
Sun Apr 04, 2004 7:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Long numbers distorted by DS
Replies: 6
Views: 2159

For some reason I found this strangely amusing: If it works I'll explain why it works. If it doesn't work... ... Pay no attention to the man behind the curtain. I've filed away the tip about the 'string math' functions, didn't even know they existed. Thanks Ray. Curious if this works for you Roy.
by chulett
Sun Apr 04, 2004 8:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any in built function compare the values in a col
Replies: 9
Views: 2992

Sorry, for some silly reason I missed the 'single column' statement. :oops:

If you do decide to go the UNIX route and pre-sort the file, take the extra step and add the -u to the sort command. Sorted and "de-duped" all in one swell foop. Keep the Stage Variables in the wings for the next problem. :wink:
by chulett
Sun Apr 04, 2004 12:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any in built function compare the values in a col
Replies: 9
Views: 2992

Define 'duplicates'. They share a common key, certain data fields are equal, all fields are equal? The answer could change the approach. Couple of thoughts... a) Why not leverage your operating system? UNIX can sort a sequential file and remove duplicates using the 'sort -u' command. You may need to...
by chulett
Sat Apr 03, 2004 6:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transposing rows to columns
Replies: 16
Views: 8245

Well I am open to try this out (I can do that on Monday only, when I get to the office) but I suppose that if I use the union to get that extra row in the dataset from the first table, the row would be rejected in the first lookup itself as the join has to be an inner join. Don't let it. You contro...
by chulett
Sat Apr 03, 2004 12:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transposing rows to columns
Replies: 16
Views: 8245

Ok, if your source is a Relational Database then here's what I've done in the past to generate this dummy row. Switch to Custom SQL and use a union to join one 'extra' row to your dataset - one that you can easily recognize and will sort last into your input steam. In Oracle I'd simply select a hard...
by chulett
Sat Apr 03, 2004 9:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL Server Connectivity Problem
Replies: 11
Views: 2963

Re: SQL Server Connectivity Problem

Sorry to see this is still a problem for you. I do have to disagree (to a small extent) with your 'required details' comment... if you had, I'm sure someone would have been able to provide a solution for you by now. DSR.MetaGeta(GET.TABLES)(SQLConnect('RECON','dssuser')): BCI Error: SQLSTATE=01000,C...
by chulett
Sat Apr 03, 2004 9:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transposing rows to columns
Replies: 16
Views: 8245

Glad to see you are making some progress. Reading the previous posts, I know the solution to this problem; i.e. adding a dummy last row to the source, but the problem is how do I do that as my source is a transformer and so is my target. I think you are going to need to expand on this just a little....
by chulett
Fri Apr 02, 2004 1:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Do Persistent Variables exist in DataStage 6?
Replies: 7
Views: 2245

Only if you tell it to. It's simple enough to keep its current value by assigning it to itself. For example, with one called MyVariable, use something like this in its derivation to only increment it when certain conditions are met: If X Then MyVariable + 1 Else MyVariable That make sense? Stage Var...