Search found 504 matches

by ShaneMuir
Thu Jul 02, 2015 8:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get string from VarChar from first non-numeric value
Replies: 7
Views: 5889

Does it have to be a parallel job? If not you could use a server job and use the string transforms DIGITS and LETTERS
DIGITS = extracts only digits
LETTERS = extracts only characters.

Or you could use a BASIC transformer in a parallel job to do the same thing.
by ShaneMuir
Tue Jun 30, 2015 9:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse look up query
Replies: 19
Views: 9785

Without testing - and this is pure speculation, I am guessing that the problem is that like statement is looking for the literal '%orchestrate.Input_break%' rather than the value that you are actually wanting to pass to that value. I have never tried to pass a like statement to a sparse lookup. But ...
by ShaneMuir
Tue Jun 30, 2015 7:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Code generation from datastage to SQL
Replies: 8
Views: 7113

Just to be clear, when I mentioned methodologies - I was referring to using SQL to do transformations in conjunction with ETL tools (eg use Datastage to load all your data into canonical models in the same db as your mapping tables, then create view which performs those mappings to use as the inputs...
by ShaneMuir
Tue Jun 30, 2015 6:28 am
Forum: General
Topic: The DB2 Library could not be loaded
Replies: 16
Views: 12406

This post might help
viewtopic.php?p=422451
by ShaneMuir
Tue Jun 30, 2015 6:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Code generation from datastage to SQL
Replies: 8
Views: 7113

Re: Code generation from datastage to SQL

We require this, as our ETL process is performing bad compared to ELT. We are going to convert ETL jobs to SQL scripts to do transformations. Or maybe you have badly designed ETL jobs? If your jobs are just a straightforward lookup to a table in the same DB and schema then it is quite possible that...
by ShaneMuir
Mon Jun 29, 2015 5:36 am
Forum: General
Topic: Dont want to abort after 50 rows
Replies: 4
Views: 2537

So a job would normally inherit the limit value from the controlling sequence, are you saying you do not want this to happen - ie for a particular job you want to override the limit warning?
by ShaneMuir
Mon Jun 29, 2015 4:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Problems
Replies: 5
Views: 2168

Ahm so once I converted it using StringToDate its ouput would be a date format right? But on my mapping document it needs the format to be yyyymmdd. Hmmm. Im so lost. So I take it from this that you are loading your values into a DB then outputting them again to some sort of text file? If this is t...
by ShaneMuir
Mon Jun 29, 2015 3:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Problems
Replies: 5
Views: 2168

You are doing nothing wrong. You are converting the data from a string to a date. Once converted, it will be "represented" as is the default in whichever tool you are using to view the data. In you target SQL - it will be stored as a date value in some sort of internal format, but when it ...
by ShaneMuir
Fri Jun 19, 2015 4:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Operator - Error
Replies: 5
Views: 3594

My modify stage syntax is a bit rusty, but I would lose the # symbols and/or close the meta data type with parenthesis rather than square brackets.
by ShaneMuir
Thu Jun 18, 2015 9:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic options
Replies: 6
Views: 3612

If there are only a few static values which need replacing then use the nested Ereplace option as its much easier. I would only bother with my other suggestion if there are a lot of values to replace I was thinking that you could have a delimited list of values to look for, and a delimited list of v...
by ShaneMuir
Thu Jun 18, 2015 9:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic options
Replies: 6
Views: 3612

It would depend on how flexible you want the outcome to be? You could, as Ray suggests have nested Ereplace functions but this would depend on how many specific replaces you have. A few more things would need to be answered first? Will multiple replaces for different values be required within the sa...
by ShaneMuir
Thu Jun 11, 2015 10:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Connector stage error
Replies: 4
Views: 2860

Could be the same issue? I am not sure of the datatypes out of that DB.
by ShaneMuir
Thu Jun 11, 2015 9:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Connector stage error
Replies: 4
Views: 2860

I seem to remember having a similar warning a while back. I am assuming given the warning you are connecting to SQL Server? If I recall, the issue that I encountered was because one of the fields that I was trying to extract was set as datatype nvarchar max (apparently a valid datatype in MS SQL Ser...
by ShaneMuir
Tue Jun 09, 2015 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup returning null
Replies: 4
Views: 2181

The only other thought is that its down to partitioning, and that your records are actually on 2 different partitions hence no match. If the partitioning is correct then usually at this point I would start performing checks like * outputting the lengths of the values in the input columns you are try...
by ShaneMuir
Tue Jun 09, 2015 9:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup returning null
Replies: 4
Views: 2181

The obvious answer is that they do not actually match.

Are you sure that there are no hidden characters in either source that would cause a mismatch (eg nulls, line feeds, spaces)?