Search found 53125 matches

by ray.wurlod
Wed Dec 09, 2015 5:49 pm
Forum: General
Topic: uvsh / dssh question
Replies: 9
Views: 2393

Code: Select all

SELECT DS_JOBS WITH @ID LIKE "\\..." AND NAME LIKE  "...<<Category Name>>..."
by ray.wurlod
Wed Dec 09, 2015 1:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Confusion on Partitioning for Join stage
Replies: 14
Views: 6011

In neither case will the Remove Duplicates have any tsort operator included, because there is an explicit sort on the input link (in this case a Sort stage).

Partitioning and sorting are separate from each other.
by ray.wurlod
Wed Dec 09, 2015 1:47 pm
Forum: General
Topic: Yesterday's Date Help!
Replies: 9
Views: 3494

In the controlling sequence you can use

Code: Select all

Oconv(Date() - 1, "DYMD[4,2,2]" : @VM : "MCN")
Date() always uses the current date. If you prefer, use system variable @DATE instead, which is set to the job start date.
by ray.wurlod
Wed Dec 09, 2015 1:45 pm
Forum: General
Topic: passing a value from a db2 table to a datastage parameter
Replies: 4
Views: 1650

Welcome aboard. You can't do that in a single job. You need one job to read and store the value (perhaps in its user status area) and the controlling sequence can pass the value to a job parameter in the second job. The Sequential File stage's File property is set to a reference to that job parameter.
by ray.wurlod
Wed Dec 09, 2015 1:41 pm
Forum: General
Topic: uvsh / dssh question
Replies: 9
Views: 2393

As you provided it the DELETE would delete all categories. Presumably there was a later command to synchronize the project from the common metadata repository.
by ray.wurlod
Wed Dec 09, 2015 5:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merge or Logical Thinking
Replies: 8
Views: 3189

Generate a constant that identifies one source as "A" and the other as "B". This will be used downstream to indicate which output column to populate in the Transformer stage.

A Column Generator stage would be ideal for this purpose.
by ray.wurlod
Wed Dec 09, 2015 5:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: query about Join sort
Replies: 2
Views: 1636

You can only choose which sort process to use by placing an explicit Sort stage on the input links to the Join stage.

You are correct that DataStage will insert a tsort operator by default if you have not otherwise specified sorting on the input links.
by ray.wurlod
Tue Dec 08, 2015 5:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implicit conversion from source type-Sybase Enterprise Stage
Replies: 3
Views: 2569

You may have Unicode/UTF-8 enable in Sybase, which is why it is reporting a size of 4 for this field.
by ray.wurlod
Tue Dec 08, 2015 5:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merge or Logical Thinking
Replies: 8
Views: 3189

It's still a join. Between source and join generate a column that identifies the source. Perform the join. Downstream of the join use a Transformer stage to generate two output links, and bring those together using a Funnel stage.
by ray.wurlod
Tue Dec 08, 2015 12:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Confusion on Partitioning for Join stage
Replies: 14
Views: 6011

(Auto) is guaranteed always to work (to deliver correct results, all else being equal).

(Auto) is not guaranteed to be optimally efficient in all cases. This is where someone with some knowledge can get a job to perform better (finish faster).
by ray.wurlod
Mon Dec 07, 2015 4:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Confusion on Partitioning for Join stage
Replies: 14
Views: 6011

(Auto) uses hash partitioning on stages that designate Keys except as follows. (Auto) uses DB2 partitioning for DB2 Connector stage. (Auto) uses Entire partitioning for reference input to Lookup stage. (Auto) uses Same partitioning for adjacent stages executing in parallel using the same node pool. ...
by ray.wurlod
Mon Dec 07, 2015 3:51 pm
Forum: General
Topic: Datastage Designer issue
Replies: 1
Views: 2159

Almost certainly this is an issue of running out of memory on the client.
by ray.wurlod
Mon Dec 07, 2015 3:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Confusion on Partitioning for Join stage
Replies: 14
Views: 6011

For a Join stage DataStage will always (under (Auto)) use hash partitioning on the Join Keys, and sort on the Join keys unless there is sorting specified either on, or immediately upstream on, the input link. It may be more efficient to partition on the leading subset of the Join Keys, but this inte...
by ray.wurlod
Sun Dec 06, 2015 3:39 pm
Forum: General
Topic: uvsh / dssh question
Replies: 9
Views: 2393

Because there is no trailing semi-colon, the SELECT verb is being used to generate a Select List (an in-memory list of key values that will be consumed by the next command). Backslash is a quote character. Three dots is a wildcard. Ordinarily the SELECT verb requires WITH to introduce a filter phras...
by ray.wurlod
Thu Dec 03, 2015 4:30 pm
Forum: Site/Forum
Topic: Premium Membership not Renewed
Replies: 6
Views: 13407

adityavarma's entry shows as premium member. I would expect manteena's to be processed shortly, given that the administrators have just had the Thanksgiving holiday.