Search found 42189 matches

by chulett
Tue Nov 22, 2011 8:40 am
Forum: General
Topic: is there any way i can use variable in email body
Replies: 3
Views: 1619

No, it's not supported. You could, however, write your own routine that leverages the DSSendMail() function, then anything you like could go into the body.
by chulett
Tue Nov 22, 2011 8:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Updating multiple records
Replies: 9
Views: 4021

Sorry, I haven't worked with DB2... what does "it doesn't work if the record doesn't exist" mean? Do you get an error? Oracle wouldn't care and would happily update zero records, I seem to recall that DB2 cares.

Really seems to be unrelated to the original topic.
by chulett
Tue Nov 22, 2011 8:13 am
Forum: General
Topic: Sequence hangs while sending mail.
Replies: 2
Views: 928

So... if you remove the attachment filename from the Email Notification stage, does the email go out ok?
by chulett
Tue Nov 22, 2011 8:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to split a delimited string into rows?
Replies: 9
Views: 13532

At a high level, the FAQ posting details writing a routine to loop thru the delimited string and building one long string where the 'key' fields are repeated per each pivoted column and then a record terminator (LF or CR/LF) concatenated into the string between each 'record'. What you get is one lon...
by chulett
Mon Nov 21, 2011 11:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Substr issue
Replies: 2
Views: 1055

Target needs to be a string if you want to preserve the leading zero.
by chulett
Mon Nov 21, 2011 9:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to split a delimited string into rows?
Replies: 9
Views: 13532

:?

AFAIK, there shouldn't be any "special access" required to read that forum, it's one of the public ones. Is that what it is telling you? Anyone else having an issue?

Eric, can you access it directly from the FAQ forum? It's almost at the bottom of the listed posts there.
by chulett
Mon Nov 21, 2011 6:39 pm
Forum: General
Topic: How to Protect/Unprotect multiple projects
Replies: 17
Views: 4945

In what version does that answer change?
by chulett
Mon Nov 21, 2011 6:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to split a delimited string into rows?
Replies: 9
Views: 13532

Split off, linked and moved to the proper forum. :wink:

Another possibility - the technique mentioned in this FAQ post.
by chulett
Mon Nov 21, 2011 6:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Re-group similar records grouped already
Replies: 2
Views: 889

How is this any different from your other post on this topic? Other than being... shorter. :?
by chulett
Mon Nov 21, 2011 7:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Create keychange column vs create cluster keychange column
Replies: 8
Views: 14864

I've highlighted what seems to me to be the key difference in what chandra posted. One option is for use when the data is already sorted, the other when the stage does the sorting. Not sure why they felt a need to have two separate options but obviously they did.
by chulett
Mon Nov 21, 2011 7:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Create keychange column vs create cluster keychange column
Replies: 8
Views: 14864

Right, almost... and the difference between the two is the key here. :wink:
by chulett
Mon Nov 21, 2011 7:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date datatype conversion
Replies: 4
Views: 1745

Re: Date datatype conversion

This means if my source data is like 21-03-11 then it should be StringtoDate(Columnname,"%dd-%mm-%yy") and output will be as 21-03-2011. No, your output will be a date which has no external format. If you need another string then you'll need to enclose the result in a DateToString() funct...
by chulett
Mon Nov 21, 2011 7:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Create keychange column vs create cluster keychange column
Replies: 8
Views: 14864

Check the Parallel Job Developer's Guide pdf. Documented in the section on the Sort stage oddly enough, page 274 in the 8.5 version I have.
by chulett
Sun Nov 20, 2011 6:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help on aggregation logic
Replies: 2
Views: 1001

If you are grouping on all twenty columns, then won't each "group" have a single value for each column, including Column 20? Meaning there really won't be a last of several values in that group. Or by "last" do you mean previous as in the value of Column 20 from the previous grou...
by chulett
Sun Nov 20, 2011 8:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rollback when the job aborts
Replies: 5
Views: 1577

Well... it will rollback any uncommitted records when it aborts, so for an "all or nothing" load you need to ensure it only commits at the end. Vikram - don't forget there are two variables that control that: the count based on you posted and another that is time based. Make sure both are ...