Search found 53125 matches

by ray.wurlod
Mon Aug 11, 2008 4:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle enterprise stage- Degree of parallelism
Replies: 8
Views: 3506

Learn patience. DSXchange is an all-volunteer site, where people post as and when they can, and usually don't if they have nothing to contribute. "Pushing", as you have done, may be regarded as offensive. If you need the answer urgently, sign up with your support provider for premium service, and l...
by ray.wurlod
Mon Aug 11, 2008 4:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable "$R63" previously undefined
Replies: 4
Views: 1755

DSD.StageRun is the internal DataStage routine that executes the code generated by compiling a Transformer stage in a server job. $R63 is the name of an internal variable typically used for an intermediate result. A simple example is the expression Oconv(Iconv(Field(InLink.TheTimestamp," ",1,1),"DMD...
by ray.wurlod
Mon Aug 11, 2008 4:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date conversion
Replies: 4
Views: 1321

You're going to need substring, because you have to convert your date and time separately. In your case the time component does not require conversion so may simply be appended to the converted date. Oconv(Iconv(Field(InLink.TheTimestamp," ",1,1),"DMDY"),"...
by ray.wurlod
Mon Aug 11, 2008 1:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup File Set Stage
Replies: 1
Views: 1008

Welcome aboard. The Lookup stage (on which you received this message) is being serviced by a reference input link on the other end of which is a Lookup File Set stage. When the Lookup File Set stage was populated, its key was defined. You are "locked in" to using this key - the Lookup stage will not...
by ray.wurlod
Mon Aug 11, 2008 1:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Buildop - String to Decimal
Replies: 1
Views: 897

Why "in a buildop"? There's a perfectly reasonable function for this in the Transformer stage. Why re-invent the wheel?

Resist stupid requirements.
by ray.wurlod
Mon Aug 11, 2008 1:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Format
Replies: 7
Views: 2183

@DATE is already in internal format - so you don't need Iconv().

Code: Select all

Oconv(@DATE, "DYMD[4,2,2]":@VM:"MCN")


To pre-empt Craig, "that's certainly one variation".
by ray.wurlod
Mon Aug 11, 2008 1:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: WARNING: as primary key violated
Replies: 5
Views: 1246

If you're writing to a sequential file there's no notion of a key - you just write a line at a time. The only time REJECTED would be triggered is if you couldn't write to the file at all, for example disk full, quota exceeded, file size limit reached, no write permission.
by ray.wurlod
Mon Aug 11, 2008 12:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: WARNING: as primary key violated
Replies: 5
Views: 1246

If a table has no primary key you can insert the same row as many times as you wish. There is nothing to enforce uniqueness.
by ray.wurlod
Mon Aug 11, 2008 12:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Last day of the month as file name
Replies: 3
Views: 945

Did you not get them because you didn't search for them or did you not "get" them meaning that you did not understand them? The easiest solution, where the job is run monthly (presumably on the last day of the month) is to generate the base file name (xyz.txt) then use an after-job subroutine such a...
by ray.wurlod
Sun Aug 10, 2008 11:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: invocation id in sequence job
Replies: 4
Views: 2529

You could use the $Counter property.

But the job, if it is inside the loop, will complete before the loop re-iterates, so it does not need to be multi-instance at all. Nor does it need an invocation ID.
by ray.wurlod
Sun Aug 10, 2008 11:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Name property in Sequential File Stage
Replies: 14
Views: 23453

Would you care to explain how this affects the File Name property?
:?
by ray.wurlod
Sun Aug 10, 2008 11:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email Notification
Replies: 32
Views: 9455

Try including (SMTP) Server in your call.
by ray.wurlod
Sun Aug 10, 2008 9:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email Notification
Replies: 32
Views: 9455

It's a file in the project directory on the server.
by ray.wurlod
Sun Aug 10, 2008 6:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email Notification
Replies: 32
Views: 9455

Then perhaps you had better check that the 'dssendmail_template.txt' file includes a %from% token.
by ray.wurlod
Sun Aug 10, 2008 5:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Email Notification
Replies: 32
Views: 9455

And what is that message telling you?

There's no "From:user@domain" (that is, sender) in your string.