Search found 15603 matches

by ArndW
Fri Oct 19, 2007 4:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generate sequence number
Replies: 8
Views: 6370

No, you cannot effectively use the KeyMgtGetNextValue() routine in a PX job. Generate a unique sequence number in your job can be done by using the stage variables @INROWNUM and @PARTITIONNO (did I remember that correctly?). That is easy, now you need to figure out a way to make that number unique o...
by ArndW
Fri Oct 19, 2007 4:39 pm
Forum: General
Topic: Multiple instance execution log
Replies: 1
Views: 616

Unfortunately not, the purging was designed before multiinstance jobs and wasn't modified to account for "sharing" the same log file. You could switch to time-based purging in order to keep recent multi-instance runs.
by ArndW
Fri Oct 19, 2007 2:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Diff between the multiple instances and Parameterize the Val
Replies: 2
Views: 858

The two items, "multiple job instances" and "parameterizing values" are not related apart from both being part of DataStage. One is used to run the job mutliple times in parallel, the other is used to pass runtime values to a job.
by ArndW
Thu Oct 18, 2007 7:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generate sequence number
Replies: 8
Views: 6370

Given that you are using PX and wish to have a unique sequence number across run youre best choice is to use an Oracle sequence. You can get the next sequence number by doing a lookup to an Oracle Enterprise stage which has user-written SQL, i.e. SELECT CAST(MySequence.nextval AS decimal(9&#...
by ArndW
Thu Oct 18, 2007 6:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Duplicate values causing fork() failed issue
Replies: 13
Views: 6291

If you replace your RDBMS output stage with a sequential file or a dataset, does the error persist?
by ArndW
Thu Oct 18, 2007 6:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can it be the Null string in last field of Text file?
Replies: 10
Views: 2058

What error does your job abort with? Nulls can usually be handled.
by ArndW
Thu Oct 18, 2007 6:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Column header repeat
Replies: 4
Views: 1202

In the transform stage just check for @INROWNUM greater than 1 and the columns eq to your header value of "|Number|Name|Country|" and just don't pass that through to the output.
by ArndW
Thu Oct 18, 2007 3:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: what is the difference and activities of Sequence &Seque
Replies: 8
Views: 1854

4friends - that is the 3rd question in a row that is answered directly, clearly and in detail in the documentation. That is the 3rd strike for me. Perhaps someone else might wish to replace the docs for you.
by ArndW
Thu Oct 18, 2007 3:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup filesets and "Not enough Space" errors
Replies: 22
Views: 4534

If you think about it, turning off combination just means that more processes are doing the work. If your job (with combination) uses a lot of CPU then you might have been bottlenecked there and by disabling combination the load is spread across more processes and if you have enough physical CPUs on...
by ArndW
Thu Oct 18, 2007 2:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Late date of Month..
Replies: 5
Views: 1525

Mhasan - I didn't give you the complete answer on purpose. The DateFromDaysSince() function using -1 will give you date one day prior to the input. So all you need to do is change your date to the first day of the next month (perhaps using string-based functions?) and then apply DateFromDaysSince()....
by ArndW
Thu Oct 18, 2007 2:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Duplicate values causing fork() failed issue
Replies: 13
Views: 6291

Try setting APT_DISABLE_COMBINATION to true and see if you do get a stage name or at least a different error message.
by ArndW
Thu Oct 18, 2007 2:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Commit row interval for OCI stage
Replies: 2
Views: 752

Oddly enough I have a call open to support for a simliar issue - but in my case the settings for time-based and row-based commits are being ignored but the commit isn't done until the job finishes. What platform are you running on?
by ArndW
Thu Oct 18, 2007 2:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Late date of Month..
Replies: 5
Views: 1525

Try

Code: Select all

DateFromDaysSince( -1 ,StringToDate('1993/02/01','%yyyy/%mm/%dd')) 
by ArndW
Thu Oct 18, 2007 1:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Equivalent of system variable @INROWNUM
Replies: 2
Views: 917

The same system variable exists in Parallel. But each node has it's own @INROWNUM, so in order to get a unique number you will have to use the variable for the partition number as well (I'm not at a DS client now so cannot check what that variable name is, but you can find it in the drop-down menu)
by ArndW
Thu Oct 18, 2007 1:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Requirements failure: null string argument.
Replies: 7
Views: 1980

That means you are doing some function call in your transform stage using a null string where the function doesn't allow null values. Look at your stage variables and derivations and see which ones manipulate strings.