Search found 53125 matches

by ray.wurlod
Thu Aug 30, 2007 5:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using Hashed Files
Replies: 8
Views: 2654

1. DataStage will automatically create the hashed file, or you can specify that it does so by checking the "Create file" check box in the hashed file stage that populates it. 2. The Hashed File stage is on the upstream end of a reference link that is input to a Transformer stage. The Transformer sta...
by ray.wurlod
Thu Aug 30, 2007 5:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Value Concatenation
Replies: 5
Views: 1035

Search the forum for vertical pivot - there are at least three ways to solve this in server jobs, depending on whether the number of rows per key is small or large, fixed or arbitrary. You example suggests small and arbitrary, but who knows if you've supplied the correct data?
by ray.wurlod
Thu Aug 30, 2007 5:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clearing Hash files
Replies: 5
Views: 1347

But that wasn't the question.

To be absolutely sure that the hashed file is cleared use a before-stage or before-job subroutine ExecTCL to clear the hashed file. The command is CLEAR.FILE hashedfilename (which requires a VOC entry for hashedfilename).
by ray.wurlod
Thu Aug 30, 2007 4:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stored Procedure
Replies: 14
Views: 3749

You DON'T NEED a stored procedure!!! Just use a DELETE command as the user-defined SQL.
by ray.wurlod
Thu Aug 30, 2007 12:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage EE
Replies: 5
Views: 1206

Not really, what was unclear? I note that you don't have premium membership so can't read the entire post. So even if I posted a more complete answer, you'd still only be able to see the first 200 or so characters of it. Read the help or the manuals about each of the stages I've referred to, and sta...
by ray.wurlod
Thu Aug 30, 2007 12:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stored Procedure
Replies: 14
Views: 3749

Why not just create a job to delete the rows? Use user-defined SQL, supply the date (as a job parameter) and refer to this in the WHERE clause of your DELETE statement.
by ray.wurlod
Thu Aug 30, 2007 12:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with deleting records in the table before inserting
Replies: 15
Views: 13223

Can't you just change your rule to "Replace existing rows"?
by ray.wurlod
Thu Aug 30, 2007 12:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete Categories
Replies: 9
Views: 1741

But maybe shrey3a's didn't.
by ray.wurlod
Thu Aug 30, 2007 12:01 am
Forum: General
Topic: IBM Annual User Meeting?
Replies: 5
Views: 1865

Do you happen to have a URL for session registration?
by ray.wurlod
Wed Aug 29, 2007 8:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to know that inputdata is varchar
Replies: 6
Views: 1636

In your case

Code: Select all

IsValid("string[max=255]",InLink.TheString)
by ray.wurlod
Wed Aug 29, 2007 8:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DRS Stage Hangs
Replies: 9
Views: 2648

May I suggest that regedt32 has better key-search capability? It also has the same dangers.
by ray.wurlod
Wed Aug 29, 2007 4:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to know that inputdata is varchar
Replies: 6
Views: 1636

All data is VarChar if need be.
You can use IsValid()
by ray.wurlod
Wed Aug 29, 2007 4:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: orchestrate shema definition import error
Replies: 3
Views: 1126

... or that the file system where the project directory is installed is full.
by ray.wurlod
Wed Aug 29, 2007 4:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: routine to open the file and read it
Replies: 2
Views: 1141

Search the forum for a function called OpenSequentialFile - this takes care of all the possibilities.
by ray.wurlod
Wed Aug 29, 2007 4:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 3 table join
Replies: 6
Views: 1072

Either push back on the requirement (joins without common keys are impossible), or do cascaded pairwise joins if you have such join keys available.