Search found 53125 matches

by ray.wurlod
Thu Nov 22, 2012 9:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: implicit conversion warning
Replies: 7
Views: 2501

Not preserve partitioning. Preserve Type.
by ray.wurlod
Thu Nov 22, 2012 6:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: implicit conversion warning
Replies: 7
Views: 2501

The problem's on the output side. One of your target columns is of type Char or VarChar (string) even though it's the result of an Aggregator set function. Either use the Preserve Type property in the Aggregator stage (assuming you're doing something string-legal, such as Max), or specify the output...
by ray.wurlod
Thu Nov 22, 2012 1:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Netezza native connectivity and DS ID access type
Replies: 3
Views: 3228

The "native" connectivity to Netezza uses ODBC 3.x protocol. (The "native" connectivity to DB2 uses protocols closely based on ODBC. The "native" connectivity to UniVerse uses ODBC protocols. So the Netezza story is nothing particularly new. After all, all that's happen...
by ray.wurlod
Thu Nov 22, 2012 1:22 pm
Forum: General
Topic: scope of USERSTATUS
Replies: 8
Views: 1839

Any sequence activity can retrieve the job status of a Job activity that is upstream of the requesting activity through use of the activity variable $UserStatus. If the Job activity is not upstream in the sequence this is not directly accessible, but the user status could be retrieved via a routine ...
by ray.wurlod
Thu Nov 22, 2012 4:36 am
Forum: General
Topic: scope of USERSTATUS
Replies: 8
Views: 1839

The whole of your understanding is incorrect. Each job (each instance of a multi-instance job) has various entries in its own RT_STATUSxxx hashed file, and only its own user status is recorded in one particular record in that hashed file. Sequences are jobs, so they have their own, independent RT_ST...
by ray.wurlod
Thu Nov 22, 2012 2:27 am
Forum: General
Topic: JobName of the failed job while sending e-mail notification.
Replies: 6
Views: 2938

The User Variable activity did not exist in 2008.
by ray.wurlod
Thu Nov 22, 2012 2:22 am
Forum: General
Topic: scope of USERSTATUS
Replies: 8
Views: 1839

You are correct. The job's user status area is a field within the job's RT_STATUSxxx hashed file. Therefore it is destructively overwritten, so that only the most recently-written value is available at any time.
by ray.wurlod
Wed Nov 21, 2012 3:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Bulk delete from table using db2 connector?
Replies: 3
Views: 4660

Then get privileges to effect that particular ALTER TABLE statement.
by ray.wurlod
Wed Nov 21, 2012 1:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter in SQL results in incorrect substitutions
Replies: 6
Views: 3092

You might like to read that section of the manual that deals with handling the special characters "%" and "#" for DB2 and Oracle.
by ray.wurlod
Wed Nov 21, 2012 1:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: info on ds log
Replies: 3
Views: 1686

This problem can also be seen in the final field of a text file record, where the line terminator is not properly handled so is being treated as part of the data (particularly DOS-style line terminators where the metadata are specifying UNIX-style).
by ray.wurlod
Wed Nov 21, 2012 1:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performing total sort
Replies: 3
Views: 1101

Your proposed scenario of different number of nodes for range map will fail.
by ray.wurlod
Wed Nov 21, 2012 12:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performing total sort
Replies: 3
Views: 1101

Structure of the range map is not documented in the public domain. You can be fairly certain that it contains the limit values for each node. Range partitioning does not perform a sort, though it will preserve any sorted order of the partitioning key that happens to exist on the input link. This is ...
by ray.wurlod
Wed Nov 21, 2012 12:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job with SCD stage behaving strange. Any ideas?
Replies: 18
Views: 4553

Easy scenario - second run with same source data.
by ray.wurlod
Tue Nov 20, 2012 1:32 pm
Forum: General
Topic: how to rename files after datastage job completed?
Replies: 10
Views: 7538

1. Not in the DataStage job, because the file is still open while the job is running. However, you can rename the file in an after-job subroutine (for example ExecSH) providing the timestamp portion as a job parameter or in the command itself (using backquotes on the date command). 2. In the sequenc...
by ray.wurlod
Tue Nov 20, 2012 1:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job with SCD stage behaving strange. Any ideas?
Replies: 18
Views: 4553

Upsert might generate updates only if every record already exists in the target, but not otherwise.