Search found 206 matches

by rwierdsm
Fri Mar 03, 2006 3:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Removing weird characters from a column During selection.
Replies: 4
Views: 1821

Re: Removing weird characters from a column During selection

iwin,

You could try filtering all characters that have a value of greater than ASCII (x7F). Those are generally considered the 'special' characters that can cause grief in downstream processing.

http://en.wikipedia.org/wiki/Ascii

Rob W.
by rwierdsm
Fri Mar 03, 2006 3:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: substring
Replies: 7
Views: 3167

Re: substring

Poorna, Are you trying to test for the presence of the string? Or perhaps the location of the string? You could do: MyString = "This Job Extracts New Employment Data for the Processing month Based on Current Month File" Position = Index(MyString, 'Employment', 1) This would return the posi...
by rwierdsm
Fri Mar 03, 2006 8:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Please post clear and descriptive topics
Replies: 3
Views: 33696

On the other side of the issue of the 'Search' facility, I would suggest that there have been a number of times when posters feel compelled to chastise members for not using 'Search' when a brief look at their join date indicates that they have been members for quite some time. Veteran members need ...
by rwierdsm
Fri Mar 03, 2006 8:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Impact Analysis on Columns
Replies: 7
Views: 2729

Re: Impact Analysis on Columns

Poorna, What specific information are you looking for to do your inpact analysis? For example, are you trying to determine what the inpact of changing the name of a column in one of your source/target tables might be to your code? There is a tool called Reporting Assistant that I used with some succ...
by rwierdsm
Fri Mar 03, 2006 8:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to process diff files with same format ?
Replies: 5
Views: 1263

Re: How to process diff files with same format ?

Ravij,

Do you know the names of the files coming in, or do they match a pattern?

Are the input files the only files that will be in the input directory? Do you delete/move/archive input files after processing.

Different approaches would be taken depending on the answer to these questions.

Rob W.
by rwierdsm
Wed Mar 01, 2006 11:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Format string
Replies: 7
Views: 2176

Re: Format string

:shock:

I think I'd stick with the KISS rule on this one.
by rwierdsm
Tue Feb 28, 2006 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Like Operator in Transform
Replies: 4
Views: 1868

Re: Like Operator in Transform

Why don't you try:

if Index (tpo_loan_orig_out.PRODUCT_DESCRIPTION , 'alloo', 1) > 0 then 'Y' else 'N'

Rob Wierdsma
by rwierdsm
Tue Feb 28, 2006 2:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Format string
Replies: 7
Views: 2176

Re: Format string

Try

YourInputString [1,3] : '-' : YourNewVal : YourInputString [2]
by rwierdsm
Tue Feb 21, 2006 9:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: staging
Replies: 10
Views: 3632

What happens when you run your SQL using your favourite SQL Utility? Cut and paste the SQL from your ODBC/OCI query stage into the SQL utility (what backend is Siebel hosted on? Oracle?). Do you get 76 records or 68? If you get 68, the problem is with your SQL query. If you get 76 rows, the problem ...
by rwierdsm
Mon Feb 20, 2006 9:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: appending data from 2 different soruces to a single table
Replies: 13
Views: 3756

Sunshine, From your example above, it appears that your data streams have the same format. If this is true, use a collector stage to bring the two sources together and feed into your OCI. Could look something like: Seq ---> Xfm \ \ Collector --> XFM --> OCI / OCI ---> Xfm / You wouldn't even need th...
by rwierdsm
Fri Feb 17, 2006 12:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Instances of the Same job
Replies: 3
Views: 1343

Re: Multiple Instances of the Same job

In DS designer, go to the job properties. In the dialog box, on the General tab, there is an 'Allow multiple Instances' check box. Check the box. The next time you run from designer or directory, you will be prompted to enter an instance variable. If you are running from a script, append a '.instanc...
by rwierdsm
Mon Feb 06, 2006 12:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stage Variable Size Limit
Replies: 13
Views: 6797

Just had an issue similar to this and used this thread to find the answer. Using standard technique described elsewhere in this forum to compare keys values between rows, i.e. Stage variables ThisRowValue var1 : var2 : var3 IsDuplicate if ThisRowValue = PrevRowValue then 1 else 0 PrevRowValue = This...
by rwierdsm
Sat Feb 04, 2006 7:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: last record
Replies: 8
Views: 2399

I remember now, it was a lookup, not a data source, that this applied to. Of course, only one row can be returned in a lookup. If only the first of multiple rows is required, Oracle will do the sort after the rownum = 1 psuedo column.
by rwierdsm
Fri Feb 03, 2006 3:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: last record
Replies: 8
Views: 2399

If you are hitting Oracle with the OCI and need to get the first record based on a sort criteria, you might decide to use custom SQL to sort the data. This fails because Oracle picks the first record BEFORE doing the sort. Have to use the RANK function. Can't remember the exact circumstances under w...
by rwierdsm
Fri Feb 03, 2006 3:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: last record
Replies: 8
Views: 2399

A database doesn't really have a "last" record - at least not until you give it sort criteria. If you have the sort criteria and invert it your 1st record is the one you want. Actually, this doesn't work in Oracle. It determines the last row before the sort. You have to use other, more ar...