Comparing Address

I am writing a database that needs to provide end users with possible address matches. When a online form is submitted it stores the data in a pending table and users are notified of a new submission. When an anaylst picks up the new record, he/she needs to be notified if the address is similiar to an address in the table of worked items. I have tried to use like and soundex(), but it isn't picking up all similiar address.
If an address is entered as 545 W Bay it should match against 545 Bay, but it isn't returning the match. Here are samples of my query:
Select al.wfs_id, al.company_name, ae.Company_Name,ae.Address, al."Complete Address"
From vw_address_locations al, vw_address_enrollment ae
where (soundex(ae.Address) like soundex(al.Address) or LTRIM(UPPER(ae.Address)) like LTRIM(UPPER('al.Address%'))) and al.state like '%ae.state%'
order by ae.Company_NAME asc
Any help would be greatly appreciated!!
Message was edited by:
MikeSolis

I agree with the previous post - address matching is actually a pretty complex topic. You have to deal with things like:<BR>
- directional prefixes and suffixes (North, South, East, West)<BR>
- Abbreviations (e.g. Road vs Rd., N vs North, etc)<BR>
- Numeric names (e.g. 6th vs Sixth)<BR>
- Highway names (e.g. US Hwy 22 vs Rte 22)<BR>
- Apartment / suite / floor numbers (10 Main St #101 vs 10 Main Street Apt 101)<BR>
- Misspellings<BR>
<BR><BR>
This gets even more complex if you are actually trying to validate addresses:<BR>
- Sometimes roads have more than one acceptable name (e.g. Sixth Avenue vs Avenue of the Americas)<BR>
<BR><BR>
Three basic steps are:<BR>
- parsing the address into it's components<BR>
- standardizing the components<BR>
- matching the standardized components against existing addresses<BR>
<BR><BR>
Depending on how complex you need to get, there are many third party products which might be of assistance, including:<BR>
<BR><BR>
FirstLogic - which is, I believe, integrated into Oracle Warehouse Builder<BR>
Clean_Address()<BR>
Addressmatch.com<BR>

Similar Messages

  • How do I adjust auto-complete order in the address bar?

    I recently upgraded from Firefox 3 to 8.
    In Firefox 3, when I selected an address out of the autocomplete list very often, it would eventually rise to the top of the list, so I could just enter a single character and hit enter.
    In Firefox 8, that no longer works. An address that I only used a single time remains on top, in favor of a site I visit daily.
    How do I revert to Firefox 3 behaviour?

    None of the above really helped, and I had read part of it previously.
    With 12 years of software engineering experience in complex user interfaces, it "smells" like a bug to me, because of the peculiar first result I get.
    To explain that, let me give to all the data:
    1) I regularly visit www.orf.at, an Austrian news site.
    2) I sometimes visit fahrplan.oebb.at, which shows timetables of the Austrian railway trains.
    When I start typing "www.o", I expect to get 1), because
    a) the textual match is better
    b) I visit the site more often, and I have visited it more recently
    Instead, 2) is on top of the list.
    Therefore, I suspect that the new algorithm does not cope well when comparing addresses that start with "www" as to those that don't.
    What makes the "smell" strong is the fact that I can't seem to "teach" the browser the "correct" order of the list, however often I manually select the desired entry. This is something that worked flawlessly in Firefox 3.

  • Address of std::endl

    Hi there.
    We have some code that we are porting from Workshop 4.2 to Forte 6 update 2 which is as follows:
    Log& Log::operator<<( ostream& (*func) (ostream&) )
    // do some stuff...
    ostream& (*endlManip) (ostream&) = endl;
    if (func == endlManip)
    // do special stuff when 'func' is endl
    when this is called with :
    LOG << endl;
    under WS 4.2 , the if statement in the method is true and the code behaves correctly
    Under Forte 6u2 when using std::endl the if statement does NOT become true. Looking at it with a debugger I noticed that "func" and "endlManip" point to different addresses, although BOTH are shown as:
    &std::endl<char,std::char_traits<char>>(std::basic_ostream<__type_0, __type_1>&)
    So why are they pointing to different addresses? How should I fix this?
    Any and all help would be much appreciated.
    Thanks in advance!
    spc

    C++ 4.2 uses "classic" iostreams. In our implementaiton, endl is a non-inline global function.
    All references to it have the same address.
    C++ 5.3 (in WS6u2) uses standard iostreams by default. In the libCstd implementation, endl is an inline function.
    The implementation of inline functions in this compiler release generates a non-global copy of the function in any translation unit that needs the function generated out of line -- as when you take its address. Code in different modules will then show different addresses for any function declared inline. This behavior does not conform to the C++ Standard, but most programs can't tell the difference. Unfortunately, your program can.
    If you could arrange for all references to endl to be in the same .o file, the code would work -- but from your description, that is not a possible solution in this case.
    The latest release, C++ 5.6 in Sun Studio 9, implements inline functions as global functions, so this code should work as you expect. The recommended fix is to upgrade to Sun Studio 9. This change to correct the implementation of inline functions cannot be retrofitted to earlier compiler releases.
    An alternative is to revert to classic iostreams. Add the option -library=iostream to every CC command line (compiling and linking). Your pre-existing code will work as it always did -- the classic iostream library is the same as the version in C++ 4.2. One disadvantage is that you cannot use the C++ Standard Library, since most of it depends on using standard iostreams.
    Yet another alternative: We can apply the maxim "Every problem in computer science can be solved by adding a level of indirection."
    Create a function object (sometimes called a functor) for manipulators, with a special contructor for endl. Instead of using endl directly, use the function object. It will have a query function that says whether it encloses endl, so your stream code uses the query function instead of comparing addresses. But I think this will mean changing all the call sites using endl in the program, so I doubt this is a viable solution. I can post sample code if you think it would help.

  • Compare 2 Columns using SSIS from two different tables

    Hello,
    A newbie to ssis.
    I have a Table 1 with Address Details and Table 2 with Address Details of same customer but from different sources. I have loaded these two data sources and also joined these two tables.
    I want to compare address column of one table with the other table, if they are not equal need to insert into another table.
    With Sql query we can perform it, but just want to know how to perform this with ssis.

    You can use the
    LookUp Transformation
    Arthur
    MyBlog
    Twitter

  • [SOLVED] char* compare to string, c++

    Ive been working on a program for my personal use and I getting to the point where I need command line arguments. For the life of me I can't get the compare to return true. Here is a bit of what I've been trying. If someone could show me or point me to somewhere that I could find how to do this, please.
    int main(int argc, char* argv[]){
    std::cout<< argv[1];
    std::cout<< argc;
    std::cout<<(argv[1]=="-h");
    That outputs
    -h
    2
    0
    I dont understand why it's false, I have even tried (argv[1] == "-h\0") to see if adding a null terminator would help.
    Thank you in advance for the help.
    Last edited by tpolich (2009-08-18 19:05:06)

    You get the wrong result because operator "==" compares addresses in that case. Note that argv[1] is not std::string type but char*. You may create std::string object from argv[1] and then use "==" operator:
    std::cout << (std::string(argv[1]) == "-h");
    provided that your c++ compiler will treat "-h" as std::string.
    You can also try strcmp() function which operates on C strings ( char *). It returns 0 if C strings are equal so:
    if(strcmp(argv[1], "-h") == 0) {
    std::cout << "true";

  • Getting error while running Perl adcfgclone.pl appsTier

    hi ,
    i m getting error while running Perl adcfgclone.pl appsTier
    error:ksh: Perl: not found
    i check for per and ksh
    which perl
    /usr/bin/perl
    which ksh
    /usr/bin/ksh
    (my os out put for perl ,my os is SunOS testserver 5.10 Generic_137137-09 sun4u sparc SUNW,Ultra-250)
    perl -V
    /appl2/applmgr2/prodora/iAS/Apache/perl/lib/5.00503
    /appl2/applmgr2/prodora/iAS/Apache/perl/lib/site_perl/5.005
    /appl2/applmgr2/prodappl/au/11.5.0/perl
    /usr/perl5/5.8.4/lib/sun4-solaris-64int
    /usr/perl5/5.8.4/lib
    /usr/perl5/site_perl/5.8.4/sun4-solaris-64int
    /usr/perl5/site_perl/5.8.4
    /usr/perl5/site_perl
    /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
    /usr/perl5/vendor_perl/5.8.4
    /usr/perl5/vendor_perl
    which i need to set in path
    PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin (like this )
    export PATH
    please help me out

    hi ,
    here is the out put
    # pwd
    /appl2/applmgr2/prodora/iAS/Apache/perl
    # perl -V
    Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
    Platform:
    osname=solaris, osvers=2.10, archname=sun4-solaris-64int
    uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO',
    optimize='-xO3 -xspace -xildoff',
    cppflags=''
    ccversion='Sun WorkShop', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE'
    cccdlflags='-KPIC', lddlflags='-G'
    Characteristics of this binary (from libperl):
    Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
    Locally applied patches:
    22667 The optree builder was looping when constructing the ops ...
    22715 Upgrade to FileCache 1.04
    22733 Missing copyright in the README.
    22746 fix a coredump caused by rv2gv not fully converting a PV ...
    22755 Fix 29149 - another UTF8 cache bug hit by substr.
    22774 [perl #28938] split could leave an array without ...
    22775 [perl #29127] scalar delete of empty slice returned garbage
    22776 [perl #28986] perl -e "open m" crashes Perl
    22777 add test for change #22776 ("open m" crashes Perl)
    22778 add test for change #22746 ([perl #29102] Crash on assign ...
    22781 [perl #29340] Bizarre copy of ARRAY make sure a pad op's ...
    22796 [perl #29346] Double warning for int(undef) and abs(undef) ...
    22818 BOM-marked and (BOMless) UTF-16 scripts not working
    22823 [perl #29581] glob() misses a lot of matches
    22827 Smoke [5.9.2] 22818 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
    22830 [perl #29637] Thread creation time is hypersensitive
    22831 improve hashing algorithm for ptr tables in perl_clone: ...
    22839 [perl #29790] Optimization busted: '@a = "b", sort @a' ...
    22850 [PATCH] 'perl -v' fails if local_patches contains code snippets
    22852 TEST needs to ignore SCM files
    22886 Pod::Find should ignore SCM files and dirs
    22888 Remove redundant %SIG assignments from FileCache
    23006 [perl #30509] use encoding and "eq" cause memory leak
    23074 Segfault using HTML::Entities
    23106 Numeric comparison operators mustn't compare addresses of ...
    23320 [perl #30066] Memory leak in nested shared data structures ...
    23321 [perl #31459] Bug in read()
    27722 perlio.c breaks on Solaris/gcc when > 256 FDs are available
    SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
    6663288 Upgrade to CGI.pm 3.33
    REGEXP0 - fix for UTF-8 recoding in regexps - CVE-2007-5116
    Built under solaris
    Compiled at Jul 31 2008 12:07:52
    @INC:
    /usr/perl5/5.8.4/lib/sun4-solaris-64int
    /usr/perl5/5.8.4/lib
    /usr/perl5/site_perl/5.8.4/sun4-solaris-64int
    /usr/perl5/site_perl/5.8.4
    /usr/perl5/site_perl
    /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
    /usr/perl5/vendor_perl/5.8.4
    /usr/perl5/vendor_perl
    Thanks &Regard

  • No UI Updating On Main Thread

    I have a few Cocoa UI elements with outlet connexions to an object instantiated within an NSView object, which is in turn put there by an NSViewController. These elements, a definite progress bar and a text label, are not updating: the progress bar is dead and empty despite having its value change constantly, the text label does not unhide through [textLabel setHidden:NO], the text label does not change its string.
    What I know:
    * There's no difference between binding values and setting them in code. Nothing changes either way.
    * I've checked outlet connections. They're all there.
    * I've tried [X displayIfNeeded], where X has been the UI objects themselves, the containing NSView, and the main window. No difference.
    * [progressBar setUsesThreadedAnimation:YES] makes no difference. Interestingly, if I look at progressBar mid-program, _threadedAnimation is still NO.
    * The object holding all these outlets and performing an import operation is in an NSOperationQueue owned by the NSViewController object. The UI update, meanwhile, occurs in the main thread via [self performSelectorOnMainThread:@selector(updateProgress:) withObject:(some number) waitUntilDone:NO]:
    - (void)updateProgress:(NSNumber *)someNumber
    if (someNumber == 1)
    [progressText setHidden:NO];
    [progress setUsesThreadedAnimation:YES];
    [progress setMaxValue:[max doubleValue]];
    NSInteger pctDone = someNumber / [max intValue] * 100;
    [progressText setStringValue:[NSString stringWithFormat:@"%d%% imported", pctDone]];
    [progress setDoubleValue:someNumber];
    [startView setNeedsDisplay:YES];
    I comment in-and-out some of the lines in updateProgress: depending on the experiment. According to the debugger, flow is clearly reaching this method, and it's clearly happening on the main thread. And yet, still no update. What else can I try?
    Thanks!

    Hi William -
    William Oram wrote:
    - (void)updateProgress:(NSNumber *)someNumber
    if (someNumber == 1) // <-- (1) comparing address of object with int
    [progressText setHidden:NO];
    [progress setUsesThreadedAnimation:YES];
    [progress setMaxValue:[max doubleValue]];
    NSInteger pctDone = someNumber / [max intValue] * 100; // <-- (2) dividing address by int
    [progressText setStringValue:[NSString stringWithFormat:@"%d%% imported", pctDone]];
    [progress setDoubleValue:someNumber]; // <-- (3) parameter is address instead of double
    [startView setNeedsDisplay:YES];
    It's hard to guess what's going on since the posted code doesn't appear to be the code you actually ran. As commented above, 'someNumber' is the address of a NSNumber type object so it can't be used where an int or a double is expected. It's generally best to paste code into the forum directly from your source files.
    Assuming 'someNumber' is a double in your actual code, I see two places at first glance that might account for what you reported:
    1) A double isn't often equal to an int, so the code block under line 1 might never run. If you're sure (rarely a useful concept in programming) 'someNumber' will be less than some value in the first of a series of calls to updateProgress, test with the less-than operator. Never use the equals operator to test a floating point value. That said, it would be much better to put that init code somewhere else (such as awakeFromNib). If 'max' varies, then put the init code in the same block that resets 'max'.
    2) The code doesn't set a minimum value for the progress bar. In my version of IB, the minimum for that object defaults to 20. Check and see if you reset that field in IB. Else if 'someNumber' never exceeds 20, you might never see a change in the bar.
    If neither of the above applies, the next place to look would be in your nib(s). It's always a good idea to make sure your IBOutlet ivars actually point where you expect.
    * I've checked outlet connections. They're all there.
    Even if the ivars aren't nil, they don't necessarily point to the view objects you're observing. I would recommend checking either the superview or window property (or both) of 'progressText' and 'progress'. I prefer logging these values with code placed immediately before the ivars are used.
    I made a testbed for you to factor out some of the complications and demonstrate the kind of logging I recommend:
    // MyViewController.h
    @interface MyViewController : NSViewController {
    IBOutlet NSTextField *progressText;
    IBOutlet NSProgressIndicator *progress;
    NSNumber *max;
    - (IBAction)someProgress:(id)sender;
    @end
    // MyViewController.m
    #import "MyViewController.h"
    @implementation MyViewController
    - (void)awakeFromNib {
    NSLog(@"awakeFromNib");
    NSLog(@"self.view=%@", self.view);
    NSLog(@"self.view.window=%@", self.view.window);
    NSLog(@"self.view.window.contentView=%@", self.view.window.contentView);
    NSLog(@"progressText=%@", progressText);
    NSLog(@"progressText.superview=%@", progressText.superview);
    NSLog(@"progress=%@", progress);
    NSLog(@"progress.superview=%@", progress.superview);
    max = [NSNumber numberWithInt:10];
    - (void)updateProgress:(NSNumber *)someNumber
    int someInt = [someNumber intValue];
    NSLog(@"someInt=%d", someInt);
    if (someInt == 1)
    [progressText setHidden:NO];
    [progress setUsesThreadedAnimation:YES];
    [progress setMinValue:0.0];
    [progress setMaxValue:[max doubleValue]];
    NSLog(@"progressText=%@", progressText);
    NSLog(@"progressText.superview=%@", progressText.superview);
    NSLog(@"progress=%@", progress);
    NSLog(@"progress.superview=%@", progress.superview);
    NSInteger pctDone = (double)someInt / [max intValue] * 100;
    if (pctDone <= 100)
    [progressText setStringValue:[NSString stringWithFormat:@"%d%% imported", pctDone]];
    [progress setDoubleValue:(double)someInt];
    - (IBAction)someProgress:(id)sender {
    static int isave = 0;
    NSLog(@"**someProgress**");
    NSNumber *number = [NSNumber numberWithInt:++isave];
    [self updateProgress:number];
    @end
    The progress bar and label are added directly to the content view of the main window. I.e. I didn't add startView, which I assume is the superview for the bar and label in your project. I like to keep testbeds as simple as possible to isolate the objects being tested. startView can be added after the basic testbed is running correctly.
    The progress bar is inited inside updateProgress to keep the code structure similar to your project, but as mentioned above, that code wants to be moved elsewhere to avoid the problematic init-required test.
    To build the testbed, just add a MyController class to the Cocoa App template, paste the example code into the files for that class, add a top-level object of type MyController to MainMenu.xib and connect its 'view' outlet to the content view of the window. Then drag NSProgressIndicator, NSTextField and NSButton objects onto the window. Connect the 'progressText' and 'progress' outlets of the controller, and connect the action of the button to 'someProgress' in the controller.
    Taking a few minutes to build a separate testbed might be well worth your time. Once the testbed is running, you can use it as a baseline for comparison with your project. The example testbed is working, tested code. So if you can't get it to run correctly, we can focus on your nib files. Similarly, if the working testbed fails when startView or some other feature of your project is added, we'll know where to look.
    - Ray

  • Using perl DBI on Solaris 10 gives core dump

    I am using perl 5.8.4 which comes along with Solaris 10.
    I have installed DBI-1.58.
    Even a test command is not working.
    perl -MDBI -e 'print "$DBI::VERSION\n";'
    Bus Error (core dumped)
    truss perl -MDBI -e 'print "$DBI::VERSION\n";'
    shows
    stat("/usr/local/lib/libc.so.1", 0xFFBFE5D0) Err#2 ENOENT
    mprotect(0xFEED0000, 104171, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
    mprotect(0xFEED0000, 104171, PROT_READ|PROT_EXEC) = 0
    munmap(0xFF370000, 8192) = 0
    brk(0x000A2470) = 0
    brk(0x000A4470) = 0
    brk(0x000A4470) = 0
    brk(0x000A6470) = 0
    brk(0x000A6470) = 0
    brk(0x000A8470) = 0
    brk(0x000A8470) = 0
    brk(0x000AA470) = 0
    brk(0x000AA470) = 0
    brk(0x000AC470) = 0
    Incurred fault #5, FLTACCESS %pc = 0xFEED44CC
    siginfo: SIGBUS BUS_ADRALN addr=0x00000001
    Received signal #10, SIGBUS [default]
    siginfo: SIGBUS BUS_ADRALN addr=0x00000001
    $perl -v
    command shows like its compiled with Intsize of 64 is this creating problem?
    Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
    Platform:
    osname=solaris, osvers=2.10, archname=sun4-solaris-64int
    uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO',
    optimize='-xO3 -xspace -xildoff',
    cppflags=''
    ccversion='Sun WorkShop', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE'
    cccdlflags='-KPIC', lddlflags='-G'
    Characteristics of this binary (from libperl):
    Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
    Locally applied patches:
    22667 The optree builder was looping when constructing the ops ...
    22715 Upgrade to FileCache 1.04
    22733 Missing copyright in the README.
    22746 fix a coredump caused by rv2gv not fully converting a PV ...
    22755 Fix 29149 - another UTF8 cache bug hit by substr.
    22774 [perl #28938] split could leave an array without ...
    22775 [perl #29127] scalar delete of empty slice returned garbage
    22776 [perl #28986] perl -e "open m" crashes Perl
    22777 add test for change #22776 ("open m" crashes Perl)
    22778 add test for change #22746 ([perl #29102] Crash on assign ...
    22781 [perl #29340] Bizarre copy of ARRAY make sure a pad op's ...
    22796 [perl #29346] Double warning for int(undef) and abs(undef) ...
    22818 BOM-marked and (BOMless) UTF-16 scripts not working
    22823 [perl #29581] glob() misses a lot of matches
    22827 Smoke [5.9.2] 22818 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
    22830 [perl #29637] Thread creation time is hypersensitive
    22831 improve hashing algorithm for ptr tables in perl_clone: ...
    22839 [perl #29790] Optimization busted: '@a = "b", sort @a' ...
    22850 [PATCH] 'perl -v' fails if local_patches contains code snippets
    22852 TEST needs to ignore SCM files
    22886 Pod::Find should ignore SCM files and dirs
    22888 Remove redundant %SIG assignments from FileCache
    23006 [perl #30509] use encoding and "eq" cause memory leak
    23074 Segfault using HTML::Entities
    23106 Numeric comparison operators mustn't compare addresses of ...
    23320 [perl #30066] Memory leak in nested shared data structures ...
    23321 [perl #31459] Bug in read()
    Built under solaris
    Compiled at Jul 26 2005 05:26:55
    @INC:
    /usr/perl5/5.8.4/lib/sun4-solaris-64int
    /usr/perl5/5.8.4/lib
    /usr/perl5/site_perl/5.8.4/sun4-solaris-64int
    /usr/perl5/site_perl/5.8.4
    /usr/perl5/site_perl
    /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
    /usr/perl5/vendor_perl/5.8.4
    /usr/perl5/vendor_perl
    Other details:
    file /usr/bin/perl
    /usr/bin/perl: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
    I tried installing DBI module using perlgcc also.
    perlgcc Makefile.PL
    make
    make test
    make install.
    $uname -a
    SunOS twirl 5.10 Generic_118822-25 sun4u sparc SUNW,Ultra-80
    Please help me out.

    Try this guy's list, he maintain an archive of Solaris package.
    http://www.ibiblio.org/pub/packages/solaris/sparc/html/creating.solaris.packages.html
    Of course, if you can get directly from Sun will be better.

  • Problems printing labels and envelopes with related names

    When I try and print out labels for Christmas cards from Address Book, the program creates the first line of the label with the name on the Address Book "card", plus the names of the "Related Name" entries on the card. This works for most cards except in the following situation.
    The Related Name field (Spouse, Child, etc.) does a 'fuzzy lookup' to match other cards in the Address Book database. If there is another card with the same name as one of the related names, the address is checked to see if the address matches. If it matches (or if there is no card that matches the related name), Address Book will include the related name on address labels. (Address information is required for this test since Address Book will not print a label for a card that does not have and address.) This was the source of my first problem as I had a card for a related name that had an old address on it, so Address Book chose not to print that related name on the labels as they did not live at the same address. I agree with this logic.
    The real problem is revealed when you add a related name to a card in which the first name of the related name matches the first name of another card which is NOT the same person. So I have a card for "John Hart", and on that card I have two relate names, a Spouse of "Nancy Hart" and a Child of "Eric Hart". I also have a card for "Nancy Hart" with a Spouse of "John Hart" and a child of "Eric Hart" and the address matches that on the card of "John Hart". If I print a label for "John Hart", Address Book properly prints "John, Nancy and Eric Hart". Now if I add a card for "Eric Smith" and either have a different address or no address at all on that card, when I print a label for "John Hart" Address Book will print "John and Nancy Hart", effectively losing the child. I can only think that Apple made the search for related cards TOO FUZZY and forgot to include the last name in the search.
    Apple... are you out there? Please help!!!
    PS: My full database has many records that are incurring this problem, and it's annoying.
    PowerMac G5 Dual 2.5 Mac OS X (10.4.3)

    After going through 3 2nd level support personnel, I finally reached one who cared enough to actually type in what I asked him to, and then to research the findings.
    As I pointed out above, Address Book compares the related names with the other cards in the database. If there is no card for the specific related name, Address Book will stop at a record with a matching first name and then compare addresses. If the addresses do not match, it will not print the related name. The support rep stated that hopefully in future version this might be refined.
    AS A WORKAROUND, he suggested I create cards for any of the related names on my cards. Once this is done, and the cards have matching addresses, all of the related names on the selected card for label or envelope printing are printed.

  • JavaWord article comparing J2EE vendor's clustering ( When will the JMS issue be addressed? )

    A must read.
              http://www.javaworld.com/javaworld/jw-02-2001/jw-0223-extremescale.html
              Quote:
              "Overall BEA WebLogic Server 6.0 has the most robust and well
              thought-out clustering implementation. HP Bluestone Total-e-Server
              2.7.1, Sybase Enterprise Application Server 3.6, and SilverStream
              Application Server 3.7 would be the next choices, in that order."
              The article however did highlight some weaknesses in WebLogic Server
              6.0, namely JMS Topics and Queues. Read for more info.
              However, if you compare the "single point of failure" of all the vendors
              mentioned, only WebLogic has a single point of failure, those being with
              JMS and administration.
              Will the issue regarding JMS be addressed? and when?
              John
              

    A lot of the JMS limitations were brought up during 6.0 beta. Supposedly
              there are plans to address these particular concerns in an upcoming version
              (not 6.0).
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              +1.617.623.5782
              WebLogic Consulting Available
              "Jesus M. Salvo Jr." <[email protected]> wrote in message
              news:[email protected]..
              > A must read.
              >
              > http://www.javaworld.com/javaworld/jw-02-2001/jw-0223-extremescale.html
              >
              > Quote:
              >
              > "Overall BEA WebLogic Server 6.0 has the most robust and well
              > thought-out clustering implementation. HP Bluestone Total-e-Server
              > 2.7.1, Sybase Enterprise Application Server 3.6, and SilverStream
              > Application Server 3.7 would be the next choices, in that order."
              >
              > The article however did highlight some weaknesses in WebLogic Server
              > 6.0, namely JMS Topics and Queues. Read for more info.
              >
              > However, if you compare the "single point of failure" of all the vendors
              > mentioned, only WebLogic has a single point of failure, those being with
              > JMS and administration.
              >
              > Will the issue regarding JMS be addressed? and when?
              >
              >
              > John
              >
              

  • Is there any easy way to compare LIKE Addresses from one table, which contains 3rd party data, to another table, our database source

    We have a 3rd party that is supplying us data and we need to compare the addressing between the 3rd party data to our source database addressing. I'd like to make it somewhat flexible meaning I'd like to somehow use the LIKE comparison rather than comparing
    the exact address values. (I have noticed that the 3rd party addressing sometime has a leading <space> at the beginning of the address...why I'd prefer to use LIKE)
    Is there any easy way to do this? Or does this dictate using a CURSOR and processing through the CURSOR of 3rd party data and plugging in the address LIKE as dynamic SQL?
    Please let me know your thoughts on this and I appreciate your review and am hopeful for a reply.

    Yes, it's possible and there are a variety of options but it's may not be for the faint of heart.
    The last time I did it, I ended up taking several passes at the data.
    1st pass was a straight up comparison with no modifications or functions.
    2nd pass was the same but with all special characters removed.
    3rd pass involved splitting the numeric portion of address and comparing just the street numbers and used a double meta-phone function (kind of like a soundex on steroids) to compare the street names.
    Jason Long

  • How should I compare internet socket addresses?

    I'm having my first go at rudimentary network programming. I need to compare two network addresses. What seems to me to be a general way of doing this is
    struct sockaddr a, b;
    a.sa_family == b.sa_family && a.sa_data == b.sa_data;
    1. Is this The Right Way?
    2. Is there some standard method that abbreviates this? Something like
    struct sockaddr a, b;
    sa_cmp(a, b);
    While I'm at it, is there some standard ready-made method that, given an adress family (e.g. AF_INET) will return the only matching protocol family (e.g. PF_INET)? Is it absolutely safe to use them interchangeably? mpd does this
    switch (addrp->sa_family) {
    #ifdef HAVE_TCP
    case AF_INET:
    pf = PF_INET;
    break;
    #ifdef HAVE_IPV6
    case AF_INET6:
    pf = PF_INET6;
    break;
    #endif
    #endif /* HAVE_TCP */
    #ifdef HAVE_UN
    case AF_UNIX:
    pf = PF_UNIX;
    break;
    #endif /* HAVE_UN */
    default:
    FATAL("unknown address family: %i\n", addrp->sa_family);
    should I do it too?
    Last edited by peets (2008-06-28 05:10:32)

    sa_family_t sa_family Address family.
    char sa_data[] Socket address (variable-length data).
    (at least) On this machine :
    /usr/include/bits/sockaddr.h:
    typedef unsigned short int sa_family_t;
    While I'm at it, is there some standard ready-made method that, given an adress family (e.g. AF_INET) will return the only matching protocol family (e.g. PF_INET)? Is it absolutely safe to use them interchangeably?
    I don't know if it is absolutely safe [i.e. portable]. I believe on Linux AF_* = (corresponding) PF_*. i.e.: #define AF_INET PF_INET etc. (/usr/include/bits/socket.h)
    should I do it too?
    Well, you've said this is rudimentary stuff you're trying to do. Are you using IPV6 ? If not, perhaps stick to ipv4 and use sockaddr_in ? Also, write for the operating system(s) You use for now rather than try to be portable as far as C net programming goes.
    Last edited by sniffles (2008-06-28 07:33:22)

  • Mail with Address Book & iCal, compared to Outlook 2011.  What to do?

    Suffice it say, if other conditions permitted, I might do away with both Apple & Microsoft's toolsets and go with a complete, cloud based business management app-Google or otherwise. I graduated from Entourage in Office 2004 to Mail, iCal, Address Book. And I've both adapted to, and adapted them to suit me. I use 4 IMAP servers for most all mail needs (1 mobileme, 3 gmail).
    Recently, I have overstuffed my local Mail folders with about 25GB of total mail. Truth is, I don't need all of it, maybe half. Mail has become unresponsive frequently so I have taken to rebuilding the mailboxes and leaving 2 of active mail accounts offline much of the time.
    Someone suggested Office 2011 because it does not have a 4GB limit on storage per account. I am reluctant because of the lack of sync services with iCal, or Gcal. I can click on mail in Mail and create a calendar appointment or a contact for iCal or Address Book. I am not ready to standardize every mac I have to MS Office 2011-yet. Vague, past memories of MS Office peculiarities also cause me to pause before jumping in, as well articles like this: http://www.tidbits.com/article/11696 (Escape from Outlook 2011!)
    Do any of the professionals here have an opinion on how to solve this problem which has already eaten into so much time?

    Hi ,
    seet the KB article : KB04199  also click on the below link for perfect solutions.
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB04199&sliceId=SAL_Pub...
    regards
    Dhaval.

  • How to compare 2 fields(This is an address field)

    Hello experts,
    I have 2 internal tables. lets name them ztab1 and ztab2. both of them has 3 fields which are the same namely KUNNR, CDSEQ and ZADDRESS. Now, my requirement is that when a user modifies a certain address(this is field ZADDRESS) it will also modify the same record in ztab2.
    Also, What will be event for this? I am not sure about this but I think it is event 1(before saving the data in database)
    P.S. examples would be highly appreciated.
    Again, thanks guys and have a nice day!

    Hi Viraylab,
    U can use the same Modification logic for the Ztab2 also.
    Loop at zitab1 into wa1.
    READ TABLE zitab2 with key kunnr = wa1-kunnr.
    if sy-subrc = 0
    modify zitab2 from wa1.
    endif.
    endloop.
    For updating the DB table.
    UPDATE (dbtabname) FROM TABLE Ztab1.
    Rgds,
    Jothi.
    Mark Useful answers.

  • Addressing/comparing record data in a .ctl file.

    Unfortunatly I am importing a flat file with data redundancy. I would like to dedup this data during the load. Below is the portion of the .ctl file I am unable to get working. The issue is in bold, SQL*LOADER does not like the position to position comparison. I have tried the bind method as well, but no luck.
    Please let me know how I can compare two strings within the same record for a SQL*LOADER control file..
    Agent #1 ID is positions 135-139 and Agent #2 ID is positions 964-968. Agent #1 always gets loaded ( based on the other portions of the WHEN clause ). Agent #2 should not get loaded if this is the same agent ID as Agent #1.
    --Agent #1
    INTO TABLE myschema.Agent
    WHEN ( 1489     :      1490 )='04' and ( 1491 : 1492 )='02' and ( 135     :      139 ) != '00000'
         AGENT_NO POSITION( 135     :      139 ) "TRIM(:AGENT_NO)",
         CASE_NO POSITION( 1          :      10 ) "TRIM(:CASE_NO)"
    Agent #2 If Not the same As agent 1
    INTO TABLE myschema.Agent
    WHEN ( 1489     : 1490 ) = '04' AND
         ( 1491 : 1492 ) = '02' AND
         ( 964 : 968 ) != '00000' AND      
          ( 135 : 139 ) != ( 964 : 968 )
         AGENT_NO POSITION( 964 : 968 ) "TRIM(:AGENT_NO)",
         CASE_NO POSITION( 1     :      10 ) "TRIM(:CASE_NO)"
    )

    Got it!
    Thank you very much !
    -Pamsath

Maybe you are looking for