Search found 53125 matches

by ray.wurlod
Fri Aug 08, 2008 3:54 pm
Forum: General
Topic: non-IBM support options, per-call support fee
Replies: 5
Views: 1800

I find that RTFM* is a good strategy sometimes.

* = read the fine manuals (clean version)

(Though there are some annoying lapses in the version 8 manuals.)
by ray.wurlod
Fri Aug 08, 2008 6:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a value from a column to a stored proc
Replies: 9
Views: 2033

There's a grid for that in the Job activity from which you invoke the job in the job sequence.

The value you provide is the $CommandOutput activity variable from the upstream Execute Command activity, with appropriate Trim() or Convert() functions applied.
by ray.wurlod
Fri Aug 08, 2008 6:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Formatting percentages
Replies: 2
Views: 954

You're half-blind. The "%" character has a special meaning in a FMT mask (zero-fill) so, if you want one, you need to escape it.

Code: Select all

FMT(Percentage, "5R0\%")
by ray.wurlod
Fri Aug 08, 2008 5:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to import data from xml file.
Replies: 1
Views: 616

Every stage has Help, every stage has either a chapter in the Parallel Job Developer's Guide manual or in its own manual. There is also an XML Best Practices document available (search the forum). Once you have completed your researches, you might like to post specific questions. However, DSXchange ...
by ray.wurlod
Fri Aug 08, 2008 5:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: INTERVAL datatype handling in Datastage
Replies: 7
Views: 3644

As VARCHAR, since that's how the importer is seeing it.

All data can be managed as VARCHAR.
by ray.wurlod
Fri Aug 08, 2008 5:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need DS transformation function for this SQL command.
Replies: 3
Views: 851

Perhaps you can mark this thread as Resolved, then.
by ray.wurlod
Fri Aug 08, 2008 5:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a value from a column to a stored proc
Replies: 9
Views: 2033

I assume that you are invoking the stored procedure from within a DataStage job. Therefore the value can be read by an Execute Command activity (perhaps instead of writing it to a file) and the command's output passed to the job as a job parameter value - after trimming any unwanted line terminator/...
by ray.wurlod
Fri Aug 08, 2008 3:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Updation of record into table
Replies: 10
Views: 2384

Specify the "key" column (which then moves into the WHERE clause of the UPDATE statement). In this context "key" does not necessarily mean "primary key". Note, however, that if there is no primary key, there is the potential to update more than one record, if the same value occurs in your "key" colu...
by ray.wurlod
Fri Aug 08, 2008 3:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Doubt in trim function
Replies: 3
Views: 901

Prove to me that it's valid, with a reference to a manual.

That it works is not proof - as I noted, invalid arguments can be ignored and take default values.
by ray.wurlod
Fri Aug 08, 2008 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Doubt in trim function
Replies: 3
Views: 901

The first syntax is, essentially, invalid and so will default the third argument (to "B" or "T" - I can't remember which).
by ray.wurlod
Fri Aug 08, 2008 2:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue in reading complex flat file
Replies: 3
Views: 1888

Then your metadata do not correspond to what's in the file, or you have not indicated in the CFF stage which field identifies the record type. With multiple record types I presume you have set up separate output links for each?
by ray.wurlod
Fri Aug 08, 2008 2:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Spliiting a single row into multiple row
Replies: 7
Views: 1645

Would you care (a) to mark the thread as Resolved, and (b) to share your solution?
by ray.wurlod
Fri Aug 08, 2008 2:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reject file of sequential file & integer data type
Replies: 0
Views: 809

This looks suspiciously like this post - even unto the example cited.

Please continue all discussion on that thread.
by ray.wurlod
Fri Aug 08, 2008 1:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: system variable
Replies: 7
Views: 5241

In general no.
by ray.wurlod
Fri Aug 08, 2008 1:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Processing Date
Replies: 7
Views: 1365

Two job parameters, for example jpStartDate and jpEndDate.

The SELECT statement then has the restriction

Code: Select all

WHERE Processing_Date BETWEEN #jpStartDate# AND #jpEndDate#