Search found 15603 matches

by ArndW
Wed Mar 22, 2006 10:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Selecting last row from transformer
Replies: 6
Views: 12222

Use a stage variable to store your last record's value, if it is sorted descending then you need to ignore everything after the first read row; if sorted ascending you need to output the "last row read" data when the key changes plus deal with the last row of data. Sorting descending is by far the e...
by ArndW
Wed Mar 22, 2006 10:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert New Rows BETWEEN existing Rows
Replies: 3
Views: 759

One cannot insert into the middle of a sequential file. When programs seem to do this they actually overwrite the original and/or use interim files. One solution that you can use is to write your data out to a temporary hashed file, adding a numeric key column containing your @OUTROWNUM value. You c...
by ArndW
Wed Mar 22, 2006 9:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Conversion on a field
Replies: 1
Views: 700

Is the sequential file comma delimited and do the strings have a valid quote character? If yes, then DS can read it correctly. You will have to specify in the column definition of the source file "column contains delimiters". Good File format: 1,2,"Hello, Goodbye",4,5 Unusable File format: 1,2,Hello...
by ArndW
Wed Mar 22, 2006 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CRC32 for a column in Parallel Job
Replies: 15
Views: 4799

PX routines are c++, server routines are DS/Basic and one compiler can't touch code in the other. You need to compile your C++ code and load the entrypoint into a library object, then point the definition of the routine to that object.
by ArndW
Wed Mar 22, 2006 9:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: EBCDIC CONVERSION
Replies: 5
Views: 1355

Reddy - what is not working the way you would like by using the DataTypePicS9 conversion?
by ArndW
Wed Mar 22, 2006 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String Functions
Replies: 2
Views: 1287

The string functions in PX a bit more limited that Server, but you can use the INDEX(In.Column,'T/A',1) function to get a 0 (no match) or another integer (match).
by ArndW
Wed Mar 22, 2006 8:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Selecting last row from transformer
Replies: 6
Views: 12222

This is easy to do if you use a stage variable to store your previous value and you can sort your incoming data according to the first column.
by ArndW
Wed Mar 22, 2006 7:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: High Availability
Replies: 7
Views: 2441

I did a couple of HACMP and other automated failover mechanism projects with the underlying database system and none of the solutions we ever came up with was truly 0-downtime and invisible to the users. Trying to make a DataStage project runtime environment failover gracefully is going to be a lot ...
by ArndW
Wed Mar 22, 2006 7:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem while Looking up in Distributed Hashed File
Replies: 5
Views: 1664

Craig - I did a quickie search to see if I could find it documented but couldn't find a limitation anywhere. But after this is submitted I'm sure it will show up in the future documentation.
by ArndW
Wed Mar 22, 2006 7:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to delete hashed file - job aborts
Replies: 5
Views: 2324

You have specified "delete file" in the create options for your hashed files and the part that executes the UNIX "rm" part of that to get rid of the file is failing. This is because of UNIX permissions, as Jeanne has already posted. Whether the umask for your user has changed or if you are perhaps r...
by ArndW
Wed Mar 22, 2006 5:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert japan language into english
Replies: 5
Views: 2371

Perhaps you can do that. First of all, is the Japanese text in Romaji (english characters) or in Japanese (Hiragana,Katakana,Kanji)? If the latter you can run it through web translation tools such as Babelfish translation web sitet . If you have Romaji I am sure that there are other sites that will ...
by ArndW
Wed Mar 22, 2006 4:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use Before/After Stage Routine in the Transformer
Replies: 4
Views: 1161

No, there are no parallel stages that will allow you to call server routines. They exist in completely different environments and are not compatible that way. You can only use a server routine from a BASIC transform stage in PX.
by ArndW
Wed Mar 22, 2006 4:58 am
Forum: Site/Forum
Topic: membership fee is quite high
Replies: 8
Views: 3982

Hadi, do Students and/or Pensioners require premium access? I think that the normal contents should be sufficient for the old and retired DS people and those still studying. The fee is geared to professionals who use DataStage as part of their work. The current minimum wage in Australia equates to a...
by ArndW
Wed Mar 22, 2006 4:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to create a Project with deleted name
Replies: 21
Views: 6875

Create a new dummy account and copy the contents into that path. Later on delete the dummy acount. Do not copy a live account.
by ArndW
Wed Mar 22, 2006 4:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use Before/After Stage Routine in the Transformer
Replies: 4
Views: 1161

If you use the routine in a BASIC transformer stage in PX it will get executed on every row of the data and will slow down the job. If you use it at the job level of a PX job it will only get executed once.

What is your server routine supposed to be doing?