CVI2010 10.0.1:Combination ListPrealocate, ListCompact and ListDispose cause error

Hello

I rebuild od project of CVI7.1.1 in new CVI 2010 10.0.1 and when run I get the error "NO FATAL RUN - TIME ERROR:...". Attempt to free the pointer to the memory not allocated by malloc() and calloc(). "the line source with function call ListDispose (list);

After some research, I found that it is under ListPrealocate and ListCompact.

It is a simple example of code:

ListType list=ListCreate(sizeof(int));
ListPreAllocate(list,1);
ListCompact(list);
ListDispose(list);//runtime error at this line//i also get error when i try call InsertItem after ListCompact

form toolbox.c it seems to me that the problem lies in listCompact free memory but do not update the struct pointer.

I would like to have the official patch for this "bug" don't have no not my own version of toolbox.c (because of updated poslible to day of the CVI) as well as for other users who can benefit.

Hi OVR_CZ,

Thank you for that bring to our attention. I checked that it is a bug in toolbox.c. I submitted a bug report (#335805 track) and it should be resolved in the next version of the CVI.

Since we provide the source code for toolbox.c, you can actually make the change in your copy of yourself. In the ListCompact function in toolbox.c, just change the if statement at the bottom of the function as follows:

void CVIFUNC ListCompact (ListType list)
{
    unsigned int tracking;
    void *newPtr = 0;

#ifndef TB_NO_SAFETY_CHECKS
    if (!VALIDATE_LIST (list))
        return;
#endif
    list = LIST_GET_POINTER (list);

    if (list->listSize == list->numItems)
        return;

#if defined(_NI_mswin_) && _NI_mswin_
    tracking = SetEnableResourceTracking (0);
#endif
    newPtr = realloc(list->itemList, list->numItems * list->itemSize);
#if defined(_NI_mswin_) && _NI_mswin_
    SetEnableResourceTracking (tracking);
#endif
    if (newPtr || list->numItems == 0) {
        list->itemList = newPtr;
        list->listSize = list->numItems;
    }
}

Note: This may or may not be change us really do for the next version of the CVI.

Tags: NI Software

Similar Questions

  • Why the right mouse clicking on the icons and thumbnails cause error message and the screen resets?

    When I returned from vacation, my PC worked as usual, but later in the day that it would be not laod, it gets to a certain point and then a blue screen and try a reboot. Managed to use the 'safe mode' and finally 'System restore', but it kept crashing until I went back as it would go, i.e. end of /April. Been authorized since except this error right click of the mouse.

    Looks like you may have a bad Windows Explorer (not Internet Explorer) add on.

    What is your version of XP and the Service Pack?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    Here are a few thoughts:

    When the Windows Explorer (not Internet Explorer) is wrong to behave on a right click, begins to suspect third-party add-ons explore extension.

    Those who would be the Explorer extensions that do not belong to Microsoft.  This means that extensions that you have added.  Solution Explorer extensions are generally well and installation of certain applications will install extensions from Explorer solutions for you, give you a choice and sometimes they can be added sometimes without your knowledge or consent when you install some software.

    Have you installed new software because the system finally worked correctly and if so, what?

    Solution Explorer extensions are sometimes added as a new right-click option, you see on folders and files (like the scan of this file, open that file, play this song).  When you right click on something, the Explorer wants to display a menu of choices.  If there is a bad or outdated extension, Explorer may crash.

    If there is something in particular that you do during exploration that you know will be the cause of the problem, which will help focus on the problem and the help that you suddenly know, when you have found and corrected.  If you can get there when you want it, make an adjustment, then there is no message the next time you do whatever it is you're doing, you've found and fixed (or perhaps you can fix).

    First of all you need a way to see what modules explore you have installed now and a way to turn them off (not uninstall them) so you can understand that we are at the origin of the problem.  You can have a lot of extensions not installed Microsoft don't even know you about.

    Download ShellExView here to see what Explorer extensions you have loaded:

    http://www.NirSoft.NET/utils/shexview.html

    ShellExView does not install anything on your computer, simply of runs and displays.

    After launching ShellExView, under Options, choose "Mark non-Microsoft Extensions" and extensions not Microsoft will be pink, clear, but on some systems which is a difficult color to see, so click on display, choose the columns and move the column Microsoft closer to the top, so you can see on your screen without having to scroll left and right.

    Click on the column header for Microsoft not to sort the display (by clicking on the column of Microsoft) if all the "" s are on top and easy to see.

    The s in 'No' would be things you have added (non-Microsoft) and are what you should be suspect.

    You can also Google the name of a suspect add-on and see if there are visits, on Explorer crashing and what other people have done about it.

    You can Google something like:

    Explorer XP crashing

    (you must fill in the name of adds your suspect on).

    See what kind of search results hits you get and are looking for solutions or situations that sound like yours.

    I'm not a defender of trial and error, but I can't think of another way to do...

    Right click and disable the extensions one at a time non-Microsoft keep a list so you can enable them again later if you wish. The result of the change is immediate and no reboot is necessary.  Test your failure condition.

    If you recognize all the extensions that have been added or recently downloaded, start with these first.

    Disabling the extension does not uninstall the extension - it is just disabled.

    Disable them one at a time until your right click on do not generate an error, then restart and test again.  Last extension you have turned off the
    a suspect.

    You can also just disable all non-Microsoft extensions, restart and allow them one at a time until you find the one that generates the condition.

    The hope is that you will find an extension that caused the error, and then you can figure out what on this subject - either uninstall it or see if you can get an update of the author of the extension of their web page.

    I have not your problem, but when you turn off/turn on extensions, the extension is immediately disabled, so disable an extension does not seem to require a restart, but if you find the problem, I reboot and retest anyway to really be sure that the problem has disappeared.

    If you post your non-Microsoft extensions list, maybe someone will recognize it as a potential problem.

    If you find the offending extension that's the problem, please let us know what it is that I can add to my list.

    If you get a blue screen of death (BSOD), you must do this:

    The next time your system crashes, provide more information on what you see.
    Here's a BSOD example showing information you provide:
    Send for the nose and the Red arrows (3 to 4 lines total).
    Send all * line STOP message since there are clues in the 4 parameters.
    If there is a name of the file listed in the STOP message, don't forget to include this information too.
    Ignore the boring text unless it seems important to you.  We know what a BSOD looks like, we need to know what your BSOD looks like.

    Finally, I'd be curious to know why you say you get an error message and tell us what the error message said.

  • I can't open attachments ._DOC. I tried combining write, wordpad and othereswith without success. I refused access to iexpl because of security settings. I have no WORD from the Office of M. advice?

    I can't open attachments ._DOC. I tried combining write, wordpad and others without success. I refused access to iexpl because of security settings. I have no WORD from the Office of M. advice?

    You must change the extension of the name of _DOC in just DOC. Then you will need a program to open the file; the free Word Viewer, as well as a compatibility pack, if needed, should do the job. How to obtain the latest Word Viewer

  • How to read a combination of strings and data data file

    Hello

    I'm having the combination of strings and datas to read a data file. I'm reading the file name, the time constants and comments in four indicators separate string (lines for comments varies for different files). And read the data in a 2D array. How can I do this? Y at - it a function that can serch of special characters in the spreadsheet file, so I can locate exactly where I should start reading the specific data. Here's how the data file is displayed. Thank you very much.

    Best,

    Richard

    filename.dat
    14:59 12/31/2009
    --------------------------------------------------
    Sample = 2451
    Frequency = 300, time of waiting = 2500
    Temperature = 20
    --------------------------------------------------
    a few comments
    a few comments
    a few comments
    a few comments
    a few comments
    --------------------------------------------------

    7.0000E + 2 1.5810E - 5
    7.0050E + 2 1.5400E - 5
    7.0100E + 2 1.5500E - 5
    7.0150E + 2 1.5180E - 5

    ....

    Here's a (big) hint.

    I would like to give you an excerpt, but I've not updated this machine yet.  It's a pretty boring delimiter, if you know what's good for you, you start to use commas, tabs or simple spaces (my order of preference).  It is far too easy start add or remove spaces and then you need to use more complex methods to obtain data from worksheet.

  • Combination of substring and instring in RTF - dynamic signature images url

    I am unable to use a combination of substring and instring in RTF model.

    I have a BUYER_LAST_NAME column, which has a Jean Dupont value. I like to shoot 'john' on this channel.

    I tried to create a variable using <? xdoxslt:set_variable($_XDOCTX,_'new_name',_'')? >

    So I want to do a get variable using substr and InStr.

    <? xdoxslt:get_variable (substring _XDOCTX, BUYER_LAST_NAME, $(DOCUMENT_BUYER_LAST_NAME, 1, instring(BUYER_LAST_NAME,' ')-1))? >

    The command above does not work as a substring and instring aren't xdoxslt operations.

    I tried to do this using xdofx: <? xdofx:substr (BUYER_LAST_NAME, 1, Instr(BUYER_LAST_NAME,' ')-1)? >

    The above work, but I don't know how to make a variable defined using xdofx. Please help me on this.

    Published:

    I want to use this field in a dynamic signature display. But I can't call substring-before command as part of the url.

    URL: {(concat('${OA_MEDIA}','/purchase_order/signatures/',.//BUYER_FIRST_NAME,'_',.//BUYER_LAST_NAME,'.jpg')}

    I want to change the BUYER_LAST_NAME here.

    I'm working on

    URL: {concat (' ${OA_MEDIA} ',' / purchase_order/signatures /',. / / DOCUMENT_BUYER_FIRST_NAME, "_",. / /, '.jpg')}

    But it does not work.

    ->

    URL: {concat (' ${OA_MEDIA} ','/ purchase_order/signatures /',. / / DOCUMENT_BUYER_FIRST_NAME, '_', substring-before(.//DOCUMENT_BUYER_LAST_NAME, ' '), '.jpg')}

    who is working for me

  • Can any body help to get a script that can generate the sequence (length 3) with a combination of numbers and characters example: T11... TA1... TZ9... then on

    Can any body help to get a script that can generate the sequence (length 3) with a combination of numbers and characters example: T11... TA1... TZ9... then on

    With the help of the clause type

    Select sqnc

    from (select sqnc

    from (select 'T00"sqnc, '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' ordr

    of the double

    )

    model

    size of (0 I)

    measures (sqnc, ordr, length (ordr) len)

    rules iterate (1300) until (instr(sqnc[iteration_number],'~')! = 0)

    (sqnc [iteration_number] = case when sqnc [cv (i) - 1] is null

    then sqnc [0]

    of another substr (sqnc [iteration_number - 1], 1, 1) |

    -case when substr (sqnc [iteration_number - 1], 2, 1)<=>

    so when business substr (sqnc [iteration_number - 1], 3, 1)<>

    then substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 2, 1)), 1)

    of another nvl (substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 2, 1)) + 1.1),'~ ')

    end

    end |

    -case when substr (sqnc [iteration_number - 1], 3, 1)<>

    then substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 3, 1)) + 1.1)

    else ' 0'

    end

    end

    )

    )

    where instr(sqnc,'~') = 0

    Concerning

    Etbin

  • Combine the vRO and vRO device Windows in a cluster

    Hi all

    After some problems with one of our 2 servers in Windwos vRO, we want to replace by vRO device.

    Is it possible to combine Windows vRO and vRO apparatus a vRO (under program F5 load balancer) cluster?

    And also, what are the disadvantages to the use of the device instead of the windows one?

    Thank you!

    Hello

    There should be no problem to combine vRO device and Windows vRO in a cluster.

    View functional-wise, camera and Windows distributions are roughly equivalent. They share the same files binary platform; the differences are mainly in the specific configuration/components (Linux vs Windows) OS.

    BTW, vRO 6.x is the latest version of the vRO server to ship with Windows Setup. From vRO 7.0, your only option to deploy the vRO server is to use the standalone vRO device or vRO grouped inside of vRA.

  • I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?

    I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?  Please advise!

    slynn5236 wrote:

    I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?  Please advise!

    You can do in PSE.

    1. Do the math to see how much space you'll need on your canvas to the image and text.
    2. Navigate to the file queue > new.blank. Enter the width & height, background color, resolution 72 px / in. It is your canvas, and in the layers palette will be the background layer.
    3. Copy and paste the image. It turns on a separate layer
    4. Activate the tool move, position the image and resize if necessary
    5. Activate the text tool, and then type your text. It will be on a separate so layer
    6. Position the text.
    7. Flatten layers and go to file > save for web. I'm usually on the long side about 800 px. Don't forget to check "constrain proportions". Adjust the quality slider to suit. You will probably want the type of JPEG file for web work.
  • Look for the same combination of parent and child

    Hi all I am using oracle 10g. can you please help me in this issue.
    How can I know if the same combination of filiation in the table

    key to value and value are values given by the user.
    If the user tries to create a profile even with the same set of key_value and value while avoid
    So how do you achieve this.


    Profile example already in the table
    ----------------------------------------------------------------------
    -- PROFILE_ID,DETAIL_ID,PARENT_DETAIL_ID,KEY_VALUE, VALUE, LAST_IND
    100,               1,               NULL,                      1,              CDE,     N
    100,               2,              1,                            2,              XXX,     N
    100,               3,              1,                            2,              YYY,    N
    100,               4,              1,                            4,              NEW,    Y
    new user profile - it should raise an error saying that same profile already present
    -- PROFILE_ID,DETAIL_ID,PARENT_DETAIL_ID,KEY_VALUE,VALUE,LAST_IND
    101,               5,               NULL,                      1,              CDE,    N
    101,               6,              5,                            2,              XXX,    N
    101,               7,              5,                            2,              YYY,    N
    101,               8,              5,                            4,              NEW,    Y
    Published by: DeepakDevarapalli on December 9, 2009 09:48

    Published by: DeepakDevarapalli on December 9, 2009 09:59

    Hello

    Rather than separate subqueries to get target_ptxt and staging_ptxt, it is easier to combine the target and the staging in a UNION, then calculate the ptxt once, unified data. To mark the staging data, I assigned profile - 1, assuming it wasn't a number real profile.

    The following query calculates ptxt for each profile, including the profile =-1 (staging).
    It then compares the ptxt transit zone to all other ptxts and identifies each one that matches.
    If the query does not have all the lines, then staging did not match any profile existing in tagrget.

    WITH       union_data     AS
    (
         SELECT     profile
         ,     key
         ,     value
         FROM     target
              --
         UNION ALL
                 --
         SELECT     -1     AS profile
         ,     key
         ,     value
         FROM     staging
    )
    ,     got_r    AS
    (
         SELECT       profile
         ,       key || '/' || value               AS rtxt
         ,       ROW_NUMBER () OVER ( PARTITION BY  profile
                                      ORDER BY         key
                               ,              value
                             )                      AS rnum
         FROM       union_data
    )
    ,     got_p     AS
    (
         SELECT     profile
         ,     SYS_CONNECT_BY_PATH (rtxt, ',')     AS ptxt
         FROM     got_r
         WHERE       CONNECT_BY_ISLEAF     = 1
         START WITH     rnum          = 1
         CONNECT BY     rnum          = PRIOR rnum + 1
              AND     profile          = PRIOR profile
    )
    SELECT    'Profile Already Present'     AS warning
    ,       t.profile
    FROM       got_p          s
    JOIN       got_p          t     ON     s.ptxt     = t.ptxt
    WHERE       s.profile     =  -1
    AND       t.profile     != -1
    ;
    
  • Computer restart and display BSoD error constantly

    My computer restarts and gives me a blue screen error message.

    Minidump:
    https://SkyDrive.live.com/redir?RESID=27EED93B82BAB133! 120 & authkey =! AFPe1f7a4LP64IA

    "It is not a true crash, in the sense that the blue screen was launched only because the combination of material and video driver video was to be insensitive and not because of any exception processing synchronous".

    Since Vista, the components of "Timeout detection and recovery" (TDR) of the subsystem video OS have been able to do some really impressive things to try to find issues that would have led to the earlier OS like XP to crash.

    As a last resort, the TDR subsystem sends a video driver command "Please restart you now!" and wait a few seconds.
    If there is no answer, the BONE concludes that the combo of driver/hardware video has really collapsed in a heap, and it fires at this stop 0 x 116 BSOD.

    If playing with video driver versions did not help, make sure that the box is not overheated.
    Try to remove a side panel and a fan of big sector directly to the motherboard and GPU.
    Run it like that for a few hours or days - long enough to check whether the cooler temperatures make a difference.

    If so, it could be as simple as dust accumulation and inadequate cooling afterwards.

    I download cpu - z and gpu - z (both free) and keep an eye on the video time

  • One-way replication using queries and mapping DML - error

    Environment: Unique Windows physical system and Oracle 11 g R2 DB of EA. Two schemas with the structure of the different tables. This is a home office staff.
    The order of the day: runs DML replication of 2 tables to another single table with use of query and chips

    Disclaimer: I have read the guide e17791.pdf Admin and checked the forum before asking this question here.

    My excerpt:
    EXTRACT srcextm
    USERID gguser, PASSWORD gguser
    --DDL
    TRANLOGOPTIONS EXCLUDEUSER gguser
    RMTHOST localhost, MGRPORT 7809
    RMTTRAIL G:\app\gg32\dirdat\mt
    TABLE source.*,
    SQLEXEC (ID query2col, QUERY "select a.sno as sno, a.name as name, b.phone as phone from source.test a, source.contact_no b where a.sno=1 and a.sno=b.sno"),
    TOKENS (TK_SNO           = @GETVAL(query2col.sno),
            TK_NAME      = @GETVAL(query2col.name),
            TK_PHONE       = @GETVAL(query2col.phone));
    Replicat:
    REPLICAT srcrepm
    SOURCEDEFS G:\app\gg32\dirsql\sourcedefs.sql
    --DDLERROR DEFAULT IGNORE
    USERID gguser, PASSWORD gguser
    MAP source.*, TARGET target.directory,
    colmap(USEDEFAULTS,
    SNO= @Token("TK_SNO"),
    NAME= @Token("TK_NAME"),
    PHONE= @Token("TK_PHONE"));
    Replicat report:
    ***********************************************************************
                     Oracle GoldenGate Delivery for Oracle
          Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230
            Windows (optimized), Oracle 11g on Apr 23 2012 06:24:05
     
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
    
    
                        Starting at 2012-10-15 10:00:34
    ***********************************************************************
    
    Operating System Version:
    Microsoft Windows 7 , on x64
    Version 6.1 (Build 7600: )
    
    Process id: 8932
    
    Description: 
    
    ***********************************************************************
    **            Running with the following parameters                  **
    ***********************************************************************
    
    2012-10-15 10:00:34  INFO    OGG-03035  Operating system character set identified as windows-1252. Locale: en_US, LC_ALL:.
    REPLICAT srcrepm
    
    SOURCEDEFS G:\app\gg32\dirsql\sourcedefs.sql
    
    --DDLERROR DEFAULT IGNORE
    
    USERID gguser, PASSWORD ******
    
    MAP source.*, TARGET target.directory,
    
    colmap(USEDEFAULTS,
    
    SNO= @Token("TK_SNO"),
    
    NAME= @Token("TK_NAME"),
    
    PHONE= @Token("TK_PHONE"));
    
    
    2012-10-15 10:00:34  INFO    OGG-01815  Virtual Memory Facilities for: COM
        anon alloc: MapViewOfFile  anon free: UnmapViewOfFile
        file alloc: MapViewOfFile  file free: UnmapViewOfFile
        target directories:
        G:\app\gg32\dirtmp.
    
    CACHEMGR virtual memory values (may have been adjusted)
    CACHESIZE:                              512M
    CACHEPAGEOUTSIZE (normal):                4M
    PROCESS VM AVAIL FROM OS (min):           1G
    CACHESIZEMAX (strict force to disk):    881M
    
    Database Version:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    Database Language and Character Set:
    NLS_LANG         = ".WE8MSWIN1252" 
    NLS_LANGUAGE     = "AMERICAN" 
    NLS_TERRITORY    = "AMERICA" 
    NLS_CHARACTERSET = "WE8MSWIN1252" 
    
    ***********************************************************************
    **                     Run Time Messages                             **
    ***********************************************************************
    
    Opened trail file G:\app\gg32\dirdat\mt000000 at 2012-10-15 10:00:34
    
    Wildcard MAP resolved (entry source.*):
      MAP "SOURCE"."TEST", TARGET target.directory, colmap(USEDEFAULTS, SNO= @Token("TK_SNO"), NAME= @Token("TK_NAME"), PHONE= @Token("TK_PHONE"));
    Using the following default columns with matching names:
      SNO=SNO, NAME=NAME
    Using the following key columns for target table TARGET.DIRECTORY: SNO.
    
    
    
    2012-10-15 10:00:34  WARNING OGG-01004  Aborted grouped transaction on 'TARGET.DIRECTORY', Database error 1403 (OCI Error ORA-01403: no data found, SQL <UPDATE "TARGET"."DIRECTORY" SET "NAME" = :a1,"PHONE" = :a2 WHERE "SNO" = :b0>).
    
    2012-10-15 10:00:34  WARNING OGG-01003  Repositioning to rba 984 in seqno 0.
    
    2012-10-15 10:00:34  WARNING OGG-01154  SQL error 1403 mapping SOURCE.TEST to TARGET.DIRECTORY OCI Error ORA-01403: no data found, *SQL <UPDATE "TARGET"."DIRECTORY" SET "NAME" = :a1,"PHONE" = :a2 WHERE "SNO" = :b0>*.
    
    2012-10-15 10:00:34  WARNING OGG-01003  Repositioning to rba 984 in seqno 0.
    
    Source Context :
      SourceModule            : [er.errors]
      SourceID                : [er/errors.cpp]
      SourceFunction          : [take_rep_err_action]
      SourceLine              : [623]
    
    2012-10-15 10:00:34  ERROR   *OGG-01296  Error mapping from SOURCE.TEST to TARGET.DIRECTORY.*
    
    ***********************************************************************
    *                   ** Run Time Statistics **                         *
    ***********************************************************************
    
    Last record for the last committed transaction is the following: 
    ___________________________________________________________________
    Trail name :  G:\app\gg32\dirdat\mt000000
    Hdr-Ind    :     E  (x45)     Partition  :     .  (x04) 
    UndoFlag   :     .  (x00)     BeforeAfter:     A  (x41) 
    RecLength  :    77 (x004d)    IO Time    : 2012-10-15 09:23:18.000000  
    IOType     :    15  (x0f)     OrigNode   :   255  (xff)
    TransInd   :     .  (x03)     FormatType :     R  (x52)
    SyskeyLen  :     0  (x00)     Incomplete :     .  (x00)
    AuditRBA   :          7       AuditPos   : 31137808
    Continued  :     N  (x00)     RecCount   :     1  (x01)
    
    2012-10-15 09:23:18.000000 FieldComp          Len    77 RBA 984
    Name: SOURCE.TEST
    ___________________________________________________________________
    
    Reading G:\app\gg32\dirdat\mt000000, current RBA 984, 0 records
    
    Report at 2012-10-15 10:00:34 (activity since 2012-10-15 10:00:34)
    
    From Table SOURCE.TEST to TARGET.DIRECTORY:
           #                   inserts:         0
           #                   updates:         0
           #                   deletes:         0
           #                  discards:         1
    
    
    Last log location read:
         FILE:      G:\app\gg32\dirdat\mt000000
         SEQNO:     0
         RBA:       984
         TIMESTAMP: 2012-10-15 09:23:18.000000
         EOF:       NO
         READERR:   0
    
    
    2012-10-15 10:00:34  ERROR   OGG-01668  PROCESS ABENDING.
    Note: I left out the statistics.

    DB data table:
    select * from source.test;
    SNO                    NAME            UPDATED                   EMAIL                          
    ---------------------- --------------- ------------------------- ------------------------------ 
    3                      Dickens            15-OCT-12 12.20.50.614000000 AM NA                             
    1                      Madhu      14-OCT-12 10.52.05.213000000 PM NA                             
    2                      Tom             14-OCT-12 10.52.05.213000000 PM NA                             
    
    3 rows selected
    Select * from source.contact_no;
    SNO                    PHONE      
    ---------------------- ---------- 
    1                      9888888885 
    2                      9888888886 
    
    2 rows selected
    Select * from target.directory;
    SNO                    NAME            PHONE      
    ---------------------- --------------- ---------- 
    
    0 rows selected
    At startup, the evening only replicate with the error above.

    My question is:
    Why is an update performed at Target.Directory table with the WHERE clause used in the SELECT query to my SNIPPET, which in turn, was intended for the SOURCE. TEST and SOURCE. CONTACT tables?

    Published by: MadhuGopanna on October 14, 2012 23:25: fixed select query. Same recurring error.

    "to replicate (exlisitly give source.test as a source)-
    Question: If I mention only source.test as a source, would have extracted ignore changes made to source.contact_no?

    Stating that -

    MAP source.*, TARGET target.directory
    

    sandbox say GG to you that you have what it takes to replicate all tables in the source schema in target.directory. -So, it's nonsense.

    "to extract (add section TABLEEXCLUDE to exclude the replication source.contact_no) -"
    Question: I want to reproduce the combination of test and contact_no of source data in the target.directory table. In this regard the TABLEEXCLUDE of source.contact_no will provide the desired result?

    TABLEEXCLUDE clause do not exclude the possibility of using the table in queries in SQLEXEC or anywhere else. He just exclude the table replication if you use wildcard characters.
    For example -.

    TABLE user.*;
    TABLE user.TEST;
    

    each user of schema table would be replicated except user. TEST.

    I think it is the right way to say what you want-

    EXTRACT ext1
    --connection to database--
    USERID ogg, PASSWORD xxxx
    --hostname and port for trail--
    --rmthost db-dev-2, mgrport 7809
    --path and name for trail--
    --rmttrail /u01/app/oracle/product/11.1.1.12ogg/dirdat/lt
    EXTTRAIL /u01/app/oracle/product/11.1.1.12ogg/dirdat/ss
    SEQUENCE test.*
    --DDL support
    DDL INCLUDE MAPPED OBJNAME test.*
    --DML
    TABLE source.TEST, SQLEXEC (ID query2col, QUERY "select b.phone as phone from source.test a, source.contact_no b where a.sno=:sno_params and a.sno=b.sno", PARAMS (sno_params = SNO)) TOKENS (TK_PHONE = @GETVAL(query2col.phone));
    TABLEEXCLUDE source.CONTACT_NO;
    
    --Replicat group --
    REPLICAT REP2
    --source and target definitions
    --ASSUMETARGETDEFS
    SOURCEDEFS /u01/app/oracle/product/11.1.1.1.2ogg411g/dirdef/sourcedef
    --target database login --
    USERID ogg, PASSWORD xxxx
    --file for dicarded transaction --
    DISCARDFILE /u01/app/oracle/product/11.1.1.1.2ogg411g/discard/rep1_discard.txt, APPEND, MEGABYTES 10
    --ddl support
    DDL
    --Specify table mapping ---
    MAP source.TEST, TARGET target.DIRECTORY, COLMAP (USEDEFAULTS, PHONE = @TOKEN ("TK_PHONE"));
    DDLERROR 24344 DISCARD;
    

    Just tested - works fine.

    Published by: Artem Khisamiev on 15.10.2012 08:00

    Published by: Artem Khisamiev on 18.10.2012 05:58

  • Whenever I try to update my iPhone 6 for the ios10 it is said it is impossible and that an error occurred during the installation? I ' have enough free space, so I'm not real why he keeps now.

    Whenever I try to update my iPhone 6 for the ios10 it is said it is impossible and that an error occurred during the installation? I ' have enough free space, so I'm not real why he keeps now.

    Try to update via iTunes.

    See you soon,.

    GB

  • I have a My Passport to the top by car and I get error messages on this to be ejected (although it was still connected). Now my computer does not recognize the drive. All solutions?

    I have a My Passport to the top by car and I get error messages on this to be ejected (although it was still connected). Now my computer does not recognize the drive. All solutions?

    Drive, interface in the crankcase of training controller, or the USB port or the cable may be faulty.

  • Whenever I open Firefox, I had a small window to appear and reports following error "TypeError; Components.classes['@ [' softage.ru/Skype FeExtensions; 1] is undefined

    Whenever I open Firefox, I had a small window to appear and reports following error "TypeError; Components.classes['@ ['softage.ru/Skype FeExtensions; 1] is undefined

    Remove/disable Skype add-on

    Uninstalling the modules

    Cannot uninstall an add-on

    Check and tell if its working.

  • Hi, I just bought a used 2012 Pro 13 "Macbook. It came with iMovie installed. However, I would like to get the update to iMovie. He said: I can't update iMovie because a different Apple ID was used to download iMovie and I get errors. How can I update iMo

    Hi, I just bought a used 2012 Pro 13 "Macbook. It came with iMovie installed. However, I would like to get the update to iMovie. He said: I can't update iMovie because a different Apple ID was used to download iMovie and I get errors. How can I update iMovie?

    Error message #1: these applications cannot be accepted by your Apple ID. These applications have already been assigned to another Apple ID, and they will be available in this list of purchases Apple ID. If you don't have access to this Apple ID and would like to receive future updates, you will need to purchase applications.

    Error message #2: update are not available with this Apple ID. This update is not available for this Apple ID either because it was bought by another user or the item has been refunded or cancelled.

    Error message #3: we could not complete your request. There was an error in the App Store. Please try again later. (null)

    Unfortunately, free updates are available to the original purchaser of the computer. The iMovie is locked to his Apple ID, so unless you have to grab his ID, you can buy iMovie.

Maybe you are looking for

  • Modules common Toshiba is not installed on the Satellite L300-01:00

    Hello The common Modules is very important and I can't install it.My OS = XP SP2 64 bits SATAlaptop model: L300 01:00 There are very many questions on this topic (not the common Modules installed) and support boys don't give a solution.That is to say

  • Why my windows 7 when I move extends fullscreen

    My computer HP Intel core 64-bit professional when I move my windows to the top of the screen, it develops automatically in full screen, sometimes I want to use another window and I can't, which is annoying, how to avoid it.

  • Registered e-mail address

    Hello I would like to change the email address registered in my Skype account. I went in the new address and click the 'save' button, but it will not save the new address. I'm not able to put a new address in, why is it so? Can someone help me with t

  • store work has stopped playing

    My store play has stoped working

  • Spam Unibera Software Solutions

    I often get spam to my Messages folder advertising Unibera Software Services apps. They are not emails or texts, etc. They are bold and I don't see who is sending them, but since the ads are all for this provider applications, I guess they are spamme