Cardinality error

Hello people, make sample application
SQL> create table t as select object_name from all_objects;

Table created.

SQL> select count(*) from all_objects;

  COUNT(*)
----------
     49731

SQL> select count(*) from t;

  COUNT(*)
----------
     49732

SQL> insert into t select 'SMITH' from t where rownum <= 196;

196 rows created.

SQL> select count(*) from t;

  COUNT(*)
----------
     49928

SQL>  create index t_idx on t(object_name);

Index created.

SQL> analyze table t compute statistics;

Table analyzed.

SQL> set autotrace traceonly explain;
SQL> select * from t where object_name = 'SMITH';

Execution Plan
----------------------------------------------------------
Plan hash value: 2946670127

--------------------------------------------------------------------------
| Id  | Operation        | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
--------------------------------------------------------------------------
|   0 | SELECT STATEMENT |       |     2 |    48 |     1   (0)| 00:00:01 |
|*  1 |  INDEX RANGE SCAN| T_IDX |     2 |    48 |     1   (0)| 00:00:01 |
--------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   1 - access("OBJECT_NAME"='SMITH')

SQL>
Got lines '2' only... Cardinality error... How to avoid this?
Thank you

If the optimizer's cardinality estimates are reasonably accurate, it is reasonably likely that he chose a plan that is at least nearly optimal in light of the SQL database settings and optimizer and structures available to the optimizer to improve performance (index, materialized, views etc.).

The fact that probably the optimizer has not made a mistake, however, won't say that there is no possibility of improvement. It is quite possible, for example, that the query itself can be reworked to be more effective, whether we can create additional indexes or materialized views, or that a better plan may be available so different settings have been made.

In this case, EMP and DEPT being so small, the plan appears reasonable. You can create a materialized view that would be pre-computes the result that would probably improve the query performance, but it is likely that you really care about the performance of this query optimization since it is probably ~ 10 compatible Gets and probably runs in less than a hundredth of a second.

Justin

Tags: Database

Similar Questions

  • Error occurs when calling remote ADFService11G service. Details: ADFException-3007: The ViewObject "AppModule.VO3" is used as a destination more than a ViewLink. (HY000)

    Hello

    Thanks in advance for helping me to solve after publication:

    I tried to run a report of OBIEE including data model comes from the layer of the ADF.

    In my module of the application, I have 5 display objects:

    For Ex: VO1 VO2 VO3, VO4 VO5

    And I show the links between: VO1 and VO2 (lets say: VO1_VO2_VIewLink).

    VO2 at VO3 ((permet de dire: VO2_VO3_VIewLink)), VO4 is related to the ((permet de dire: VO4_VO3_VIewLink) VO3) & VO5 is linked to VO3 (lets say: VO5_VO3_VIewLink)

    When I deploy this application on OBIEE and run a report with objects of:

    (1) VO1 and VO2-report works fine

    (2) VO2 and VO3 -report works fine

    (3) VO4 and VO3 -report works fine

    (4) VO5 and VO3 -report works fine

    (5) VO1, VO2, VO3 -report works fine

    It is when I run the report with the objects of

    VO1 and VO2 VO3 VO4, it throws an error message:

    "Error occurs when calling remote ADFService11G service. Details: ADFException-3007: The ViewObject "AppModule.VO3" is used as a destination more than a ViewLink. (HY000) »

    OBIEE Version is: 11.1.1.7.0 (with no patches) basis data: 11 GR 2, Jdev:11.1.1.7.0

    Kind regards

    RAM.

    I was able to resolve this error by changing my AppModule datamodel application, by changing the cardinality between VO3 and any other 1: n VO (VO3) to 1 (VO3): n. making VO3 as source VO object rather than view destination object.

    Kind regards

    RAM.

  • character string buffer too small error in table form

    Hi people,

    One of my tabular forms suddenly stopped working suddenly after 3 months of work perfectly. Then I ran into debugging and looks like something bad went my LOV like below:
         0.16968     0.00328     ...Execute Statement: begin begin SELECT TIME_DISPLAY D, TIME_RETURN R bulk collect into wwv_flow_utilities.g_display,wwv_flow_utilities.g_value FROM TS_HOURS ORDER BY 2; end; end;     4     
    8
         0.17292     0.03912     ...Execute Statement: begin begin select /*+ cardinality(t 10) */ disp, val bulk collect into wwv_flow_utilities.g_display,wwv_flow_utilities.g_value from table(wwv_flow_utilities.get_temp_lov_data(2)) t order by insert_order, disp; end; end;     4     
    100
         0.21211     0.00224     report error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I have looked around and I saw a few others with the same problems but nothing that has like mine. Could someone please help me to find what is the problem? Thank you.

    I use Apex 4.1.1

    Hello

    the LOVs are displayed as a row okay? I wonder if it's some kind of a problem with the tabular forms?

    Concerning
    André

  • Dm3.0 ai2: Logic model relationship cardinality: Optional Source mislabeled?

    In the logic model, created a relationship 1: n of non-identification between 2 - Parent and child entities. Parent is 1: n with the child. The two entities have a primary key of unique column - parent_id, child_id respectively. I would like to apply LAUGHED as a parent can exist without children, but a child can not exist without a parent.

    In the logic model, the properties of the relationship, the cardinality - I change the checkboxes Optional Source and optional target to achieve my goal. I first tried to target control optional and leaving Source option unchecked. Then I have a physical model of the engineer and generate DDL for Oracle 11 g I get this constraint:
    SQL>ALTER TABLE child
      2      ADD CONSTRAINT Relation_1 FOREIGN KEY
      3      (
      4       parent_id
      5      )
      6      REFERENCES parent
      7      (
      8       parent_id
      9      )
     10      ON DELETE SET NULL
     11  ;
    
    Table altered.
    Here's a test case that illustrates this isn't quite what I wanted (starting with two empty tables):
    SQL>
    SQL>
    SQL>insert into parent (parent_id) values (1);
    
    1 row created.
    
    SQL>commit;
    
    Commit complete.
    
    SQL>
    SQL>insert into child (child_id, parent_id) values (901, 1);
    
    1 row created.
    
    SQL>commit;
    
    Commit complete.
    
    SQL>
    SQL>delete from parent;
    delete from parent
                *
    ERROR at line 1:
    ORA-01407: cannot update ("ODS_ETL_OWNER"."CHILD"."PARENT_ID") to NULL
    If I have Source checked and unverified optional target, a physical model of the engineer and generate DDL for Oracle 11 g I get this constraint that produces the effect with my test scenario:
    SQL>ALTER TABLE child
      2      ADD CONSTRAINT Relation_1 FOREIGN KEY
      3      (
      4       parent_id
      5      )
      6      REFERENCES parent
      7      (
      8       parent_id
      9      )
     10  ;
    
    Table altered.
    
    SQL>
    SQL>insert into parent (parent_id) values (1);
    
    1 row created.
    
    SQL>commit;
    
    Commit complete.
    
    SQL>
    SQL>insert into child (child_id, parent_id) values (901, 1);
    
    1 row created.
    
    SQL>commit;
    
    Commit complete.
    
    SQL>
    SQL>delete from parent;
    delete from parent
    *
    ERROR at line 1:
    ORA-02292: integrity constraint (ODS_ETL_OWNER.RELATION_1) violated - child
    record found
    But this seems backwards - and documentation reads as if it were backward. Am I missing something, or are the Source option and checkboxes optional target mislabeled? Should be Manditory Source and target mandatory?

    I would like to apply LAUGHED as a parent can exist without children, but a child can not exist without a parent.

    You must set as optional parent and the child to be mandatory.

    Am I missing something, or are the Source option and checkboxes optional target mislabeled? Should be Manditory Source and target mandatory?

    There is a relationship and both ends of that relationship and you can set for each end whether it is optional or not. And who saw directly using ratings of Barker. Place of optionality source and target is to be exchanged on the diagram if you use the notation IE.
    I expected that a part of cardinality may be more confusing to you because at the end of the source define you the cardinality of the target, but it seems that you have no problem with that.

    Philippe

  • Run database query error; Help, please

    I had trouble getting this recording to publish on my DB, I have the same shape, put in place to modify an existing record, as well as the addition of a new record. I have 2 errors, can someone help me see what I'm doing wrong? I write the code that I have a problem with and two errors. I'm sorry, this is probably simple. But I looked at this code too long and miss me the problem.

    Code:
    < cfelseif ParameterExists (Form.btnEdit_OK) >

    < ParameterExists (Form.RecordID) cfif >
    < cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
    "< cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
    UPDATE SEEevents
    SET SEEevents.display =' #form.display #', SEEevents.title =' #form.title #', SEEevents.eventDate ='#eDate #', SEEevents.eventTime =' #form.eventTime #', SEEevents.location =' #form.location #', SEEevents.contact =' #form.contact #', SEEevents.phone =' #form.phone #', SEEevents.fax =' #form.fax #', SEEevents.email =' #form.email #', SEEevents.URL ='#form. URL #', SEEevents.sponsor =' #form.sponsor #', SEEevents.Body ='#form. "PDSeditor #
    WHERE RecordID = #form. RecordID #.
    < / cfquery >
    < cflocation url = "events_RecordView.cfm? RecordID = #Form.RecordID # ">"
    < cfelse >
    < cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
    "< cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
    INSERT INTO SEEevents (display, title, eventDate, eventTime, location, contact, telephone, fax, email, URL, sponsor, body)
    VALUES (' #form.display # "," #form.title # "," # #eDate # "," #form.eventTime # "," #form.location # "," #form.contact # "," #form.phone # "," #form.fax # "," #form.email # ', ' #form.) URL #', ' #form.sponsor # ', ' #form. PDSeditor #')
    < / cfquery >
    < cflocation url = "events_RecordView.cfm? RecordID = #GetNewRecord.ID_Field # ">"
    < / cfif >

    Here are the two errors:
    error when editing an existing record:

    Run database query error.
    [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Too few parameters. 1 expected.

    The error occurred in C:\websites\108392zj7\admin\events_RecordAction.cfm: line 70

    68: < cfif ParameterExists (Form.RecordID) >
    69: < cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
    "70: < cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
    71: UPDATE SEEevents
    72: SET SEEevents.display =' #form.display #', SEEevents.title =' #form.title #', SEEevents.eventDate ='#eDate #', SEEevents.eventTime =' #form.eventTime #', SEEevents.location =' #form.location #', SEEevents.contact =' #form.contact #', SEEevents.phone =' #form.phone #', SEEevents.fax =' #form.fax #', SEEevents.email =' #form.email #', SEEevents.URL ='#form. URL #', SEEevents.sponsor =' #form.sponsor #', SEEevents.Body ='#form. "PDSeditor #



    --------------------------------------------------------------------------------

    SQL UPDATE SEEevents SET SEEevents.display = '0', SEEevents.title = 'VIP dinner', SEEevents.eventDate='04/13/2007', SEEevents.eventTime =' 8:30 pm - 23:00 ', SEEevents.location = 'person Restaurant', SEEevents.contact = 'person', SEEevents.phone ='(000) 000.6262', SEEevents.fax = ", SEEevents.email ="[email protected]", SEEevents.URL =' http://www.person.com', SEEevents.sponsor =", SEEevents.Body =' < font size = "2" face = "Verdana, Arial, Helvetica, sans serif" > < strong > Notes: facilities > bookings must be confirmed with a great Cardinal < br > < strong credit > price : < Facilities > Advance: $125. per person (including drinks and tips) at the door: $150. per person, < i > Limited places available < /i > < / police > ' WHERE RecordID = 13
    DATASOURCE ETUCE
    VENDORERRORCODE-3010
    SQLSTATE 07002

    This is the error when publishing a new record:

    Run database query error.
    [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Type mismatch of data in the expression of the criteria.

    The error occurred in C:\websites\108392zj7\admin\events_RecordAction.cfm: line 78

    76: < cfelse >
    77: < cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
    "78: < cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
    79: INSERT IN SEEevents (display, title, eventDate, eventTime, location, contact, telephone, fax, email, URL, sponsor, body)
    80: VALUES ("#form.display #", "#form.title #", "# #eDate #", "#form.eventTime #", "#form.location #", "#form.contact #", "#form.phone #", "#form.fax #", "#form.email # ', ' #form.) URL #', ' #form.sponsor # ', ' #form. PDSeditor #')



    --------------------------------------------------------------------------------

    SQL INSERT INTO SEEevents (display, title, eventDate, eventTime, location, contact, telephone, fax, email, URL, sponsor, body) VALUES ('0 ', 'test', ' # #03/25/2007 ", 12:47 ', 'Home', 'CJD', '' 000-000-0000,", '[email protected]', 'www.saratogaexpo.com', ' ', ' ')
    DATASOURCE ETUCE
    VENDORERRORCODE-3030
    SQLSTATE 22018

    Can someone help me tweek this code? I see double at this stage. Thank you.

    Phoenix

    I thought about it. It's a java tag used by my editor throwing the error in the backup / update of the function.

    Thanks a lot for all the help everyone!
    If I can ever help anyone in any way, feel free to ask.

  • ORA-28528 errors or incomplete data when access an Informix Server

    We have configured a dblink to an Informix server. We use UnixODBC + Informix CSDK on a RHEL 4 x86_64.

    After running several queries, we saw 3 different situations:

    The result of the query is correct.

    B. the result is incomplete. The table can have 24 ranks, but the output indicates that 13. However, Oracle receives 24 ranks, as indicated at the end of the output.

    C. data type conversion error.

    SQL > select * from 'centros"@test_informix2;
    ERROR:
    ORA-28528: heterogeneous Services data type conversion error
    ORA-02063: preceding the line of TEST_INFORMIX2

    -----
    dg4odbc to exit when you make a selection with incomplete results as described in situation B
    -----
    Oracle Corporation - Tuesday 11 August 2009 16:12:02.321


    Heterogeneous Agent release
    11.1.0.6.0




    Oracle Corporation - Tuesday 11 August 2009 16:12:02.321

    Version 11.1.0.6.0

    Hgogprd entries
    HOSGIP to 'HS_FDS_TRACE_LEVEL' returned '4 '.
    Hgosdip entries
    default assignment of 50 HS_OPEN_CURSORS
    setting HS_FDS_RECOVERY_ACCOUNT or 'RECOVER '.
    HS_FDS_RECOVERY_PWD layout to the default
    layout HS_FDS_TRANSACTION_LOG or "HS_TRANSACTION_LOG".
    layout by default HS_FDS_TRANSACTION_ISOLATION of "READ_COMMITTED".
    layout by default «AL32UTF8» HS_NLS_NCHAR
    parameter HS_FDS_TIMESTAMP_AS_DATE if there is no 'TRUE '.
    layout HS_RPC_FETCH_REBLOCKING failure to 'ON '.
    HS_FDS_FETCH_ROWS layout without '100 '.
    parameter HS_FDS_RESULTSET_SUPPORT default 'FALSE '.
    parameter HS_FDS_PROC_IS_FUNC default 'FALSE '.
    parameter HS_FDS_CHARACTER_SEMANTICS default 'FALSE '.
    parameter HS_FDS_MAP_NCHAR if there is no 'TRUE '.
    setting HS_NLS_DATE_FORMAT or 'YYYY-MM-DD HH24:MI:SS ".
    parameter HS_FDS_REPORT_REAL_AS_DOUBLE default 'FALSE '.
    HS_LONG_PIECE_TRANSFER_SIZE layout without "65536".
    parameter HS_SQL_HANDLE_STMT_REUSE default 'FALSE '.
    parameter HS_FDS_QUERY_DRIVER if there is no 'TRUE '.
    parameter HS_FDS_SUPPORT_STATISTICS default 'FALSE '.
    HS_CALL_NAME_ISP layout "gtw$: SQLTables; GTW$: SQLColumns. GTW$: SQLPrimaryKeys. GTW$: SQLForeignKeys. GTW$: SQLProcedures. GTW$: SQ
    LStatistics ".
    Release of hgosdip, rc = 0
    ORACLE_SID is 'test_informix2 '.
    Product information:
    Port RLS / Upd:6 / 0 PrdStat:0
    Agent: Oracle Database Gateway for ODBC
    : Installation
    Class: ODBC, ClassVsn:11.1.0.6.0_0006, Instance: test_informix2
    Release of hgogprd, rc = 0
    Hgoinit entries
    HOCXU_COMP_CSET = 1
    HOCXU_DRV_CSET = 31
    HOCXU_DRV_NCHAR = 873
    HOCXU_DB_CSET = 31
    HOCXU_SEM_VER = 102000
    Entry hgolofn to 2009/08/11-16: 12:02
    HOSGIP to 'HS_FDS_SHAREABLE_NAME' returned ' / usr/local/lib/libodbc.so '.
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLAllocHandle
    symbol_peflctx = 0x9893c70d
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLBindCol
    symbol_peflctx = 0x9893c873
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLBindParameter
    symbol_peflctx = 0x9893d2e4
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLCancel
    symbol_peflctx = 0x9893ec84
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDescribeParam
    symbol_peflctx = 0x98949f10
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDisconnect
    symbol_peflctx = 0x9894a5c8
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLEndTran
    symbol_peflctx = 0x9894d4d4
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLExecute
    symbol_peflctx = 0x9894f17c
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFetch
    symbol_peflctx = 0x9894fd04
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFreeHandle
    symbol_peflctx = 0x98951fc9
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFreeStmt
    symbol_peflctx = 0x98951fec
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetData
    symbol_peflctx = 0x989541dc
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetEnvAttr
    symbol_peflctx = 0x98957fa8
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetFunctions
    symbol_peflctx = 0x989583c4
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLMoreResults
    symbol_peflctx = 0x9895ab28
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLNumResultCols
    symbol_peflctx = 0x9895bad8
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLParamData
    symbol_peflctx = 0x9895bedc
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPutData
    symbol_peflctx = 0x9895e908
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLRowCount
    symbol_peflctx = 0x9895ee78
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetEnvAttr
    symbol_peflctx = 0 x 98961458
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetDescRec
    symbol_peflctx = 0 x 98961230
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLColAttribute
    symbol_peflctx = 0x9893f4ec
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLColumns
    symbol_peflctx = 0x989416e4
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLConnect
    symbol_peflctx = 0 x 98947014
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDescribeCol
    symbol_peflctx = 0x989494f0
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDriverConnect
    symbol_peflctx = 0x9894b337
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLExecDirect
    symbol_peflctx = 0x9894e9e2
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLForeignKeys
    symbol_peflctx = 0x98950bdc
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetConnectAttr
    symbol_peflctx = 0x989524ab
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetDiagField
    symbol_peflctx = 0x989567f3
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetDiagRec
    symbol_peflctx = 0x989576e5
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetInfo
    symbol_peflctx = 0 x 98959083
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetStmtAttr
    symbol_peflctx = 0x989593e3
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetTypeInfo
    symbol_peflctx = 0x9895a548
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPrepare
    symbol_peflctx = 0x9895c9c6
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPrimaryKeys
    symbol_peflctx = 0x9895d13e
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLProcedureColumns
    symbol_peflctx = 0x9895d938
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLProcedures
    symbol_peflctx = 0x9895e19a
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetConnectAttr
    symbol_peflctx = 0x9895f1fc
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetStmtAttr
    symbol_peflctx = 0x989634a8
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetDescField
    symbol_peflctx = 0x98960e5a
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLStatistics
    symbol_peflctx = 0x98965ed6
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Entry hgolofns to 2009/08/11-16: 12:02
    LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLTables
    symbol_peflctx = 0 x 98967014
    hoaerr:0
    Exit hgolofns at 2009/08/11-16: 12:02
    Release of hgolofn, rc = 0 to 2009/08/11-16: 12:02
    HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.
    HOSGIP to 'HS_FDS_FETCH_ROWS' returned '100 '.
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".
    HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "
    Release of hgoinit, rc = 0 to 2009/08/11-16: 12:02
    Entry hgolgon to 2009/08/11-16: 12:02
    Reco:0, name: informix, tflag:0
    Entry hgosuec to 2009/08/11-16: 12:02
    Release of hgosuec, rc = 0 to 2009/08/11-16: 12:02
    HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.
    HOSGIP to 'HS_FDS_TRANSACTION_LOG' returns ""HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returns 'TRUE '.
    HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.
    HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.
    HOSGIP to 'HS_FDS_RESULT_SET_SUPPORT' returned 'FALSE '.
    HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.
    HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.
    using informix as a default value to "HS_FDS_DEFAULT_OWNER".
    HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.
    Entry hgocont to 2009/08/11-16: 12:02
    HS_FDS_CONNECT_INFO = "test_informix2".
    RC =-1 of HOSGIP for 'HS_FDS_CONNECT_STRING '.
    Entry hgogenconstr to 2009/08/11-16: 12:02
    DSN:test_informix2, name: informix
    OPTN:
    # > connection settings (len = 43) < #.
    # DSN = test_informix2;
    #! UID = informix;
    #! PWD = *.
    Release of hgogenconstr, rc = 0 to 2009/08/11-16: 12:02
    DriverName:iclis09b.so, DriverVer: 3.50.0000 3.50.U
    DBMS name: Informix, DBMS Version: 07.31.0000 UD5
    Release of hgocont, rc = 0 to 2009/08/11-16: 12:02
    SQLGetInfo Returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 18 for SQL_MAX_CATALOG_NAME_LEN
    Release of hgolgon, rc = 0 to 2009/08/11-16: 12:02
    Entry hgoulcp to 2009/08/11-16: 12:02
    Entry hgowlst to 2009/08/11-16: 12:02
    Release of hgowlst, rc = 0 to 2009/08/11-16: 12:02
    SQLGetInfo returns "for SQL_IDENTIFIER_QUOTE_CHAR.
    SQLGetInfo returns N for SQL_COLUMN_ALIAS
    Release of hgoulcp, rc = 0 to 2009/08/11-16: 12:02
    Entry hgouldt to 2009/08/11-16: 12:02
    Release of hgouldt, rc = 0 to 2009/08/11-16: 12:02
    Entry hgobegn to 2009/08/11-16: 12:02
    tflag:0, original: 1
    Hoi:0xbfffe688, ttid (len 21) is...
    00: 54534554 3135352E 36616133 2E332E37 [TEST.5513aa67.3.]
    10: 34 [3.564] 36352E33
    tbid (len 10) is...
    0: 00030003 00000234 0104... 4.....]
    Release of hgobegn, rc = 0 to 2009/08/11-16: 12:02
    Entry hgodtab to 2009/08/11-16: 12:02
    number: 1
    Table: officers
    Entry hgopcda to 2009/08/11-16: 12:02
    Column:1 (cod_agent): dtype:1 (CHAR), prc / scl:2 / 0, nullbl:0, byte: 2, sign: 1, radix: 0
    Release of hgopcda, rc = 0 to 2009/08/11-16: 12:02
    Entry hgopcda to 2009/08/11-16: 12:02
    Column:2 (desc_agent): dtype:12 (VARCHAR), prc / scl:50 / 0, nullbl:0, byte: 50, sign: 1, radix: 0
    Release of hgopcda, rc = 0 to 2009/08/11-16: 12:02
    The hoada for agents table follows...
    hgodtab, line 577: print hoada @ 0x6c0b90
    MAX: 2, ACTUAL: 2, BRC:1, WHT = 6
    DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
    CHAR N 2 2 1 0 0 0 0 0 cod_agent
    VARCHAR N 50 50 12 0 / 0 0 0 0 desc_agent
    Release of hgodtab, rc = 0 to 2009/08/11-16: 12:02
    Entry hgodafr, cursor IDs 0 to 2009/08/11-16: 12:02
    Release of hgodafr, rc = 0 to 2009/08/11-16: 12:02
    Entry hgotcis to 2009/08/11-16: 12:02
    SQLStatistics claims agents
    IndexType SQL_TABLE_STAT =: cardinality = 24
    New index: 353_1379, type = 3, ASCENDING, SINGLE, cardinality = 24
    ordinal position = 1
    Call to SQLColumns to informix.agentes
    Column 'cod_agent': dtype = 1, colsize = 2, decdig = 0, char_octet_length = 2, len line cumulative avg = 2
    Column 'desc_agent': dtype = 12, colsize = 50 decdig = 0, char_octet_length = 50, len line cumulative avg = 39
    Release of hgotcis, rc = 0 to 2009/08/11-16: 12:02
    Entry hgopars, id of cursor 1 to 2009/08/11-16: 12:02
    type: 0
    Text SQL hgopars, id = 1, len = 55...
    4553 00: 454 C 41205443 63222E31 615F646F [SELECT A1. [' cod_a]
    10: 746E6567 31412 6564222E C 22 615F6373 [gent", A1. [' desc_a]
    20: 746E6567 52462022 22204D4F 6E656761 [gent' FROM 'agen]
    30: 22736574 204131 [your"A1]
    Release of hgopars, rc = 0 to 2009/08/11-16: 12:02
    Entry hgoopen, id of cursor 1 to 2009/08/11-16: 12:02
    hgoopen, line 83: NO hoada to print
    Release of hgoopen, rc = 0 to 2009/08/11-16: 12:02
    Entry hgodscr, id of cursor 1 to 2009/08/11-16: 12:02
    Entry hgopcda to 2009/08/11-16: 12:02
    Column:1 (cod_agent): dtype:1 (CHAR), prc / scl:2 / 0, nullbl:0, byte: 2, sign: 1, radix: 0
    Release of hgopcda, rc = 0 to 2009/08/11-16: 12:02
    Entry hgopcda to 2009/08/11-16: 12:02
    Column:2 (desc_agent): dtype:12 (VARCHAR), prc / scl:50 / 0, nullbl:0, byte: 50, sign: 1, radix: 0
    Release of hgopcda, rc = 0 to 2009/08/11-16: 12:02
    hgodscr, line 506: print hoada @ 0x6c08f8
    MAX: 2, ACTUAL: 2, BRC:100, WHT = 5
    DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
    CHAR N 2 2 1 0 0 0 0 0 cod_agent
    VARCHAR N 50 50 12 0 / 0 0 0 0 desc_agent
    Release of hgodscr, rc = 0 to 2009/08/11-16: 12:02
    Entry hgoftch, id of cursor 1 to 2009/08/11-16: 12:02
    hgoftch, line 117: print hoada @ 0x6c08f8
    MAX: 2, ACTUAL: 2, BRC:100, WHT = 5
    DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
    CHAR N 2 2 1 0 0 0 0 0 cod_agent
    VARCHAR N 50 50 12 0 / 0 0 0 0 desc_agent
    SQLBindCol: column 1, cdatatype: 1, bflsz: 3
    SQLBindCol: column 2, cdatatype: 1, bflsz: 51
    SQLFetch: rank: 1, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 1, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 1, column 2, bflsz: 51, bflar: 16
    SQLFetch: rank: 1, column 2, bflsz: 51, bflar: 16
    SQLFetch: rank: 2, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 2, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 2, column 2, bflsz: 51, bflar: 26
    SQLFetch: rank: 2, column 2, bflsz: 51, bflar: 26
    SQLFetch: rank: 3, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 3, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 3, column 2, bflsz: 51, bflar: 33
    SQLFetch: rank: 3, column 2, bflsz: 51, bflar: 33
    SQLFetch: rank: 4, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 4, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 4, column 2, bflsz: 51, bflar: 35
    SQLFetch: rank: 4, column 2, bflsz: 51, bflar: 35
    SQLFetch: rank: 5, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 5, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 5, column 2, bflsz: 51, bflar: 6
    SQLFetch: rank: 5, column 2, bflsz: 51, bflar: 6
    SQLFetch: rank: 6, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 6, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 6, column 2, bflsz: 51, bflar: 5
    SQLFetch: rank: 6, column 2, bflsz: 51, bflar: 5
    SQLFetch: rank: 7, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 7, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 7, column 2, bflsz: 51, bflar: 27
    SQLFetch: rank: 7, column 2, bflsz: 51, bflar: 27
    SQLFetch: rank: 8, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 8, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 8, column 2, bflsz: 51, bflar: 26
    SQLFetch: rank: 8, column 2, bflsz: 51, bflar: 26
    SQLFetch: rank: 9, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 9, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 9, column 2, bflsz: 51, bflar: 34
    SQLFetch: rank: 9, column 2, bflsz: 51, bflar: 34
    SQLFetch: rank: 10, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 10, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 10, column 2, bflsz: 51, bflar: 32
    SQLFetch: rank: 10, column 2, bflsz: 51, bflar: 32
    SQLFetch: rank: 11, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 11, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 11, column 2, bflsz: 51, bflar: 31
    SQLFetch: rank: 11, column 2, bflsz: 51, bflar: 31
    SQLFetch: rank: 12, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 12, column 1, bflsz: 3, bflar: 2
    SQLFetch: rank: 12, column 2, bflsz: 51, bflar: 22
    SQLFetch: rank: 12, column 2, bflsz: 51, bflar: 22
    SQLFetch: rank: 13, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 13, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 13, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 13, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 14, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 14, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 14, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 14, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 15, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 15, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 15, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 15, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 16, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 16, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 16, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 16, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 17, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 17, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 17, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 17, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 18, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 18, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 18, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 18, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 19, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 19, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 19, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 19, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 20, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 20, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 20, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 20, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 21, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 21, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 21, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 21, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 22, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 22, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 22, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 22, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 23, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 23, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 23, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 23, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 24, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 24, column 1, bflsz: 3, bflar: 0
    SQLFetch: rank: 24, column 2, bflsz: 51, bflar: 0
    SQLFetch: rank: 24, column 2, bflsz: 51, bflar: 0
    24 lines read
    Release of hgoftch, rc = 0 to 2009/08/11-16: 12:02
    Entry hgoftch, id of cursor 1 to 2009/08/11-16: 12:02
    hgoftch, line 117: print hoada @ 0x6c08f8
    MAX: 2, ACTUAL: 2, BRC:24, WHT = 5
    DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
    CHAR N 2 2 1 0 0 0 0 0 cod_agent
    VARCHAR N 16 50 12 0 / 0 0 0 0 desc_agent
    0 rows read
    Release of hgoftch, rc = 1403 at 2009/08/11-16: 12:02
    Entry hgoclse, id of cursor 1 to 2009/08/11-16: 12:04
    Release of hgoclse, rc = 0 at 2009/08/11-16: 12:04
    Entry hgodafr, id of cursor 1 to 2009/08/11-16: 12:04
    Release of hgodafr, rc = 0 at 2009/08/11-16: 12:04
    Entry hgocomm at 2009/08/11-16: 12:04
    keepinfo:0, tflag:1
    00: 54534554 3135352E 36616133 2E332E37 [TEST.5513aa67.3.]
    10: 34 [3.564] 36352E33
    tbid (len 10) is...
    0: 00030003 00000234 0104... 4.....]
    CMT (0):
    Entry hgocpctx at 2009/08/11-16: 12:04
    Release of hgocpctx, rc = 0 at 2009/08/11-16: 12:04
    Release of hgocomm, rc = 0 at 2009/08/11-16: 12:04
    Entry hgolgof at 2009/08/11-16: 12:04
    tflag:1
    Release of hgolgof, rc = 0 at 2009/08/11-16: 12:04
    Entry hgoexit at 2009/08/11-16: 12:04
    Release of hgoexit, rc = 0 at 2009/08/11-16: 12:04

    Any idea or advice would be really appreciated!

    Thank you!

    The correction of this bug may be backported to any other releases/platforms (already done this before). Contact your support enginer and ask him to request a backport.

    BTW, the bug number is 6799360.

    Published by: kgronau on August 13, 2009 15:00

  • Uninstall software update Apple says error in seller contact package package unstaller

    Try to get itunes working to make a backup of my faulty iphone before repair.

    First-itunes does not start says error. I'm trying to fix it, who said success but same error when you try to start it.

    Then uninstall completely worked. Then reinstall that seemed to be over except for a message "an older version of Apple software update already exists" then he went down and install itunes apparently had not been completed.

    Then I try to remove the update from the apple software and executed by an error in the installation program - it says there is an error in the installation and contact the supplier of the installation package. Same error if I run the uninstall command line program.

    Try to repair the Apple Software Update of programs & features Control Panel and then try to update iTunes again.

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    The more information box has direct links with the current and recent if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit - for older video cards) as a workaround for problems with installation or operation, or compatibility with third-party software.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    TT2

  • SUMIF error

    I'm new to apple and get a syntax error when you use SUMIF.  In my table, I just need column F to test the value of column E.  If it is greater than 0, then divide by 20.  Thank you!

    In cell F1

    = E1/if(E1>0, 20, 1)

    fill down as needed

  • An error in this Applescript that I can't understand

    Hi, I searched some forums and found this script below which I modified. It works great except for a single statement:

    runScript If = 1 then number error -128 I want the script to do is, when a USB drive is mounted and is in the ignoredVolumes as "USB Untitled" I want the script to stop. What I can't understand is, runScript is set to 1, "Untitled USB" Monte, runScript is not changed, why don't the script stops with an error "user cancelled"? On the other hand, if a key USB Monte is not in the ignoredVolumes, runScript is set to 2 and copy the file I want it. What hurts? It's probably something that will be very obvious when I see the answer.

    Thanks for any help with this problem,

    Mike.



    property ignoredVolumes: {'10,10 30 1. 5 't', 'files 1. 5 't', "Untitled USB"} - add if necessary

    property videoExtensions: {"avi", "mov", "mpg", "wmv", "mp4" and "mkv"}

    the value newVolume to the alias (POSIX file "/ Volumes/files 1.") ("5T / new")

    the value oldVolume to the alias (POSIX file "/ Volumes/files 1.") ("5T / old")

    game runScript to 1

                   tell application "System events".

    the value rootVolumes to disk (POSIX file ' / Volumes ' in the text)

    the value allVolumes to name of every element of disc of rootVolumes

    the value numofallVolumes to the County of allVolumes

    Repeat with the present book in allVolumes

    say application 'Finder '.

    if (the present book is not in ignoredVolumes and (this book as text) is not '. ') DS_Store') then

    if there are alias (POSIX (' / Volumes / "& the present book) as text file ) then game runScript to 2

    runScript If = 1 then number error -128 - it does not give a 'User cancelled' error when "Untitled USB" is mounted

    runScript If = 2 then

                                                                            try

    duplicate (elements whose name is in the videoExtensions extension) in alias (POSIX file (' / Volumes / "& the present book &" / new ") as text) to newVolume

    on error number errorNumber errorMessage

    _error value of errorMessage

    _errorNum the value to errorNumber

    If errorNumber is -15267 then

    display the dialog box "This file already exists in folder a." buttons {"OK", "No"} default button 1 with the title "Film copy error?" giving upwards after 10

    If the returned button of result is 'No' then

    Error number-128

    on the other

    If the result is 'OK' or back button gave up lead and then of

    eject the present book

    display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5

    return

    end if

    end if

    end if

    end try

    Try

    duplicate (elements whose name is in the videoExtensions extension) in alias (POSIX file (' / Volumes / "& the present book &" / old ") as text) to oldVolume

    on error number errorNumber errorMessage

    _error value of errorMessage

    _errorNum the value to errorNumber

    If errorNumber is -15267 then

    display the dialog box "This file already exists in the folder B" buttons {"OK", "No"} default button 1 with the title "Film copy error?" giving upwards after 10

    If the returned button of result is 'No' then

    Error number-128

    on the other

    If the result is 'OK' or back button gave up lead and then of

    eject the present book

    display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5

    return

    end if

    end if

    end if

    end try

    display the dialog box "USB key will Auto Eject in 10 seconds or click OK... "buttons button 1 with the title"copy Complete - Eject? "default {'OK', 'No'} which gives after 10

    If the returned button of result is 'No' then

    Error number-128

    on the other

    If the button returned of result is "OK" or gave up a result then ejection of the this book

    display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5

    end if

    end if

    end if

    end say

    end Repeat

              end say

    The way in which your external block If is currently based, the script can't do anything when this book is in the ignoredVolumes, it can not yet test the runScript value. Try something like this:

    If the present book is in the ignoredVolumes then

    game runScript to 1

    on the other

    if (the present book as text is not '. ') DS_Store') then

    if there are alias (POSIX (' / Volumes / "& the present book) as text file ) then game runScript to 2

    end if

    end if


    Of course, you need to remove a "end if' the end of the script.



  • error message when try to sync the iPhone, "invalid response from the device?

    What can I do when I receive this error message when you try to sync to my iPhone 5 s - "invalid response from the device?

    -What are your 5 updating to 10.0.2 iOS iPhone? If this is the case, you must have the latest version of iTunes on your computer, which is required for Mac OS X 10.9.5 12.5.1, or above. To meet these specifications will be receiving this error.

  • Display Rotation error

    Hello

    I had a problem with the rotation of the screen under macOS Sierra function. As the screen rotates, there is an error that pop up and later that I'm unable to get into system-> Display Preferences. It is for me a "mistake preferably: County not load display preferences" message and I was unable to rotate the screen back. I started from the system in safe mode and temporarily solved the problem. But if I want to rotate the screen again, it pops up the same error again. I was using the rotation function pretty well in OS X El Capitan. But since I updated to macOS Sierra, I had this problem.

    I wanted to know if there is a lasting solution to this problem.

    I'm using macOS Sierra on MacBook (13-inch, early 2015) Air with processor 1.6 Ghz Intel Core i5 and 8 GB memory DDR3 at 1600 MHz with 128 GB of storage.

    Hello PavanGJ,

    Thank you for using communities Support from Apple. I see that since upgrading to Mac OS Sierra problems of screen rotation. The preferences window does not. I know how it is important for your Mac to work reliably. I'll be more than happy to help.

    Great job to test mode without failure. In Safe Mode disables most of the third-party services, it could be a compatibility problem with an application that you have. Check out this article:

    OS X El Capitan: If you have problems with startup items

    You can not hold account that the title suggests it's to El Capitan. It applies to macOS Sierra as well.

    You can also test the issue in a new user account.

    How to test a question in another account on your Mac - Apple Support

    Let us know if that helps.

    Take care!

  • A fact error 4014 showing each time after all the steps

    One of my friends has an iPhone 5 s and he lowered his 10 9.3.5 iOS iOS iPhone it started and inquired "side update" to the rest of the new software update points, but suddenly her iPhone off and does not turn, does not yet show the Apple Logo. I tried to restore it with the new version of the iOS 10.0.2, I file the software theipsw and then restoring the iPhone, iTunes showed me the message "waiting for iPhone" and ultimately showed me a message by this sentence "iPhone" his name' siphons ' could not be restored.» An unknown error occurred (4014).

    I checked the list of steps that Apple suggests their, but nothing happened then, always showing me the same error number. What should I do?

    Thank you for your help and appreciate it.

    I found the solution. Just type here for others with the same problem to solve their problems.

    While the "iTunes with cable" sign is showing and in your computer, showing you "Waiting for iPhone" and things occur, you should restart your iPhone (hold sleep/wake low and low home together for a few seconds) implemented after this attempt to restore your iPhone again you should recover your iPhone software.

    Thank you for your support and more.

  • Playgrounds are learning to code 1 download error

    I recently bought an iPad Mini 2 specifically so that I could use the app to playgrounds to learn about Swift.  Whenever I try to download the playing field 'Learn to Code 1 - basics of the swift' I get an error that says: "not taken download error supported URL.  I uninstalled and reinstalled the soft playgrounds several times.  Other playgrounds (as 'learning to Code 2 - beyond the basics') download very well.  How can I bypass or fix this error and get the first playground of lesson?

    Finally, the playing field is downloaded successfully!

  • Error Java Run After downloading the new Sierra

    Java is up to date and I get this error message. A couple of times, I have "updated" restarted. Still happens.

    Hi cjshrad,

    Thank you for contributing to the communities of Apple Support. I see in your message you receive a Java error after upgrade to Sierra on your Mac. I'd be happy to help with this!

    First of all, try to install the Java for OS X package found here:

    Download Java for OS X 2015-001

    The next step, if you still see this error, I recommend that you completely uninstall Java from your Mac by following the steps listed here:

    How to uninstall Java on my Mac?

    Once you're done, use this link to download and install the latest version of Java for your Mac:
    Download Java for your Mac - Apple Support

    Take care!

  • "error recovery main area".

    Hello

    I can not access my old video files of my 6 16 GB iPhone, I'm using iOS 10.  When I try to open the videos that I always meet the message 'area main-fetching error' I can't specify when this problem started, but I'm sure it was good when I was with iOS 9.3.3 However, recently filmed videos works perfectly.

    Same thing here. I bought the new iphone and took the backup from your old phone, but the videos do not work.

Maybe you are looking for

  • Internal memory

    Is there a way to save internal memory on my iPod Touch? According to Apple's site, they claim iOS 10 built-in apps use more than 200 MB. Is this true?

  • K

    How can I remove the links I saved in Safari on my iPad 2?

  • Satellite A210-183 - does not read blank disc

    I am trying to burn a CD or DVD and the DVD drive doesn't read any blank CD/DVDs, I insert!Nero and the Toshiba disc creator toinsert tell me a disk empty although there is already a. Help, please!

  • problem in IviScope - Acq Wfm Edge Triggered.vi example

    I have LabView 11.0, MAX 5.3 and installing HP54645 IVI driver. I create and configure a logical name in the category of the IVI Drivers able & Automation Explorer (MAX). I try to run the IviScope - Acq Wfm Edge Triggered.vi example (after choosing t

  • Impossible to import the mp3 for Windows Movie Maker

    Original title: Hi, I use windows Director and he won't let me import an mp3 file.  Windows media player, it plays very well.  any ideas? [name of file] .mp3 could not be imported.  as indicated in the file opens fine in media player.  the mp3 was pu