Is this Possible using ODI / ODQ?

Hi all

Is below possible requirement with ODI / ODQ?
(now I do it manually and it's like a process monthly/weekly)

If we can do the same thing using ODQ how I need to start and move forward?

My requirement is something like that. I have two columns

Address1 (mailing address)
Address2 (additional information)

In some cases the address isn't in the right format. So I need to do some data cleaning (washing) before loading with ODI

If address2 Address1 is C.p., building name or any info other than a street address. The only address column is necessary in the output (Address1)

For example:

ENTRY

-----

ADDRESS1 - ADDRESS2

-----

HIGHWAY #---5010944 MARSH RD
PO BOX 40964 - 1100 AA CORP PARKWAY
S/N VANTAGE PP - 11031 PERRY HIGHWAY
HOME - 11031 PERRY HIGHWAY INFUSION THERAPY SERVICES
7275 BUFFALO ROAD-(6855 BUFFALO ROAD WAS)
7601 N FEDERAL HWY - #2506
MCAS-(MARINE CORPS AIR STATION)
BRADDOCK AVENUE 212-
212 NINTH STREET-
2138 JONATHON DRIVE-

-----

OUTPUT (Note: we don & rsquo; t need the address2 column in the output)

-----

ADDRESS1 - ADDRESS2

-----

10944 MARSH RD - 10944 MARSH RD
1100, PROMENADE OF THE AA - 1100 AA CORP PARKWAY CORP.
11031 PERRY - 11031 PERRY HIGHWAY
11031 PERRY - 11031 PERRY HIGHWAY
7275 BUFFALO ROAD-(6855 BUFFALO ROAD WAS)
7601 N FEDERAL HWY - #2506
MCAS-(MARINE CORPS AIR STATION)
BRADDOCK AVENUE 212-
212 NINTH STREET-
2138 JONATHON DRIVE-

-----


I posted a similar question in the forum of the quality of the DATA (ODQ)
Home forum & raquo; Master Data Management (MDM) & raquo; Quality of the data

ADDRESSING the ODQ HELP CLEANING (US)
Discussion: ADDRESS CLEANING (US) with the HELP of ODQ

If any body working on address cleaning using ODQ, please guide me to start working on it.


Are there specific documents to ADDRESS that gives more information about the flow of processes such as CLEANING
Transformer, monitor customer data, Postal sorting Matcher, Matcher Postal, key generator window, sort to link, Linker, Commonizer and Reconstructor data relationship.




Thanks in advance,

Its

Hi Alex,

I was building the java code, but I had another idea to make easier.

(1) load the values into a temporary table with a column for each address (means 2 columns per line) 2 other columns to the control.

Something like:

table temp_data
columns: add_1, control_1, add_2, control_2

You can make it through an interface. Leave the fields 'control' worthless loading

(2) create a table to store the values that you have sent to me (Avenue, street...)

table street_names
columns: street_name, country (for future use)

(3) create an ODI procedure (or you can customize a KM with the same technical)

3.1) step 1 on the target tab, javaScript technology
Code:

<@String vu=" " ;@="">

3.2.1) step 2 - Source - technology 'your database' tab and the logic diagram where the "street_names" table created

Select street_name
of street_names
WHERE country = "US".

3.2.2) step 3 - target - tecnology javaScript tab

<@vU+="or instr(upper(add_1),upper('#street_name'))="">0 ";@>

3.3) step 3 - target - technology 'your database' tab and the logic diagram where the "temp_data" table created

<@vU=vU.substring(3);@>
Update temp_data
Set control_1 = 'Y '.
where<@=vU@>

3.4) step 4 step 3 - target - technology 'your database' tab and the logic diagram where the "temp_data" table created

<@vU=vU.replaceAll("add_1","add_2")@>
Update temp_data
Set control_2 = 'Y '.
where<@=vU@>

(4) now, you have a table (temp_data) with a flag 'Y' where there is a street where the name and 'null' does not exist. Just build your file by an interface or an odiSqlUnload free of charge.
Put them all together in a package, and you'll have your process.

I have create this way to minimize access to the insert_table, just 2 updates.
can be used some alternatives of tunning the hole process if the time is not what you need.

This is a quick fix. Something more elaborate can be done if necessary.

This help you?

Cezar Santos

Tags: Business Intelligence

Similar Questions

  • Is this possible using calendar (Windows Live Mail) on Dell Streak 7 Tablet?

    I am using Windows 7 on my laptop and my email is Windows Live Mail.  I use the calendar with Windows Live Mail.  I would use this calendar on my Dell Streak 7 Tablet instead of keeping two different calendars.  Is it possible or can suggest you something easy to do for me (I'm old).  I get my email on

    the table ok I'm going in my cable server.

    Thanks, Cobina1

    Your Tablet works with Windows?  Windows Live Mail is for Windows computers.  If the Tablet is using Android as do most non-Apple tablets, you cannot use Windows Live Mail.  There are a lot of calendars Android you can use however.

    Good luck.

  • Is this possible using php and insert record?

    Hi I have a table to insert record named CV
    If I leave the choice of the CV, for example temp, international, student etc., can I do some fields not available or available depending on the choice of the CV. Why I need is that if the choice is temp user chooses their rate of pay, the others won't. It is a single difference there will be a few other institutions. I wonder if I can use a conditional statement with the insert record or will I need to put in place a variety of tables of CV in the database?
    Thanks I hope you can help I am new to this.

    jjjhbj111 wrote:
    > Hi David
    > Thank you for the great response. I'd put the code of adaptation before inserting registration data or after?

    The following code is from a real insert record server behavior:

    If ((isset($_POST["MM_insert"])) & ($_POST ["MM_insert"] ==))
    "insertAuthor')) {}
    $insertSQL = sprintf ("INSERT INTO authors (name, family_name)
    VALUES (%s, %s) ',)
    GetSQLValueString ($_POST ['name'], "text").
    GetSQLValueString ($_POST ['family_name'], "text"));

    The conditional statement must wrap the definition of $insertSQL. You
    you will need to create your own definition for $insertSQL for each scenario. For
    example, you might adapt this option to create different insert orders
    If a middle name is supplied in function:

    If ((isset($_POST["MM_insert"])) & ($_POST ["MM_insert"] ==))
    "insertAuthor')) {}
    If ($_POST ["middle_name"]! = "") {}
    $insertSQL = sprintf ("INSERT INTO authors (name, middle_name,
    Family_name VALUES) (%s, %s, %s) ',)
    GetSQLValueString ($_POST ['name'], "text").
    GetSQLValueString ($_POST ['middle_name'], "text").
    GetSQLValueString ($_POST ['family_name'], "text"));
    }
    else {}
    $insertSQL = sprintf ("INSERT INTO authors (name, family_name)
    VALUES (%s, %s) ',)
    GetSQLValueString ($_POST ['name'], "text").
    GetSQLValueString ($_POST ['family_name'], "text"));
    }

    --
    David powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Is this possible using distorting of Illustrator?

    Just try to reproduce the veiled effect type "rockett. Looks like a relatively simple effect, but can't seem to find a way to do it in illustrator. What Miss me?

    Screen Shot 2014-03-07 at 12.16.15 pm.png

    Deformation of the envelope > make with Warp > Arc lower [-25 setting horizontally more or less].

  • is an HTTP Post possible using webworks/widget SDK or what I should use Java widget?

    Hi all

    I use webworks and widget SDK to make a simple application where I need to do the following

    (1) open a site called www.mytest.com

    (2) display the following parameters with the request to open the site

    Login = true

    UserID = one

    password = b

    Is this possible using BlackBerry Widget SDK? I looked at the blackberry.invoke.BrowserArguments and I do not think that it allows that.

     

    Is this a limitation to the use of webworks? If so, that is the only alternative is to develop a widget of java and use the browser2 field?

     

    Thank you

    Parag

    Yes, you can...

    When you make an Ajax request, on your call to the open() of XMLHttpRequest objects method use the following:

    XMLHTTP. Send ('post', URL, true);

    XMLHTTP. Send (post_string);

    WHERE

    'post': your request method

    URL: the url to which the http request you

    true: to make it asynchronous (Note: this is the default behavior)

    post_string: is a urlencoded string containing all your post variables and their values like this

    "xc =" + encodeURI (element.value) + '& xd =' + encodeURI (element2.value)...

    You should be fine here as long as you know how to create an XMLHttpRequest object and can use GET, this should be familiar.

  • Just changed Safari on my imac. When you use find menu safari gave me the opportunity to "find in this page" which was an incredible aid during a search. Is it possible to have this feature using firefox?

    Just changed Safari on my imac. When you use the search menu in safari, I had the opportunity to "find in this page" which has been an incredible help while doing research and looking for specific words/phrases. Is it possible to have this feature using firefox?

    I think that Safari has the same keyboard shortcut in Firefox 'cmd + F' on a Mac or a 'Ctrl + F' on Windows.

    Look in the lower left corner to find. There are more likely to be next and previous differences in keyboard shortcuts, but continuing in the search bar at the bottom no matter what browser you use. It is an 'X' to reject the search bar. In Windows, the "Esc" key will reject the bar if you are in the search text entry box.

    Keyboard shortcuts:

    Please mark "resolved" a response that will better help others with a similar problem - hope it was her.

  • I want to buy a Apple Watch in the Canada and use it and load it in Ireland. Is this possible?

    I want to buy a Apple Watch in the Canada and use it and load it in Ireland. Is this possible?

    Hello

    If you buy a Apple Watch the Canada, it will be completely compatible with your iPhone in Ireland.

    There are no regional differences in the hardware specifications for the watch, which can be configured to use your preferred language and format of the region.

    The included USB adapter pins will be located at the Canada. However, for charging your watch via the food in Ireland, you can use the charge cable provided on the magnetic head with a real 5W Apple (iPhone) or 12W (iPad) USB power adapter. You can also buy an extra Apple USB power adapter for your watch the Apple Store online for the Ireland:

    http://www.Apple.com/IE/shop/product/MD812B/C/Apple-USB-power-adapter?FNODE=83

    Service of the material to the title of the one year limited warranty is also always available in Ireland.

  • I have moved to another country and you want to buy and use my original store movies. Is this possible?

    I am a teacher and have moved to Europe and want to buy and use movies on my original Australian iTunes store for my classes. Is this possible? Thanks for any help.

    No, you can use the store for the country where you are now (part of the terms of the store is having to be in a country to use his shop). If the movies are not available in your new country store you can try to contact the film studio/holder of rights and ask them to license to Apple to sell it

  • I want to vary the speed of a 12v dc fan using a mosfet with a DAQ 6008.Is this possible.

    I am a college project that is to use a data acquisition to monitor and control the temperature. I use a LM35 temperature sensor. I need to control the speed of the fan a12v dc. I use an external power supply of dc 12. I hope to control the fan speed by varying the voltage of 5v to the door of the

    MOSFET. Is this possible.

    Hi shaggydog.

    You can use one of the channels of analog output of the USB-6008 output a variable voltage to the gate MOSFET, this should provide the features you need.

  • I want to take backup of Active directory in Server 2008, Enterprise Edition. and I want to use this backup in Server 2008 R2. is this possible?

    Urgent please give me a Solution. I want to take backup of Active directory in Server 2008, Enterprise Edition. and I want to use this backup in Server 2008 R2. is this possible? If possible tell me that the process .it is a domain controller. If there is any tool? answer me. Thanks in advance.

    That you were previously informed

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_other-security/i-want-to-take-the-backup-of-Active-Directory-in/d7aa33cd-5a4a-40D1-BCAC-70743cd4372d

    Please post your question in Server TechNet Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    Don

  • I want a NEW computer, but I want Windows XP on it. I don't like about adding new fangled to it. I just want to use my OLD stuff. Is this possible?

    I want a NEW computer, but I want Windows XP on it.  I don't like about adding new fangled to it.  I just want to use my OLD stuff.  Is this possible?

    Hello

    If you are considering buying new PCs, you can go ahead and buy Windows 7 Professional, Ultimate or enterprise. These editions of Windows 7 supports Windows XP Mode, where you can use all programs Windows XP. You can also use the Windows compatibility mode to run Windows XP programs in Windows 7. For more information, see:

    Buy Windows 7: main questions

    http://Windows.Microsoft.com/en-us/Windows/shop/buying-Windows-7-top-questions

  • I want to use the registration of custom with hyper-site domain object merges? Is this possible?

    I want to use the registration of custom with hyper-site domain object merges? Is this possible?

    Hey,.

    At that time, saving custom object data cannot be used with following:

    • with Hypersite field mergers;
    • with the research data on the data in the field, only the number of overall;
    • on off key Dynamic Content in the emails

    Thank you

  • I have 3 devices I want to use Photoshop on.  Is this possible without having to pay for 3 different accounts?

    I have 3 devices I want to use Photoshop on.  Is this possible without having to pay for 3 different accounts?

    Hi career,.

    You can stay connected to creative cloud to two devices at the same time.

    If you want to use on the third device, you must disconnect from one of the other two devices so that you can connect to the third.

    Kind regards

    Claes

  • How to use video with HTML5 Canvas alpha channel? is this possible?

    How to use video with HTML5 Canvas alpha channel? is this possible?

    Thanks in advance

    There is a video in HTML5 tag, as there is a canvas tag. But you want to alpha. He is not an alpha channel in HTML5 video.

    Transparency alpha in video Chrome | Web - developers of Google updates

    Tag video example

    video controls style="width:640px;height:360px;" poster="poster.png">
        type='video/webm;codecs="vp8, vorbis"' />
        type='video/mp4;codecs="avc1.42E01E, mp4a.40.2"' />
        kind="subtitles" srclang="en" default>

  • I'm looking to download only the installers of Dreamweaver and Fireworks CS6 without using creative cloud. Is this possible?

    I'm looking to download only the installers of Dreamweaver and Fireworks CS6 without using creative cloud. Is this possible?

    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html

Maybe you are looking for