Search found 15603 matches

by ArndW
Wed Nov 26, 2008 5:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To populate top five values
Replies: 10
Views: 1404

Re: To populate top five values

nani0907 wrote:...populate top five decimal values...

Could you explain what you mean by that? Is it the rows with the 5 largest values in one column, or 5 decimal columns and getting the highest among them or some other action?
by ArndW
Tue Nov 25, 2008 12:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cleaning up datastage internal files
Replies: 4
Views: 2149

Never , ever delete files and directories inside a project directory from outside of DataStage. The only acceptable exception is the contents of the &PH& directory. Doing such a deletion will cause problems in the project, ranging from mildly annoying pop-boxes to complete project corruptio...
by ArndW
Tue Nov 25, 2008 12:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing XML strings to Database
Replies: 5
Views: 1045

Yep, unsupported. We have a couple of jobs here that send over 40 VarChar2 columns containing XML (and SOAP) to Oracle, where they are combined into one BLOB for compression and storage. The same happens on the way back into DataStage and the whole thing is a complex and unwieldy system - I wish we ...
by ArndW
Tue Nov 25, 2008 11:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing XML strings to Database
Replies: 5
Views: 1045

Oracle even has that datatype. One caveat is that if you want more than 2Kb of XML then you will have to use a CLOB or BLOB in Oracle or comparable datatypes in other databases.
by ArndW
Tue Nov 25, 2008 9:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can i use convert function in this scenario?
Replies: 4
Views: 1664

A Derivation along the lines of In.Column[1,LEN(In.Column)-1]:IF NUM(RIGHT(In.Column,1)) THEN CONVERT('0123456789','ABCDEFGHI',RIGHT(In.Column,1) ELSE RIGHT(In.Column,1) might do what you are looking for. I haven't checked it syntactically, but it should g...
by ArndW
Tue Nov 25, 2008 9:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS Warning:Sort key no longer exists in dataset schema
Replies: 5
Views: 11329

In that case, look at the schema of the existing files (either in the Director with Tools -> Data Set Management, or via the orchadmin command line tool) and most likely you will see mismatching metadata.[/i]
by ArndW
Tue Nov 25, 2008 9:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS UTF-8 conversion problem
Replies: 1
Views: 7118

If the AS/400 character set is 8859-1 then you cannot store and display that character. If the character set used is another one and the 8859-1 is just used for the interface then you should be OK by specifying another character set, as the AS/400 will perform the appropriate conversion to the inter...
by ArndW
Tue Nov 25, 2008 8:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: UserDefined Function output is empty when called from DS job
Replies: 9
Views: 6621

Where do you fill the COMMON block - are you certain that it is being initialzed?
by ArndW
Tue Nov 25, 2008 8:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Question regarding communication b/w ETL server and DB
Replies: 2
Views: 1182

Yes, the data will flow through the ETL server in both cases.
by ArndW
Tue Nov 25, 2008 7:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS Warning:Sort key no longer exists in dataset schema
Replies: 5
Views: 11329

The once job that is working as you expect is probably doing so because it is using runtime column propagation and the column actually does still exist in the data stream.
by ArndW
Tue Nov 25, 2008 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Does Not Exist
Replies: 4
Views: 4591

By using the "DELETE DS_JOBS JobName" you have ensured that your repository has become corrupt. A job and its metadata is stored in many places, and as of V8 in even more, by just deleting that one entry instead of fixing the original problem you have generated even more issues.
by ArndW
Tue Nov 25, 2008 7:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot get exclusive access to log
Replies: 6
Views: 3945

Are you sure that neither you nor anyone else has a job monitor or a director session open to that job?
by ArndW
Mon Nov 24, 2008 10:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Eliminating 0s
Replies: 2
Views: 700

How about

Code: Select all

IF TRIM(ln_aibm01_in.col1,'0','A')='' OR TRIM(ln_aibm01_in.col1,'0','A')='.' THEN '' ELSE ln_aibm01_in.col1,'0','A'
by ArndW
Mon Nov 24, 2008 10:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data transformation -design question
Replies: 2
Views: 947

Sort your data by Brand and Code. Create a stage variable to detect when Brand:Code changes, create another that stores the concatenated string value of "Position" and output that when the Brand:Code changes.
by ArndW
Mon Nov 24, 2008 10:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: KeyMgtGetNextValue
Replies: 6
Views: 1821

SDKSequences is the hashed file, the UNIX files can be found in the project directory, but as a hashed file it won't be readable from UNIX. The parameter you pass to the KeyMgtGetNextValue() routine will be a record key in that file and the value of field 1 will be the current high value.