Search found 99 matches

by stefanfrost1
Fri Oct 17, 2008 4:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Load/Truncate behaviour in DB2
Replies: 1
Views: 1501

As far as I know there isn't a truncate statement in db2 as in for example Oracle. However there is a alter table statement that preforms the same function that you are searching for. I doubt that db2ee-stage is using that technique, i would guess that it actually preforms a "real" deletes...
by stefanfrost1
Fri Oct 17, 2008 12:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compliation error from the transformer stage
Replies: 3
Views: 1262

One site i was working on had this problem each month until they realized that they were using a trial version of the compiler that ran out each month. Someone at their support organisation had it as job to renew this license from time to time, however forgetting it (of course). All to save a couple...
by stefanfrost1
Fri Oct 10, 2008 2:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need Aggregation logic in transformer
Replies: 6
Views: 3965

Sorry about the multiple posting :cry:
by stefanfrost1
Fri Oct 10, 2008 2:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need Aggregation logic in transformer
Replies: 6
Views: 3965

You need to ensure sorted data by your defined keys and ensure that your partitioning supports that sorted order. When all that is complete then you can create one or as many stage varibles as needed to kep track of your keys and stage varibles for your aggregates or max-values. Then just let datast...
by stefanfrost1
Fri Oct 10, 2008 2:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need Aggregation logic in transformer
Replies: 6
Views: 3965

You need to ensure sorted data by your defined keys and ensure that your partitioning supports that sorted order. When all that is complete then you can create one or as many stage varibles as needed to kep track of your keys and stage varibles for your aggregates or max-values. Then just let datast...
by stefanfrost1
Fri Oct 10, 2008 2:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need Aggregation logic in transformer
Replies: 6
Views: 3965

You need to ensure sorted data by your defined keys and ensure that your partitioning supports that sorted order. When all that is complete then you can create one or as many stage varibles as needed to kep track of your keys and stage varibles for your aggregates or max-values. Then just let datast...
by stefanfrost1
Thu Oct 09, 2008 4:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue with multiple installation on same box
Replies: 4
Views: 1986

Re: issue with multiple installation on same box

I Have doen multiple installtion of Datastage 7.5.1 oem edition on the same machine .When i do ps -ef | grep ds both services is showing i have done second installtion with itag -aaa. The first installtion i have done normallt without itag I am able to connect to first installtion but not teh secon...
by stefanfrost1
Fri Feb 29, 2008 2:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error While Using DB2 Sequence for Surrogate Key
Replies: 10
Views: 4233

The error: test_account_list_db2: When preparing operator: When binding partitioner interface: Could not find input field "tsno". Resides in a what has been defined as partition key in your database table. You're definition of your table propably has TSNO set as partition key and since you...
by stefanfrost1
Thu Feb 21, 2008 6:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Wait for file routine - handling incomplete files?
Replies: 9
Views: 2987

I use a different approach (on linux and unix plattforms) and that is when any file has been ftp:d or written to a specific directory , say /arrival. On completion the file(s) are moved (using mv) to another directory where datastage is listing for files, say /complete. Datastage then moves any file...
by stefanfrost1
Mon Feb 18, 2008 3:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter: Max Length
Replies: 11
Views: 7451

It could be that you need to "escape" special characters before passing them to a job as parameters.

Example

Code: Select all

select col1, col2, col3 from a.table where datcol = '2008-02-18'
needs to become

Code: Select all

select col1, col2, col3 from a.table where datcol = \'2008-02-18\'
by stefanfrost1
Fri Feb 15, 2008 3:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check for an Integer and null
Replies: 6
Views: 3004

Remember that a stage varible cant contain NULLs so a tip is to first convert any null to something else and use that stage varible in you derivation later.

Usually that warning indicates that you are evalulating a column which has null and that operation does not allow NULLs
by stefanfrost1
Wed Feb 13, 2008 1:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Db2 udb v9 - Ds 7.5.1.a
Replies: 4
Views: 1315

If you need an 'urgent reply ASAP', contact your official Support provider. You pay them big bucks for just this kind of thing. I agree with chulett, use support more.... By the way, its never a good idea to build and test jobs/programs in one enviroment and then executing them in a different envio...
by stefanfrost1
Tue Feb 12, 2008 9:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Db2 udb v9 - Ds 7.5.1.a
Replies: 4
Views: 1315

Yes and No,

Depends on what stage you are using and what you are doing. If you wish to use parititoning features using db2ee stage then I think you need a special patch from IBM (unless you already have it).
by stefanfrost1
Wed Jan 16, 2008 4:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: job not aborting even if there is a fatal error
Replies: 5
Views: 3107

I have seen this can happen for example when using datastage and certain patched versions of DB2 on AIX. It occurs whenever you are using upsert in and there are no hits on the update-statement or when sending "empty" deletes to the database. The database(db2) throws a SQLW (Warning) to da...
by stefanfrost1
Thu Jan 03, 2008 8:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to transfer file from Mainframe to UNIX
Replies: 9
Views: 2815

Stefan - I think the ConnectDirect or mainframe issue is that some files can have compressed spaces which are not interpreted/expanded correctly when doing such transfers. The compressed spaces binary ... ArndW! Is there a way to handle (other than fixing the files before sending) what you are desc...