Search found 53125 matches

by ray.wurlod
Tue Jan 08, 2008 3:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp issue
Replies: 2
Views: 1025

@DATE and @TIME are system variables whose values are assigned when the job starts. As Arnd notes the intrinsic functions Date() and Time() give access to the system clock. Oconv(Date(),"D-YMD[4,2,2]") : " " : Oconv(Time(),"MTS:")
by ray.wurlod
Tue Jan 08, 2008 3:14 pm
Forum: General
Topic: Mulitple Repository
Replies: 9
Views: 2148

There is one separate Repository per project, at least in version 7 and earlier. Think of the Repository as a schema in a database, for that's really what it is in these versions. In version 8 and later you get a common Repository across all projects (indeed across all products; it is called Informa...
by ray.wurlod
Tue Jan 08, 2008 4:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fatal error
Replies: 8
Views: 2186

What says what doesn't exist? Preserve the data and control files and run the bulk loader with your DBA looking on. Perhaps there are some trace tools available (to the DBA) that would help. The bulk load is initiated by DataStage, but once it's running DataStage has no more control. You have to dia...
by ray.wurlod
Tue Jan 08, 2008 4:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CoSort Versus PX
Replies: 7
Views: 1973

"it was felt"?!! Shades of the old "statistics have shown"! By whom was it felt? Based upon what? Have you designed/conducted any tests of your own? I have no information, but would be surprised if DataStage sort could beat CoSort. It's known that DataStage tsort operator is faster than a UNIX sort,...
by ray.wurlod
Tue Jan 08, 2008 4:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write failed error
Replies: 1
Views: 983

Dont try to write a null key to a hashed file.
by ray.wurlod
Tue Jan 08, 2008 3:58 am
Forum: General
Topic: Restartable feature
Replies: 3
Views: 1201

The code is to be found in the Job Control tab of the job properties, once the job sequence has been compiled. The generated code of a job sequence is read-only, so that the nexus between the generated code and the graphical design from which it was generated is preserved. You could, of course, use ...
by ray.wurlod
Mon Jan 07, 2008 11:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: enviournment variable(password )in Dyanmic RDBMS stage
Replies: 8
Views: 2299

In a parallel job, no.

No passive stage is permitted to have an input link and an output link (not counting reject links). This is an absolute rule in parallel jobs.
by ray.wurlod
Mon Jan 07, 2008 11:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort stage with keychange
Replies: 2
Views: 2334

I fail to see how even a Transformer stage could recognize duplicates "across different runs". Can you please elaborate on that?

Meanwhile, the Sort stage itself (or input link sort) allows you to perform a unique sort. Would that do it for you?
by ray.wurlod
Mon Jan 07, 2008 11:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: First Character as uppercase character
Replies: 3
Views: 1004

Performance Tip
Putting the Left() function result into a stage variable would mean that you execute it once per row rather than twice per row. For squillions of rows this can make a noticeable difference.
by ray.wurlod
Mon Jan 07, 2008 11:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loop Concept using Server Jobs
Replies: 3
Views: 1475

In a word, no. A server job is a loop in its own right (loop until no more data). Any routine can include as many loops as you need, but routines that are executed for every row processed really should be executed as quickly as possible. Perhaps you could post a particular requirement, which we coul...
by ray.wurlod
Mon Jan 07, 2008 11:44 pm
Forum: General
Topic: Restartable feature
Replies: 3
Views: 1201

Using the automatic feature, no.
By designing it yourself or coding it yourself, yes.
by ray.wurlod
Mon Jan 07, 2008 8:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting values of User defined environment variables in UNIX
Replies: 5
Views: 2972

If you want to replace the default when running the job, use the -param option. dsjob -run -param Log_Dir=/user/spool/myproject/logdir projname jobname To recover the value that was used, whether it was substituted for $PROJDEF or in the run request, you need to look at the job log. The "job started...
by ray.wurlod
Mon Jan 07, 2008 8:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error in Oracle Stage > dboptions
Replies: 9
Views: 2653

I should have thought #$EnvironmentVariable# is what's required - which would also explain the 'unexpected "$"' message.
by ray.wurlod
Mon Jan 07, 2008 8:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to run scripts in a Datastage of some job already done
Replies: 1
Views: 700

Which scripts are you talking about? UNIX shell scripts that ran the job via dsjob, UNIX shell scripts that were run by the job, osh scripts that were created by compiling the job, or some other scripts? Until we know that it will be impossible to provide any meaningful answer. However, the first re...
by ray.wurlod
Mon Jan 07, 2008 8:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup through a DB2 UDB stage fails
Replies: 9
Views: 2551

All fields on a reference input should be nullable if the Lookup Failed rule is Continue. Similarly all fields on the output link that are derived from the reference input should be nullable. Then handle the nulls downstream. If there are any NULL values on the stream input to the Lookup stage one w...