Search found 156 matches
- Fri Jun 04, 2004 9:37 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Datastage response very slow !!!
- Replies: 6
- Views: 2118
analysis
Do you have top installed or did you do a sar 5 5 to see if there are any other processes that may be hogging cpu resources?
- Thu Jun 03, 2004 12:02 pm
- Forum: Enhancement Wish List
- Topic: DataStage Restricted Mode
- Replies: 11
- Views: 8258
DataStage Restricted Mode
We need to be able to put DataStage in a restricted mode when we perform upgrades and/or import/exports. This will lock all users out except for the "admin" user.
- Thu Jun 03, 2004 11:57 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ODBC and Plugin
- Replies: 8
- Views: 3803
hmm.
The Plugin/OCI stages offer Native connectivity to the dbms which usually means greater control over commit points and select array sizes. Typically the OCI stages will outperform ODBC if configured correctly. Also the OCI stages often do not require the overhead of creating and maintaining ODBC DSN...
- Thu Jun 03, 2004 11:19 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dont create file when no data
- Replies: 13
- Views: 6166
been there done that
Except for the fact that the original poster is running on a Windows server, hence my comments about doing it in a 'batch' file. MS-DOS doesn't by default have this capability. There are some "freeware" utilities that will to it (i can remember using test -s). The best and most robust sol...
- Thu Jun 03, 2004 9:48 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dont create file when no data
- Replies: 13
- Views: 6166
what if they are on windows??
A unix shell script is certainly viable but not platform independent.
- Thu Jun 03, 2004 8:45 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dont create file when no data
- Replies: 13
- Views: 6166
Revised: purgezero.py
The above code has a spelling error and a missing include, the code below is both fixed and tested: """purgezero.py purge zero-byte files usage: purgezero.py Directory """ import sys, os from os import listdir from os.path import isdir, isfile, getsize, join for char in...
- Thu Jun 03, 2004 8:38 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dont create file when no data
- Replies: 13
- Views: 6166
A Platform Independent Solution
This is an important problem that we solved using Python. You will need to install the python interpreter from www.python.org. This script is callable from within a DataStage Batch. """purgezero.py purge zero-byte files usage: purgezero.py Directory """ import sys, os f...
- Thu May 20, 2004 1:43 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Trigger type functionality in DATASTAGE
- Replies: 9
- Views: 3393
no
Just use real database triggers for what you're trying to do... a little bit less nice but much faster. I would not recommend this approach. The DataStage engine is designed to be truly multi-threaded and having 2 outputs from the transformer are much easier to control than an INSERT/UPDATE trigger...
- Wed May 19, 2004 8:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Enterprise
- Replies: 2
- Views: 2644
log in
you need to log into your unix server and look at the log, or ftp it to your windows client.
- Tue May 18, 2004 6:34 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Project &PH& Cleanup
- Replies: 4
- Views: 1741
My Approach
I actually built a DataStage Batch with a Before and After subroutine to clear the &PH& and &COMO&. I then imported that batch in to every project so I can schedule them independently.
- Mon May 03, 2004 8:38 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: StringDecode - Default value
- Replies: 17
- Views: 4700
Question
Is there a way to rework the code to not use a loop?
I'm looking for something like the python dict/list index.
I'm looking for something like the python dict/list index.
- Mon May 03, 2004 6:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: String list searching
- Replies: 3
- Views: 1285
String list searching
I have a routine which searches an attribute list and then returns the same field position from the data field. e.g. AttrList="PartType|Description|Thkmin|SpecGrav|..." AttName="Thkmin" AttValues="FILLERBAR|FILLERBAR OD 3/4|3.433|.9905|..." The function accepts 3 params...
- Tue Apr 13, 2004 1:03 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Removing Duplicates
- Replies: 0
- Views: 756
Removing Duplicates
This is always an interesting problem. Condition: A sqlloader.DAT file that contains duplicates will cause indexes to be disabled. I wrote a [platform independent] python script that: 1. sorts the inputfile 2. removes duplicate rows from input while writing the outputfile Assumptions: the entire row...
- Tue Apr 13, 2004 12:57 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Error during inserting Date values to Sybase DB
- Replies: 1
- Views: 861
You may want to replace @NULL with @DATE.If IsNull(trim(Oracle_br.ENDDATE)) Then @NULL Else Oracle_br.ENDDATE
Code: Select all
If Len(trim(Oracle_br.ENDDATE))=0 Then @DATE Else Oracle_br.ENDDATE
- Mon Apr 12, 2004 10:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Run Datastage Server job from Command Line
- Replies: 2
- Views: 1551
yep
Basically the dsjob will do what you want.
To get more elaborate you can create a DOS Batch file since you are on windows.
To get more elaborate you can create a DOS Batch file since you are on windows.