Search found 53125 matches

by ray.wurlod
Mon May 26, 2008 11:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Make SubRecord Stage
Replies: 3
Views: 4702

Rather than the SQL data types I need to see the actual record schema, to be sure that you have defined the subrecord correctly. For example, how do you propose to shoehorn three VarChar(10) strings into one VarChar(10) parent?
by ray.wurlod
Mon May 26, 2008 11:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Routine in dataStage PX
Replies: 17
Views: 5692

You can not use BASIC routines from within a parallel job (except if you are using a BASIC Transformer stage, or before/after subroutine). Are you using one of these techniques? If so, you need to create the appropriate type of server routine. There is LOTS of help given on BASIC functions in the he...
by ray.wurlod
Mon May 26, 2008 10:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Regarding cache in hash Files
Replies: 3
Views: 782

My knowledge is precisely what is in the manual. I do not propose to reproduce the same here.
by ray.wurlod
Mon May 26, 2008 10:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: A function equivalent to NVL in datastage
Replies: 11
Views: 18904

My first answer is unchanged. However, I believe that Oracle does have a COALESCE() function - though I can't test that at the moment.
by ray.wurlod
Mon May 26, 2008 10:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Vertical Pivot
Replies: 17
Views: 3360

svColID is always greater than 0, therefore always "true" in a Boolean context. Look at the earlier examples (Search) and correct your logic.
by ray.wurlod
Mon May 26, 2008 10:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Extraction
Replies: 8
Views: 1496

The file name is a job parameter. Build an expression that applies the DIGITS transform to this job parameter. Use the expression editor to construct the expression, so that correct syntax is guaranteed.
by ray.wurlod
Mon May 26, 2008 10:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Regarding cache in hash Files
Replies: 3
Views: 782

There is a separate manual for these concepts. Its name is dsdskche.pdf (at least in version 7x).
by ray.wurlod
Mon May 26, 2008 7:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: A function equivalent to NVL in datastage
Replies: 11
Views: 18904

No. For starters, there is no NullToValue() function in the Modify stage - this is an error in the Parallel Job Developer's Guide. There is a handle_null() function, but it only takes one field as its input argument. A Coalesce() function takes an arbitrary number of input arguments and returns the ...
by ray.wurlod
Mon May 26, 2008 7:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding In Link sort
Replies: 3
Views: 965

In memory. Five explict Sort stages, which allows you the ability not to sort on any already sorted/grouped key, yet to preserve that sorting order.
by ray.wurlod
Mon May 26, 2008 4:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding In Link sort
Replies: 3
Views: 965

Memory first then, if that becomes exhausted, scratch disk. The amount of memory allocated to tsort operators is governed by an environment variable.
by ray.wurlod
Mon May 26, 2008 4:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS Version 8 ?
Replies: 3
Views: 1071

Most of the flakiness has now been ironed out. However, version 8 does require more hardware than version 7.5x2, for example minimum 2GB memory for the client machines. You will need to install Information Server (and an associated repository database*, one of DB2 version 9, Oracle version 10g or SQ...
by ray.wurlod
Mon May 26, 2008 4:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pass multiple parameters from flat file to job sequence
Replies: 3
Views: 2112

Welcome aboard.

Specify the parameters in a Parameter Set, and specify in the Parameter Set the file from which the default values are to be obtained.

You can specify different files for different projects (for example development, test, production).
by ray.wurlod
Mon May 26, 2008 4:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Efficiently Reading records with bit fields
Replies: 1
Views: 729

Sequential File stage. You can only read on byte boundaries. Therefore, if your BIT data type is implemented as an eight-bit structure, then you could read it as Char(1) (string[1]) or as unsigned TinyInt (uint8). Otherwise you're going to need to pre-process the file to enforce byte boundaries, per...
by ray.wurlod
Mon May 26, 2008 4:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: A function equivalent to NVL in datastage
Replies: 11
Views: 18904

There is no equivalent function to COALESCE in DataStage. You could use nested If..Then..Else construction (which is, after all, what happens inside COALESCE).