Is this Possible using ODI / ODQ ?

Hi ALL,
Is the below requirement possible with ODI / ODQ?
(right now I am doing it mannually, and its like a monthly/weekly process)
If we can do the same using ODQ how I need to start and proceed?
My requirement is some thing like this. I have two columns
Address1 (street address)
Address2 (additional Information)
In some cases the address is not in the proper format. So I need to do some data cleansing (data scrubbing) before loading using ODI
Use Address2 if Address1 is PO Box, building name, or any info aside from a street address. Only one address column is needed in the output (Address1)
For example :
INPUT
ADDRESS1--------------------------------------------------ADDRESS2
HIGHWAY # ------------------------------------------------5010944 MARSH RD
PO BOX 40964---------------------------------------------1100 AA CORP PARKWAY
DBA VANTAGE PP---------------------------------------11031 PERRY HIGHWAY
HOME INFUSION THERAPY SERVICES--------11031 PERRY HIGHWAY
7275 BUFFALO ROAD----------------------------------(WAS 6855 BUFFALO ROAD)
7601 N FEDERAL HWY---------------------------------#2506
MCAS ---------------------------------------------------------(MARINE CORPS AIR STATION)
212 BRADDOCK AVENUE------------------------------
212 NINTH STREET----------------------------------------
2138 JONATHON DRIVE---------------------------------
OUTPUT (Note : we don’t need the Address2 column in the output)
ADDRESS1----------------------------------ADDRESS2
10944 MARSH RD------------------------10944 MARSH RD
1100 AA CORP PARKWAY-----------1100 AA CORP PARKWAY
11031 PERRY HIGHWAY-------------11031 PERRY HIGHWAY
11031 PERRY HIGHWAY-------------11031 PERRY HIGHWAY
7275 BUFFALO ROAD------------------(WAS 6855 BUFFALO ROAD)
7601 N FEDERAL HWY----------------#2506
MCAS-----------------------------------------(MARINE CORPS AIR STATION)
212 BRADDOCK AVENUE------------
212 NINTH STREET----------------------
2138 JONATHON DRIVE---------------
I have posted a similar kind of question in DATA Quality (ODQ) forum
Forum Home » Master Data Management (MDM) » Data Quality
ADDRESS CLEANING(US) USING ODQ
Thread: ADDRESS CLEANING(US) USING ODQ
if any body is working on address cleansing using ODQ, Please guide me to start working on it.
IS there any specific documents for ADDRESS CLEANING which gives more information about the process flows such as
Transformer, Customer Data Parser, Sort for Postal Matcher, Postal Matcher, Window Key Generator,Sort for Linking, Relationship Linker, Commonizer, and Data Reconstructor.
Thanks in Advance,
Rathish

Hi Rathish,
I was building the java code but I got other idea to make more simple.
1) load the values into a temp table with one column for each address (means 2 columns per line) plus 2 other columns to control.
Something like:
table temp_data
columns: add_1 , control_1, add_2, control_2
You can do that thru an interface. Let the fields "control" with no value when loaded
2) create a table to storage the values you sent to me (Avenue, street...)
table street_names
columns: street_name, country (to your future use)
3) Create an ODI procedure (or you can customize a KM with the same technique)
3.1) Step 1 at target Tab, technology javaScript
code:
<@String vU=" ";@>
3.2.1) step 2 - Tab Source - technology "your database" and the Logical Schema where the "street_names" table as created
select street_name
from street_names
where country = 'US'
3.2.2) step 3 - Tab Target - tecnology javaScript
<@vU+="or instr(upper(add_1),upper('#street_name'))>0 ";@>
3.3) step 3 - Target Tab - technology "your database" and the Logical Schema where the "temp_data" table as created
<@vU=vU.substring(3);@>
update temp_data
set control_1 = 'Y'
where <@=vU@>
3.4) step 4 step 3 - Target Tab - technology "your database" and the Logical Schema where the "temp_data" table as 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 name and "null" where doesn't exist. Just generate your file by a interface or odiSqlUnload Toll.
Put all together into a package and you will have your process.
I create in this way to minimize the access to the temp_table, just 2 updates.
can be used some alternatives to tunning the hole process if the time doesn't match what you need.
That is a fast solution. Something more elaborated can be done if necessary.
Does it help you?
Cezar Santos

Similar Messages

  • Is this possible using APEX_ITEM.RADIOGROUP

    Hi,
    Just wondering if this can be achieved using APEX_ITEM.RADIOGROUP, i.e using radio buttons that gives the user three options:
    <br><br>
    Clothing/Size     S           M           L
    ===========================
    T-Shirt-Red        O           O           O
    <br>
    etcCan someone please provide me if possible an example of achieving this.
    <br><br>
    Thanks.<br>
    Tony.

    1. Create a text item for the main heading (Clothing / Size etc). You may want to embed some HTML to change colours, underline etc.
    2. Create a radiogroup for each item as follows;
    Label = T-Shirt-Red , etc
    ELEMENT
    Form Element Options Attributes => style="padding-left:100px" (assuming spacing of 100 px)
    LIST OF VALUES
    Columns => 3
    Display Null => No
    List of values definition => STATIC2:;S,;M,;L (assuming you want to pass back S, M or L)
    You may need to muck around with the heading and spacing but this should do the trick

  • Is this possible: Use BI Publisher with Oracle Express?

    I am a new user, trying to learn BI Publisher (stand alone).
    I've installed BI Pulisher OK. I have installed Oracle Databse Express
    (for Windows) on the same PC with no problem.
    Where/how to I connect/relate the two?
    I'd like to use BIP with the HR schema.
    Thank you!

    Sorry, but I do not see the detail needed to connect [Windows] Oracle 10g Database Express Edition to Oracle BI Publisher (both, latest editions).
    Maybe I'm missing it. If you are referring to item 3.3 Configuring Application Express to use BI Publisher,
    the documentation does not match my screen options. I do not see an "Administration Services home page". I see an "Admin" tab in
    BI Publisher. I do not see a "Manage Service".
    Am I looking at the correct documentation?
    Please keep in mind, I just want to use the HR database in Express to learn the basics of BI Publisher.
    Thanks again.

  • Using XML Datasource - is this possible

    Firstly, let me say I have searched the web, this forum and the tutorials etc to find something useful to point me in the right direction but had no luck thus far.
    I have some XML that looks like this;
    <StaffList>
        <Staff StaffId="1" Name="Fred Nerk" Mission="JMO">
            <SAC Code="001001"/>
            <SAC Code="001002"/>
            <SAC Code="001003"/>
        </Staff>
        <Staff StaffId="2" Name="John Doe" Mission="UKDEL">
            <SAC Code="001002"/>
        </Staff>
        <Staff StaffId="3" Name="Jane Citizen" Mission="UKREP">
            <SAC Code="001002"/>
        </Staff>
        <Staff StaffId="4" Name="Kim Hughes" Mission="JMO">
            <SAC Code="001002"/>
        </Staff>
    </StaffList>
    We have a dropdown list that contains the Name attribute of each staff element.  We have done that by using a Datasource and binding it to the XML.  Easy.
    Once a Staff member is selected in the dropdown list we would like to populate a control with the value of the "Code" attribute from the child SAC Code element(s) for the selected Staff member.  We would also like to populate a control with the "Mission" attribute for the selected Staff element.
    Is this possible using LC designer?  If so what tactic can we use to do it?  Any help appreciated.  Happy to reshape the XML if it makes it easier.

    Hi,
    I also think you will need some code but it wont be a lot.  In the change event of you dropdown list you will need something like;
    var  
    staffDataNode = $record.resolveNode("StaffList.Staff.(StaffId.value == " + this.boundItem(xfa.event.change) + ")" );SAC.clearItems();
    for   (var i=0; i<staffDataNode.SAC.all.length; i++ ){
         SAC.addItem(staffDataNode.SAC.all.item(i).Code.value);
    Mission.rawValue
    = staffDataNode.Mission.value;
    where SAC and Mission are the controls for the dependent values
    Attached is my form to test the above code.
    Bruce

  • Forward all ports using ssh - is this possible?

    consider the following situation: port 22 and 80 are open but most of the other more or less useful ports are closed.
    i'd like to automatically route all traffic through my ssh connection (preferably without having to mess around with proxy settings).
    is this possible using ssh?

    thanks for your replies and sorry for my late answer
    i did know about the -D flag (using it regularly to login to ICQ/MSN from my workplace), but i don't want to alter proxy settings for all apps using the internet.
    i did read up on vpn over ssh, but it seemed a bit too much work, considering i'm not strictly limited to ssh. it's my own server so i could set up openvpn/xxx on it.

  • XML Processing using ODI

    I need to to persist data from xml to Oracle database ? Is it possible using ODI .I dont need to transform the data , I need to actually load it from xml as it is into the RDBMS tables which already exists using ODI , is it possible ? If possible how can I do that ?

    Am I correct in assuming that you want to load the XML string into your database and not the values contained within the XML structure?
    So if you had:
    <parent>
    <child>
    <value1>1</value1>
    <value2>2</value2>
    </child>
    </parent>
    You would want the entire string rather than values 1 and 2 from the <value1> and <value2> nodes?
    G

  • I am getting old and looking forward to use I Pad as a Phone if possible through WIFI! I this possible? The screen is to small for me! If possible, with new I Watch taking calls, other uses through I Pad!

    Like I wrote on title, I am getting old and it is not easy to see E-mails, news etc. on a I phone! New I phone will not help me for the size.
    If possible, everything without calls, I would like to use I Pad as direct unit, and for calls through I Pad over WIFI all calls. If a call as Skype, I would like
    to use the I Pad as a monitor. Is this possible?
    I found on a side that there is a product for people for better hearing, which can be put into the ears, using WIFI with I Phone.
    If this product could be used also for I Pad as a Phone for hearing, and the I watch or I Pad as Microphone, it will be great for old Mac users.
    Is this possible with our system know?
    I am using Mac since Classic II! Would like to continue with the newest items with the possibility for old person with bad Eyes or Ears.
    Looking forward for a kind answer
    with regards
    Christian an old Mac user!

    Definitely No

  • Using one ipod on 2 computers - is this possible?!

    Hi guys I would really appreciate it if somebody could help out with this:
    I want to buy my girlfriend an 80gb Ipod Classic for xmas and load it with some music using my existing version of itunes (version 7.3.2.6) and then give it to her so that she can use the ipod with the verison of itunes that it comes with or she downloads. *This music will NOT be music purchased from itunes.*
    Is this possible? When her friend connects her new nano to my girlfriends pc and tries to use my girlfriends slightly older version of itunes all of the songs are greyed out and not useable.
    I do not want to buy the ipod and load it up only to find she can then not use it with her version of itunes.
    If anyone is certain about this i'd be greatly appreciative of an answer.
    David

    To change it back to automatically syncing you remove the check mark from "Manually manage songs and videos" and press Apply. If you don't want to use it as file storage device and want it to automatically eject when it is finished updating you also remove the check mark from "enable disk use" (this is checked by default when you set the iPod to update manually. Remember though that if you go back to updating automatically, any songs on the iPod that aren't in iTunes will be removed. You can't "sync" that is automatically update an iPod from multiple libraries or computers: Loading songs onto iPod automatically - Windows

  • I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    A third-party app probably cannot obtain a stream from another app. To the best of my knowledge, such a capability is not provided in the software development kit, apps being "sandboxed" from each other and so allowed to communicate only in very specific and limited ways.
    I'm not completely sure what you mean by "limitations on video capture". An iPhone, to the best of my knowledge, can natively record video only through it's built-in camera, and audio while doing video recording only through the built-in microphone or mic/headphone jack. There might be a video recording app that would allow audio input from an external device connected to the dock connector, but I'm not sure.
    Regards.

  • Can Time Capsule be used as a time machine on a Windows Server.  Is this possible, and how do i configure this?

    I like to use the new TC in my office as a time machine on a Windows Server.  Is this possible, and how do i configure this?
    In fact my plan is to make the first back up by connecting to the server via an ethernet cable, but thereafter i like to bring the TC to my home and perform the incremental backups over the internet.  This is for safety reasons, in case for example the office is broken into, or flooded, or fire (god forbid).
    I sincerely hope it is possible, and not complicated.
    Alternatively i would not mind replacing our current Windows server 2003 with an Apple server, but all computers in the network (except mine) are Windows 7 or 8. Would it work?
    Thanks in advance.
    Paris

    I will consider the WD My Cloud device.
    It is a NAS.. it is designed to provide a cheap centralised file storage.
    What is NAS?? http://en.wikipedia.org/wiki/Network-attached_storage
    A file server like windows uses heaps of power to do very little.. in your setup.. In most setups like SBS it will do exchange server and provide a heap of useful connectivity to your clients.
    Since you are not using the windows server in anything but simple file serving you can replace with a NAS..
    Problem with the TC is, it is a router with a hard disk inside.. designed specifically for Time Machine.. it fails to provide what a NAS does.. easy access to any clients, local or remote.. TC is designed by apple for apple and the rest of world is not really invited to the party.
    It provides no backup.. no data protection.. and is so specifically apple orientated I do not think it works at all well with windows.
    For a simple example.. windows will have file issues with large files.. because it is only NTserver FAT32 to windows.. bad luck if you have large files.. !!
    Plainly if you use active directory in windows that facility is gone.
    I just like Apple products, find them more stable than Windows and easier to use.  Plus i can access the server from home if it is an Apple Server.
    If you only need remote access for yourself that is fine.. too bad for the windows clients I guess.
    Or you open it up to the world and bad luck for security.
    Apple do not design for mixed environment.. in fact with the TC there is no provision for windows access officially at all.. so anything you do is a fudge.
    You can use the TC for your Mac backups within the network.. that is fine. Apple provide no software at all to help with your windows clients.

  • When i send a text message with my new iphone 5 to my wife who is now using my old Iphone 4 we both receive the message. How is this possible? Also she receives all text messages sent to me

    when i send a text message with my new iphone 5 to my wife who is now using my old Iphone 4 we both receive the message. How is this possible? Also she receives all text messages sent to me. She obviously has a different phone number and a different provider

    See here to create a new apple ID
    http://support.apple.com/kb/HE37
    good luck

  • I want to use my Mac desktop as a portal for viewing my cable television via some kind of cord. Is this possible and what do I need to set this up?

    I want to use my Mac desktop as a portal for viewing my cable television via some kind of cord. Is this possible and what do I need to set this up?

    It can be done with analog but not digital thanks to "good 'ol" HDCP copy protection which apple (and most other manufacturers) unfortunately respect.
    So you can take the analog output from your cable box (component -- 5 cables -- if it has it but generally they all have composite -- 3 cables) and feed it into some kind of converter or into some appropriate pci card for your mac pro.  But none of them are going to let you directly use the HDMI output from the box to your computer.
    Bottom line, no single cord is going to work and it will never be the higher quality digital picture you get on your tv.
    Some qualification:  There are boxes that I think support hdmi input.  Look at Blackmagic.  But I still don't think you can get around the HDCP from the cable box (might depend on the kind of cable box). 

  • I have an ipad and iphone sharing icloud.  The ipad is using 268mb, the iphone 2.6.  My plan is 5gb but it keeps saying I don't have enough space to back them up.  How is this possible?

    I have an ipad and iphone sharing icloud.  The ipad is using 268mb, the iphone 2.6.  My plan is 5gb but it keeps saying I don't have enough space to back them up.  How is this possible?

    Hey sameyrs2,
    Thanks for the question. Based on what you stated, it seems like you are getting a message when trying to backup to iCloud. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
    iCloud: Understanding Backup alert messages
    Manage your iCloud storage
    Thanks for using Apple Support Communities.
    Cheers,
    Mario

  • I want to use my airport time capsule as a network attached storage solution, is this possible or do I need to connect a separate hard drive?

    I want to use my airport time capsule as a network attached storage solution, is this possible or do I need to connect it to a separate hard drive?

    The Time Capsule is by default a network hard drive, but it has no "brains" of it's own. So, it cannot function as a stand alone media server if that is what you are asking.
    If you are also using the Time Capsule hard drive for Time Machine backups of your Mac(s), then there may be struggle for available space on the drive since it is not possible to partition the Time Capsule drive in a traditional manner.
    If space is getting tight on the Time Capsule, it might be a good idea to connect a drive to the USB port on the Time Capsule and use that drive for your network storage needs.

  • I want to use my 5 GB of storage in iCloud to back up certain data on my MacBook Pro. Is this possible? If so, how is it done from my MacBook Pro?

    I want to use my 5 GB of storage in iCloud to back up the documents on my MacBook Pro. Is this possible? If so, how is it done from my MacBook Pro? I can't find an upload method.

    Clear instructions here:
    http://www.apple.com/icloud/setup/mac.html

Maybe you are looking for

  • Goods return best practice

    Hi, Kindly help me out in following senario I raise a purchase order for 100 qty of goods at $2. I do a MIGO and receive all the quantity in to my Inspection stock (QM is activated). 80 items are OK and 20 not. So 80 of them are transfer posted to un

  • Monitoring critical transaction in SL report

    Hi, I am not able to  add business critical transaction in SL report configuration. It shows TOP LOADED transaction which is not requirement. I like to add new transaction as per customer requirement, We have recently upgraded solution manger to SAP

  • Try to understand Throwable

    I saw some sample codes like: [Base Exception Class] public class BaseException extends Exception { public BaseException() {super();} public BaseException(Throwable exception) { super(); this.nestedException = exception; }//end constructor [Sub Excep

  • IE Flash won't play: No player installed error

    I've tried uninstallind and reinstalling flash player. I donwloaded the executable uninstaller and installer. I upgraded IE to 9. I reset IE. I reset the security settings. I reset the advanced settings. I removed all traces of any virus scanner. Fla

  • Wireless Mouse  Issues on Restart with Snow Leopard

    I have a late 2006 iMac (2.15 GHz Intel Core 2 Duo) with an Apple wireless mouse. I just installed Snow Leopard and everything seems to be fine with one exception. Upon Restart, the mouse becomes disabled. The only way to get it to work is to move th