Search found 15603 matches

by ArndW
Thu Oct 12, 2006 4:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: statistics of a job running with different invocation ids
Replies: 1
Views: 734

When you use DSAttachJob specify "JobName.InstanceName" to get the unique information for that invocation.
by ArndW
Thu Oct 12, 2006 3:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CAN WE USE DECODE FUNCTION
Replies: 7
Views: 2788

There is no DECODE function like that built into DataStage. There are various ways of doing this starting with a long IF-THEN-ELSE or a CASE statement. How you solve this depends upon what your primary objectives are - simplicity or performance.
by ArndW
Thu Oct 12, 2006 3:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CAN WE USE DECODE FUNCTION
Replies: 7
Views: 2788

There are hundreds of different "decode" functions out there in the programming world. Which one are you referring to?
by ArndW
Thu Oct 12, 2006 3:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in Job Compilation : Array NVL never dimensionned
Replies: 3
Views: 735

Perhaps you have defined a user routine or transform that does this for you, that would explain why the command is case sensitive.
by ArndW
Thu Oct 12, 2006 3:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in Job Compilation : Array NVL never dimensionned
Replies: 3
Views: 735

Julien,
"NVL" is not a DS/Basic builtin function which is why you are getting this error. You can substitute a IF ISNULL(In.Col) THEN 'value' ELSE In.Col for this functionality if you wish.
by ArndW
Thu Oct 12, 2006 1:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date-1
Replies: 8
Views: 6795

The short form is to use the DateFromDaysSince() function.
by ArndW
Thu Oct 12, 2006 1:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job is remaining in Aborted status though Reset many times
Replies: 12
Views: 3237

The reset will only change the status of one job at a time, not the parent or dependant jobs. Or perhaps I misunderstood your explanation. I can't recall a reset not doing -something- to a job in a project where everything else is working. If you don't have a busy machine you can clear out the conte...
by ArndW
Thu Oct 12, 2006 1:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date-1
Replies: 8
Views: 6795

You have successfully converted your string to a date, but that datatype doesn't allow numerical math to be performed on it, so DS tries to convert the date to a dfloat and fails (because no implicit conversion rules are defined). You need to use one of the date conversion functions such as DateFrom...
by ArndW
Thu Oct 12, 2006 1:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error resolution
Replies: 1
Views: 520

The project that you loaded the jobs into does not have the Red Brick load stage installed but the jobs try to use that stage. You will need to install that optional stage. If you don't know how to do this, the documentation has a pdf file (something like) " Supplemental Stage Installation Guide " t...
by ArndW
Thu Oct 12, 2006 12:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job is remaining in Aborted status though Reset many times
Replies: 12
Views: 3237

Is the error repeatable, i.e. if the job aborts now will a reset put it back into a runnable state? When you did a reset of the job, did it put any messages into the job's log file?
by ArndW
Wed Oct 11, 2006 3:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Tuning
Replies: 5
Views: 1224

pre-sizing the modulo on a dynamic file and/or using a static hashed file of appropriate size works well. Also, do you have row buffering enabled? That will increase your speed. Are you sure that your hashed file write is the bottleneck? If you do short test and change your hashed file stage into a ...
by ArndW
Wed Oct 11, 2006 2:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hoew to populate blank Spaces in Seq File.
Replies: 7
Views: 1602

I just re-read the post and realized that I misunderstood the question regarding nulls vs. normal padding. My mistake. I'm not at a DS enable computer now, but I was fairly certain that the row attributes have some setting letting the string be padded. If someone else doesn't give a solution I'll se...
by ArndW
Wed Oct 11, 2006 2:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hoew to populate blank Spaces in Seq File.
Replies: 7
Views: 1602

If you define your output columns as fixed char with the appropriate widths, DataStage will implicitly perform the character conversion and add the space padding. But in order to do so you need to explicitly declare the lengths.
by ArndW
Wed Oct 11, 2006 2:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Backup of a datastage job
Replies: 6
Views: 1539

Making changes to a job will affect several OS files in a project. You cannot do a job-level save of DataStage jobs from UNIX. Version control and the old trusty .dsx export file are your only ways to do this.
by ArndW
Wed Oct 11, 2006 2:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: more than one argument in routines
Replies: 8
Views: 1768

Meena, you can specify optional arguments in user routines; but the number of parameters used in Before/After job routines as in the original post is fixed and you cannot change that.