Search found 53125 matches

by ray.wurlod
Tue Jun 30, 2009 1:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: HOw to group by in datastage?
Replies: 6
Views: 8802

DataStage is not a reporting tool. Use a reporting tool for this task. Sure you could do it, with an Aggregator, a Sort and a Head stage (to suggest one method), but you really need to get your head around using the right tool for the right job. If you don't, "they" will be requiring you t...
by ray.wurlod
Tue Jun 30, 2009 1:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update Environemt Variables
Replies: 17
Views: 5266

chulett wrote:Still curious why the perceived need to update environment variables... to what purpose?
Curiosity exterminated the Dalek's cat.
:lol:
by ray.wurlod
Tue Jun 30, 2009 1:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Importing Routines.
Replies: 5
Views: 1265

Unable to reproduce this. What error message obtains? Have the routines been made "read only" in the 7.5 system?
by ray.wurlod
Tue Jun 30, 2009 1:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CREATING USER ROLE(Credentials) / ADDING USERS
Replies: 1
Views: 804

It's done through the Web console for Information Server, Administration tab.

Tip: Administering through groups is much easier to maintain.
by ray.wurlod
Tue Jun 30, 2009 1:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Looping with different parameters in a sequencer
Replies: 8
Views: 1654

If it's exactly four times you could simply emplace four Job activities in the sequence. Otherwise your list needs to be more complex, for example "A1|A2|A3|A4,B1|B2|B3|B4,C1|C2|C3|C4,D1|D2|D3|D4", and decomposed within the loop, probably using Field() functions. $Counter will be "A1...
by ray.wurlod
Mon Jun 29, 2009 11:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update Environemt Variables
Replies: 17
Views: 5266

The fix to your parallel routine is trivial - you declared the function DSSetEnvVar to return an int result, but you never actually invoked the function. There is no function for setting an environment variable from DataStage BASIC, but you can execute the TCL command ENV SET name=value or an equiva...
by ray.wurlod
Mon Jun 29, 2009 7:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join returns wrong result with Partitioning
Replies: 14
Views: 3528

Stop fretting that you are getting multiple values for single records (which is the "more than 80,000 records" being manifested). Imagine the left input has 80,000 records and the right input has two, with the same reference key. An inner join would be expected to return 160,000 values (re...
by ray.wurlod
Mon Jun 29, 2009 5:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing Parameter from table
Replies: 16
Views: 4382

IN the server job you will need an interlude function to the DSSetUserStatus() routine.

Code: Select all

FUNCTION UpdateUserStatus(Arg1)
Call DSSetUserStatus(Arg1)
Ans = Arg1
RETURN(Ans)
by ray.wurlod
Mon Jun 29, 2009 5:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Mutiple Instance Invocation ID
Replies: 24
Views: 15929

Use slname.$Counter as the invocation ID, where slname is the name of the Start Loop activity.
by ray.wurlod
Mon Jun 29, 2009 5:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: looking for an easy way to get Decimal into string in reques
Replies: 3
Views: 1481

Would it not have been easier to use Convert() to remove the "." character?
by ray.wurlod
Mon Jun 29, 2009 5:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update Environemt Variables
Replies: 17
Views: 5266

You don't actually seem to have invoked the DSSetEnvVar() function.
by ray.wurlod
Mon Jun 29, 2009 5:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while reading environment variable
Replies: 13
Views: 4419

Remember that NAME is the name of an environment variable, while $NAME is a reference to the value of the environment variable. The GetEnvironment() function needs to be told the name of the environment variable from which it is expected to retrieve the value.
by ray.wurlod
Mon Jun 29, 2009 5:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: OCI PLUG IN
Replies: 9
Views: 1753

Can you find it in the Stage Types branch of your Repository, specifically \Stage Types\Parallel\Database folder?
by ray.wurlod
Mon Jun 29, 2009 4:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating New Project
Replies: 5
Views: 1540

Life isn't that simple. There will be system table entries (at the very least in UV.ACCOUNT and UV_SCHEMA) about which to be concerned. Existence of the project will also be recorded in the unified metadata repository (XMETA).