Search found 53125 matches

by ray.wurlod
Sat Sep 11, 2010 6:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Selecting random records from a dataset
Replies: 2
Views: 1690

Use the Sample stage. Provide a job parameter for the skip and period properties. Set the number of records (per node) to 125000 (or, if you prefer, use a downstream Head stage). Generate the job parameter values in a controlling sequence using Rnd() functions.
by ray.wurlod
Sat Sep 11, 2010 5:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stray processes created by DataStage
Replies: 14
Views: 4526

Stay on the case with your official support provider.

Meanwhile, do you have the DataStage deadlock daemon running? It has a secondary task of cleaning up orphaned processes. (Note that processes waiting on database responses are not orphaned.)
by ray.wurlod
Sat Sep 11, 2010 3:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data separation
Replies: 8
Views: 2112

Use a constraint something like Not(Num(Inlink.TheString))
by ray.wurlod
Sat Sep 11, 2010 3:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rearrange columns in csv file
Replies: 8
Views: 2774

Probably not. U (one of our posters) has not been involved in this thread.
by ray.wurlod
Fri Sep 10, 2010 6:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writting NULL to a sequential File
Replies: 4
Views: 2218

Only by changing the data type from CHAR to VARCHAR. Every value in a CHAR(10) field - including the null field value - must have precisely ten characters.
by ray.wurlod
Fri Sep 10, 2010 6:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 6801

The only way to guarantee unbroken sequence is to run the stage that generates them - I'd use a Column Generator stage - in sequential mode.
by ray.wurlod
Fri Sep 10, 2010 6:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stray processes created by DataStage
Replies: 14
Views: 4526

at -l command suggests that the Director was open in schedule view, and the user probably got impatient waiting for the result of this command. dsapi_slave is the agent process of the Director client connection, and therefore the parent process of the at command.
by ray.wurlod
Fri Sep 10, 2010 6:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implicit conversion
Replies: 5
Views: 4073

Of course this alert will be generated. You have an int (that is, int32) in source1 and you're specifying that it should be transferred to a smallint (that is, int16) in the target. It's got nothing at all to do with length. int32 is a four-byte (binary) integer, int16 only has two bytes. There are ...
by ray.wurlod
Fri Sep 10, 2010 5:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Crazy debug idea
Replies: 9
Views: 3290

Care to share the list of environment variables you use?
by ray.wurlod
Fri Sep 10, 2010 5:48 pm
Forum: General
Topic: istool error: Unable to log on to the Datastage server
Replies: 8
Views: 6004

I believe that you'll need to add the -h server_name option to your command line.
by ray.wurlod
Fri Sep 10, 2010 5:45 pm
Forum: General
Topic: Another Milestone
Replies: 5
Views: 2148

Not at all. One flight to LA, one flight to PA.
:wink:
by ray.wurlod
Fri Sep 10, 2010 5:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to implement in datastage?
Replies: 5
Views: 2263

Slowly Changing Dimension stage.
by ray.wurlod
Fri Sep 10, 2010 12:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rearrange columns in csv file
Replies: 8
Views: 2774

If it's always the same six fields the first thing I'd be doing is getting the provider of the file to be consistent. If you can't do that, you need to determine which column is which. If there are column headings this ought to be easy. In a Transformer stage you could use RCP to direct the correct ...
by ray.wurlod
Thu Sep 09, 2010 5:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 6801

Ask yourself whether uniqueness is sufficient. If it is, gaps in the numbers are completely irrelevant.
by ray.wurlod
Thu Sep 09, 2010 5:14 pm
Forum: General
Topic: trimming line terminator
Replies: 17
Views: 5688

Please explain what "didn't work" entails? Your first expression should have removed the terminator, but replaced it with a comma. What command are you executing?