Trouble Setting Up DML Handler for Journaling

Hi Pat,
I am trying to setup a simple DML handler for journaling of a table and cannot get it to work. Configuration is as follows:
Source table
Target table - updated via basic replication setup, this works fine.
Target table journal - This table looks just like the original with additional columns for meta data about the transaction (i.e. trans_time, trans_type, trans_id..etc). Note: Did not use nested table technology.
The problem is in compiling the user procedure for the DML handler we get an error on the INSERT part of the code:
PL/SQL: ORA-00932: inconsistent datatypes: expected NUMBER got -
The code is listed below and the error points to the usage of the lcr.GET_VALUE package regardless of the column.
Can you tell me if this is a correct usage of that package/procedure? Can you provide any better examples of DML handlers,preferbly for journaling? I understand from another thread you may have a new set of doc coming out. Maybe that can help me?
I have a WORD doc w/pics that can better articulate the situation if it will help. Any direction is truely appreciated.
Best Regards,
Tom
P.S. Is Oracle consulting spun up on this technology? We are not adverse to having profesional help to reduce our spinup time.
CREATE OR REPLACE PROCEDURE contact_point_journal_dml(in_any IN SYS.ANYDATA)
IS
lcr SYS.LCR$_ROW_RECORD;
rc PLS_INTEGER;
BEGIN
-- Access the LCR
rc := in_any.GETOBJECT(lcr);
-- Insert information in the LCR into the contact_point_journal table
INSERT INTO strmuser.contact_point_journal
VALUES
(lcr.GET_VALUE('NEW', 'CONTACT_POINT_ID'),
lcr.GET_VALUE('NEW', 'EFFECTIVE_DT'),
lcr.GET_VALUE('NEW', 'VERSION'),
lcr.GET_VALUE('NEW', 'CREATED_BY'),
lcr.GET_VALUE('NEW', 'CREATED_TS'),
lcr.GET_VALUE('NEW', 'CONTACT_CODE_ID'),
lcr.GET_VALUE('NEW', 'ADDRESS1'),
lcr.GET_VALUE('NEW', 'ADDRESS2'),
lcr.GET_VALUE('NEW', 'ADDRESS3'),
lcr.GET_VALUE('NEW', 'ADDRESS4'),
lcr.GET_VALUE('NEW', 'CITY'),
lcr.GET_VALUE('NEW', 'COUNTY'),
lcr.GET_VALUE('NEW', 'STATE_PROVINCE_CODE_ID'),
lcr.GET_VALUE('NEW', 'POSTAL_CODE'),
lcr.GET_VALUE('NEW', 'COUNTRY_CODE_ID'),
lcr.GET_VALUE('NEW', 'GEO_CODE'),
lcr.GET_VALUE('NEW', 'OTHER_CONTACT_POINT_VALUE'),
lcr.GET_VALUE('NEW', 'EXPIRATION_DT'),
lcr.GET_VALUE('NEW', 'LAST_MODIFIED_BY'),
lcr.GET_VALUE('NEW', 'LAST_MODIFIED_TS'),
SYSDATE,
lcr.GET_COMMAND_TYPE(),
lcr.GET_TRANSACTION_ID(),
lcr.GET_SCN(),
lcr.GET_SOURCE_DATABASE_NAME(),
lcr.GET_OBJECT_OWNER(),
lcr.GET_OBJECT_NAME(),
'1',
'A'
-- Apply row LCR
-- Command type code may be '03' instead of 'insert' ???
-- Is the syntax correct for SET statement ???
lcr.SET_COMMAND_TYPE('INSERT');
lcr.EXECUTE(true);
END;

Hi Tom,
The GET_VALUE method of an LCR$ROW_RECORD returns a SYS.ANYDATA type.
You need to specify one of the static access functions to get the value of the correct type.
Here is your dml_handler with the modifications:
CREATE OR REPLACE PROCEDURE contact_point_journal_dml(in_any IN SYS.ANYDATA)
IS
lcr SYS.LCR$_ROW_RECORD;
rc PLS_INTEGER;
BEGIN
-- Access the LCR
rc := in_any.GETOBJECT(lcr);
-- Insert information in the LCR into the contact_point_journal table
INSERT INTO strmuser.contact_point_journal
VALUES
(lcr.GET_VALUE('NEW', 'CONTACT_POINT_ID').AccessNumber(),
lcr.GET_VALUE('NEW', 'EFFECTIVE_DT').AccessDate(),
lcr.GET_VALUE('NEW', 'VERSION').AccessNumber(),
lcr.GET_VALUE('NEW', 'CREATED_BY').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'CREATED_TS').AccessTimestamp(),
lcr.GET_VALUE('NEW', 'CONTACT_CODE_ID').AccessNumber(),
lcr.GET_VALUE('NEW', 'ADDRESS1').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'ADDRESS2').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'ADDRESS3').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'ADDRESS4').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'CITY').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'COUNTY').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'STATE_PROVINCE_CODE_ID').AccessNumber(),
lcr.GET_VALUE('NEW', 'POSTAL_CODE').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'COUNTRY_CODE_ID').AccessNumber(),
lcr.GET_VALUE('NEW', 'GEO_CODE').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'OTHER_CONTACT_POINT_VALUE').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'EXPIRATION_DT').AccessDate(),
lcr.GET_VALUE('NEW', 'LAST_MODIFIED_BY').AccessVarchar2(),
lcr.GET_VALUE('NEW', 'LAST_MODIFIED_TS').AccessTimestamp(),
SYSDATE,
lcr.GET_COMMAND_TYPE(),
lcr.GET_TRANSACTION_ID(),
lcr.GET_SCN(),
lcr.GET_SOURCE_DATABASE_NAME(),
lcr.GET_OBJECT_OWNER(),
lcr.GET_OBJECT_NAME(),
'1',
'A'
-- Apply row LCR, too
lcr.EXECUTE(true);
END;

Similar Messages

  • Hi having trouble setting my airport extreme for guests?

    hi having trouble setting my airport extreme for guests?

    This is likely because you have the AirPort Extreme connected to a modem/router, or gateway device.....and not a simple modem. Can you provide the make and model number of your "modem", as we previously asked?

  • Having trouble setting my airport extreme for guests

    hi having trouble setting my airport extreme for guests?

    Please see your other post on exactly the same subject.

  • Ask about DML Handler for Streams at the Schema level ?

    Hi all !
    I use Oracle version 10.2.0.
    I have two DB is A (at machine A, and it used as source database) and B (at machine B - destination database). Some changes from A will apply to B.
    At B, I installed oracle client to use EMC (Enterprise Manager Console) tool to generate some script, and use them to configure Streams environment, I configured Streams at the Schema level (DML and DDL) => I successed ! But I have two problems is:
    + I write a DML Handler, called "emp_dml_handler" and want set it to EMP table only. So, I must DBMS_STREAMS_ADM.ADD_TABLE_RULES ? (I configured: DBMS_STREAMS_ADM.ADD_SCHEMA_RULES) such as:
    BEGIN
    DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
    schema_name => '"HOSE"',
    streams_type => 'APPLY',
    streams_name => 'STRMADMIN_BOSCHOSE_REGRES',
    queue_name => 'apply_dest_hose',
    include_dml => true,
    include_ddl => true,
    source_database => 'DEVELOP.REGRESS.RDBMS.DEV.US.ORACLE.COM');
    END;
    and after:
    DECLARE
    emp_rule_name_dml VARCHAR2(50);
    emp_rule_name_ddl VARCHAR2(50);
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_RULES(
    table_name => 'HOSE.EMP,
    streams_type => 'APPLY',
    streams_name => 'STRMADMIN_BOSCHOSE_REGRES',
    queue_name => 'apply_dest_hose',
    include_dml => true,
    include_ddl => true,
    source_database => 'DEVELOP.REGRESS.RDBMS.DEV.US.ORACLE.COM',
    dml_rule_name => emp_rule_name_dml,
    ddl_rule_name => emp_rule_name_ddl);
    DBMS_APPLY_ADM.SET_ENQUEUE_DESTINATION(
    rule_name => emp_rule_name_dml,
    destination_queue_name => 'apply_dest_hose');
    END;
    BEGIN
    DBMS_APPLY_ADM.SET_DML_HANDLER(
    object_name => 'HOSE.EMP',
    object_type => 'TABLE',
    operation_name => 'UPDATE',
    error_handler => false,
    user_procedure => 'strmadmin.emp_dml_handler',
    apply_database_link => NULL,
    apply_name => NULL);
    END;
    ... similar for INSERT and DELETE...
    I think that I only configure streams at the schema level and exclude EMP table, am i right ?
    + At the source, EMP table have a primary key. And I configured:
    ALTER TABLE HOSE.EMP ADD SUPPLEMENTAL LOG DATA (PRIMARY KEY) COLUMNS;
    ==> So, at the destination, have some works that I must configure the substitute key for EMP table ?
    Have some ideas for my problems ?
    Thanks
    Edited by: changemylife on Sep 24, 2009 10:45 PM

    If you want to discard emp from schema rule, then just add a negative rule, either on capture or apply.
    What is the purpose of :
    DBMS_APPLY_ADM.SET_ENQUEUE_DESTINATION(
    rule_name => emp_rule_name_dml,
    destination_queue_name => 'apply_dest_hose');sound like you are enqueunig into 'apply_dest_hose' all the rows for this table that comes from ... 'apply_dest_hose'
    Next you declare a DML_HANDLER that is attached to nobody :
    BEGIN
    DBMS_APPLY_ADM.SET_DML_HANDLER(
    object_name => 'HOSE.EMP',
    object_type => 'TABLE',
    operation_name => 'UPDATE',
    error_handler => false,
    user_procedure => 'strmadmin.emp_dml_handler',
    apply_database_link => NULL,
    apply_name => NULL);           <----- nobody rules the world!
    END;the sequence of evaluation is normally :
    APPLY_PROCESS (reader)
              |
              | -->  RULE SET
                          |
                          | --> RULE .....
                          | --> RULE
                                     |
                                     | --> evaluate OK then --> exist DML_HANDLER  --> YES --> call DML_HANDLER --> on LCR.execute call coordinator
                                                                                            |
                                                                                            | NO
                                                                                            |                                                                 
                                                                                       Implicit apply (give LCR to coordinator which dispatch to one apply server)    
                                                      Since your dml_handler is attached to null apply process it will never be called by anybody and your LCR for table emp will be implicit applied by its apply process.

  • DML Handler for update - need help

    Hi,
    I am trying a simple DML handler to INSERT all the column values in a target table (CHANNELS_DML)..which are sourced from an updated table (CHANNEL). Both of these tables are in the same database.
    Here is the procedure I'm using for this purpose..
    +++++++++++++++++
    CREATE OR REPLACE PROCEDURE chn_dml_handler(in_any IN ANYDATA) IS
    lcr SYS.LCR$_ROW_RECORD;
    rc PLS_INTEGER;
    command VARCHAR2(30);
    old_values SYS.LCR$_ROW_LIST;
    old_pk_val sys.anydata;
    new_values SYS.LCR$_ROW_LIST := NULL;
    BEGIN
    rc := in_any.GETOBJECT(lcr);
    command := lcr.GET_COMMAND_TYPE;
    old_values := lcr.GET_VALUES('old');
    new_values := lcr.GET_VALUES('new');
    IF command = 'UPDATE' THEN
    old_values := lcr.GET_VALUES('old','y');
    lcr.SET_VALUES('new', old_values);
    lcr.ADD_COLUMN('new', 'TIMESTAMP', ANYDATA.ConvertDate(SYSDATE));
    lcr.ADD_COLUMN('new', 'OPERATION', ANYDATA.Convertvarchar2('UPDATE'));
    lcr.SET_COMMAND_TYPE('INSERT');
    lcr.SET_OBJECT_NAME('CHANNELS_DML');
    ELSIF command = 'DELETE' THEN
    lcr.SET_COMMAND_TYPE('INSERT');
    lcr.SET_OBJECT_NAME('CHANNELS_DML');
    lcr.SET_VALUES('new', old_values);
    lcr.SET_VALUES('old', NULL);
    lcr.ADD_COLUMN('new', 'TIMESTAMP', ANYDATA.ConvertDate(SYSDATE));
    lcr.ADD_COLUMN('new', 'OPERATION', ANYDATA.Convertvarchar2('DELETE'));
    ELSE
    lcr.SET_COMMAND_TYPE('INSERT');
    lcr.SET_OBJECT_NAME('CHANNELS_DML');
    lcr.ADD_COLUMN('new', 'TIMESTAMP', ANYDATA.ConvertDate(SYSDATE));
    lcr.ADD_COLUMN('new', 'OPERATION', ANYDATA.Convertvarchar2('INSERT'));
    END IF;
    lcr.EXECUTE(true);
    END;
    ++++++++++++++++++++
    INSERT, DELETE are working fine. However, when it comes to UPDATE I encounter "ORA-23605: invalid value "" for STREAMS parameter command_type".
    Would appreciate, if you can point me to any missed steps!
    Both source, target tables have the pk and supplemental logging is enabled for all the source tbl columns. (BTW, is it mandatory to enable supplemental logging ?)
    Thanks,
    Sharas

    You need to put this statement into IF 'UPDATE'
    lcr.SET_VALUES('old', NULL);
    old values in case of INSERT should be NULL.
    You may want to use case instead of IF ELSEIF...
    You might also have problems with LOBS... LOBs are not covered by this code.

  • Having trouble setting up home network for home sharing

    Hi there, I'm new the idea of home sharing. What i want to do is watch the movies that i have on my iMac on my iPad. So sort of like wireless streaming.
    I see that Home sharing on iTunes allows you to view videos stored on your iMac on another device like the iPad etc.
    I've already setup Home sharing accounts and looged in on iTunes on both my iMac and iPad.
    The problem is being on the same Wi-Fi network. I don't understand what this means.
    I regualrly use Internet sharing to share my Macs internet connection with my iPad over WiFi.
    But I'm not sure what setting I should use for home sharing to work to watch videos from iMac on iPad
    On my iMac under Sharing there's a whole bunch of options DVD or CD sharing, File Sharing, Printer Sharing etc.
    The only box i have checked is Internet Sharing..
    What to i have to do to get the iMac and iPad sharing video over WiFi through home sharing??

    In your configuration you have inadvertently created a different subnet for the wireless iMac G5. To remedy this, configure the AirPort Express so that the option to distribute IP addresses is DISABLED.

  • Doubt on user procedure used in dml handler?

    I am calling a user procedure in dml handler of apply process.I dont want my apply to apply changes.Instead i want to insert in a table <history_row_lcrs> the values which are captured by captured process.
    history_row_lcrs table has columns (date_t date, deptno number,dname varchar2(10), loc varcha2(10))
    deptno,dname,loc are the values captured as streams on dept table.
    I want to know the syntax to extract these values from LCR.(that is,to accomodate in the insert statement where i have written<what?>)
    CREATE OR REPLACE PROCEDURE history_dml(in_any IN SYS.ANYDATA)
    IS
    lcr SYS.LCR$_ROW_RECORD;
    rc PLS_INTEGER;
    BEGIN
    -- Access the LCR
    rc := in_any.GETOBJECT(lcr);
    -- Insert information in the LCR into the history_row_lcrs table
    INSERT INTO strmadmin.history_row_lcrs VALUES
    (SYSDATE,<what??>,<what?>,<what?>); --------
    -- Apply row LCR
    lcr.EXECUTE(false);
    END;
    /

    Once a DML handler for an object is called by APPLY, the user procedure has complete control of what to do with the LCR.
    In your case, use the example provided in the streams documentation on how to view the contents of an LCR and use that in your INSERT statement. See the partial code snippet below:
    Finally, you need to remove lcr.execute(FALSE) to prevent apply from applying the change.
    CREATE OR REPLACE PROCEDURE print_any(data IN ANYDATA) IS
    tn VARCHAR2(61);
    str VARCHAR2(4000);
    chr VARCHAR2(1000);
    num NUMBER;
    dat DATE;
    rw RAW(4000);
    res NUMBER;
    BEGIN
    IF data IS NULL THEN
    DBMS_OUTPUT.PUT_LINE('NULL value');
    RETURN;
    END IF;
    tn := data.GETTYPENAME();
    IF tn = 'SYS.VARCHAR2' THEN
    res := data.GETVARCHAR2(str);
    ELSIF tn = 'SYS.CHAR' then
    res := data.GETCHAR(chr);
    ELSIF tn = 'SYS.VARCHAR' THEN
    res := data.GETVARCHAR(chr);
    ELSIF tn = 'SYS.NUMBER' THEN
    res := data.GETNUMBER(num);
    ELSIF tn = 'SYS.DATE' THEN
    res := data.GETDATE(dat);
    END IF;
    END print_any;
    CREATE OR REPLACE PROCEDURE history_dml(in_any IN SYS.ANYDATA)
    IS
    lcr SYS.LCR$_ROW_RECORD;
    old_val SYS.LCR$_ROW_RECORD;
    new_val SYS.LCR$_ROW_RECORD;
    sql_text varchar2(4000) := 'insert into history_dml values (sysdate, ';
    rc PLS_INTEGER;
    BEGIN
    -- Access the LCR
    rc := in_any.GETOBJECT(lcr);
    if lcr.get_command_type()='INSERT' then
    -- Insert will only have new values, Update will have both old and new values and
    -- Delete will only have old values.
    new_val := lcr.get_values('NEW');
    FOR i IN 1..new_val.COUNT LOOP
    IF new_val(i) IS NOT NULL THEN
    -- Make sure you put any quotes and commas here.
    -- You can also create separate variables for the columns in the insert and
    -- assign their values using print_any
    sql_text := sql_text || print_any(oldlist(i).data);
    END IF;
    END LOOP;
    execute immediate sql_text;
    EXCEPTION
    <handle any errors here>
    END;

  • DML handler in streams.

    IS there any way to get the users information in a dml handler of streams?
    I want in my log table, the information about the user also who had performed the DML in an stream environment.
    My approach for DML handler is just like ...
    ----Log table
    CREATE TABLE strmadmin.history_row_lcrs(
    timestamp DATE,
    source_database_name VARCHAR2(128),
    command_type VARCHAR2(30),
    object_owner VARCHAR2(32),
    object_name VARCHAR2(32),
    tag RAW(10),
    transaction_id VARCHAR2(10),
    scn NUMBER,
    commit_scn NUMBER,
    old_values SYS.LCR$_ROW_LIST,
    new_values SYS.LCR$_ROW_LIST)
    NESTED TABLE old_values STORE AS old_values_ntab
    NESTED TABLE new_values STORE AS new_values_ntab;
    ---procedure for inserting value/user defined DML handler...
    CREATE OR REPLACE PROCEDURE history_dml(in_any IN ANYDATA)
    IS
    lcr SYS.LCR$_ROW_RECORD;
    rc PLS_INTEGER;
    BEGIN
    -- Access the LCR
    rc := in_any.GETOBJECT(lcr);
    -- Insert information about the LCR into the history_row_lcrs table
    INSERT INTO strmadmin.history_row_lcrs VALUES
    (SYSDATE, lcr.GET_SOURCE_DATABASE_NAME(), lcr.GET_COMMAND_TYPE(),
    lcr.GET_OBJECT_OWNER(), lcr.GET_OBJECT_NAME(), lcr.GET_TAG(),
    lcr.GET_TRANSACTION_ID(), lcr.GET_SCN(), lcr.GET_COMMIT_SCN,
    lcr.GET_VALUES('old'), lcr.GET_VALUES('new', 'n'));
    -- Apply row LCR
    lcr.EXECUTE(true);
    END;
    Thanks
    Kapil

    Hi Damorgan,
    I will try this in my stream environment, but i am little doubtfull that this will work. the reason why i am saying this is if i will right this in my user_proc which is a dml handler for my stream environment, then these statement will run on the DB where i have "apply process" and i am not sure what user id or seession id these statements will give in that case..any way thankyou for your attention on a post about streams. i will post the result soon.
    Kapil

  • Exception Handling for OPEN DATA SET and CLOSE DATA SET

    Hi ppl,
    Can you please let me know what are the exceptions that can be handled for open, read, transfer and close data set ?
    Many Thanks.

    HI,
    try this way....
      DO.
        TRY.
        READ DATASET filename INTO datatab.
          CATCH cx_sy_conversion_codepage cx_sy_codepage_converter_init
                cx_sy_file_authority cx_sy_file_io cx_sy_file_open .
        ENDTRY.
    READ DATASET filename INTO datatab.
    End of changes CHRK941728
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          APPEND datatab.
        ENDIF.
      ENDDO.

  • How to find out the set handler for a particular signal?

    I have an interesting puzzle to solve. l'm investigating problems with someone else's code and I'd like to get the name of the handler that is set for SEGV. psig shows that the process catches SEGV, however I don't have access to the source code for all the libraries it links against and none of the source code I have sets a handler for SEGV. Is there a way to find out the name of the signal handler that is set for a particular signal in a process? I'm sure the source was compiled with cc -g. Solaris 8

    Hello Haritha,
    Please follow the path.
    Go to RSA1 -> Metadata Repository ->DataStore Objects(ODS) -> Find you DSO(ODS) there and click on that, you will get all the details(Queries, Objects - Char, Key figures, update rules,etc..) related to that particular DSO(ODS), same is the case for Cube as well.
    Please assign points.

  • SQL*Loader-282: Unable to locate character set handle for character set ID

    How do I fix this error that i'm getting when running SQL Loader and connecting to an Oracle 10g database. I'm on 10g client.
    SQL*Loader-282: Unable to locate character set handle for character set ID (46).
    Here's the NLS parameter settings in database: select * from v$nls_parameters
    PARAMETER     VALUE
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_CHARACTERSET     WE8ISO8859P15
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     CHAR
    NLS_NCHAR_CONV_EXCP     TRUE
    Message was edited by:
    evo

    Yep that's it, thanks, I found out about V$NLS_PARAMETERS:
    SQL> select * from v$nls_parameters;
    PARAMETER                  VALUE
    NLS_LANGUAGE               AMERICAN
    NLS_TERRITORY              AMERICA
    NLS_CURRENCY               $
    NLS_ISO_CURRENCY           AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CALENDAR               GREGORIAN
    NLS_DATE_FORMAT            DD-MON-RR
    NLS_DATE_LANGUAGE          AMERICAN
    NLS_CHARACTERSET           WE8ISO8859P1
    NLS_SORT                   BINARY
    NLS_TIME_FORMAT            HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT       DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT         HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT    DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY          $
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_COMP                   BINARY
    NLS_LENGTH_SEMANTICS       BYTE
    NLS_NCHAR_CONV_EXCP        FALSEGiven that 9i is not available for Solaris x86,
    how do I change NLS_NCHAR_CHARACTERSET to something that
    will work, like UTF-8?
    Thanks
    Ed

  • HT201250 I am having trouble setting up my time capsule.  the amber light is flashing.  i have a Verizon FIOS network that i use for the internet (WiFi) and do not want to configure the Time Capsule to do that function.  I just want the Time Capsule to ba

    I am having trouble setting up my time capsule.  the amber light is flashing.  i have a Verizon FIOS network that i use for the internet (WiFi) and do not want to configure the Time Capsule to do that function.  I just want the Time Capsule to back up.

    Simple.. bridge the TC.. in the apple utility in the NAT and DHCP area.
    Plug it into the FIOS router.. you can turn off wireless in the TC if you want.. or use it.. it can work faster if you are nearby and can select 5ghz.. but up to you.

  • I have trouble setting the trash mailbox behavior. I have set it to delete every month but it has been keeping the trash mails for only about 10 days. Please help.

    I have trouble setting the trash mailbox behavior. I have had it set to delete the messages once a month. But lately it has been deleting my messages every 10 days. I have tried choosing different options to set the trash mailbox behavior but has not been successful. Is there anything I can do? Please help.

    Thanks for that advice @randers4.
    I linked through and submitted my info as a "topic not covered" in the iCloud section. After entering the serial number of my MBP it turns out I wasn't eligible for technical support (though I don't think this is hardware related support) and the final suggestion was to take my computer into an Apple store. I called my local Apple reseller and asked for assistance. The customer service rep was very nice but unable to help, so suggested I call Apple Support on 1300 321 456. I did so and, again, spoke to two very polite and helpful customer service people (I was transferred to security services). I didn't have to be on hold to speak to either rep for more than a few seconds! After trying a few different things, he worked out what was happening...
    So, to cut a long story short, to solve the problem in my OP, all I had to do was log out of iCloud in my System Preferences and log back in using my current Apple ID. [Edited to add that I had to sign out of everything I was currently signed in to with my Apple ID before logging out and in again.]
    Problem solved!
    Message was edited by: NotBaconBits

  • I am having trouble setting up my Yahoo! e-mail account on my phone...it asks for my Password and I type it in correctly and, carefully, but I get an error window, "MF Message Error Domain error 1032" -what does thi smean and how can I get around it?

    I am having trouble setting up my Yahoo! e-mail account on my phone...it asks for my Password and I type it in carefully and correctly, but I get an error window, "MF Message Error Domain error 1032" -what does this mean and how can I get around it? My password is long and convoluted, but it works when I type it in on my main Mac workstation, just fine.....what gives?

    try restarting the phone and try again

  • Sqlldr v11 Unable to locate character set handle for character set ID

    Good day,
    Having recently migrated to a 11g oracle database(11.2.0.1.0) from 9i on a test server, running SQL loader gives/throws the above error.
    I've seen a few posts about this but with pretty vague explanations, below is what my bash profile looks like though and i compared NLS_PARAMETERS to another server that already has version 11 running.
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
            . ~/.bashrc
    fi
    # User specific environment and startup programs
    export ORACLE_SID=mtctst
    export ORA_NLS10=$ORACLE_HOME/nls/data
    export ORACLE_BASE=/oracle/app/product
    export ORACLE_HOME=/oracle/client/11.2.0/dbhome_1
    #export ORACLE_HOME=/oracle/client/9.2.0
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib/X11; export LD_LIBRARY_PATH
    PATH=$ORACLE_HOME/bin:$HOME/bin:/bin:/usr/bin:/usr/local/bin:/bin/X11;
    export PATH
    #export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    #LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$LD_LIBRARY_PATH
    #LD_LIBRARY_PATH_64=$ORACLE_HOME/lib
    #export LD_LIBRARY_PATH
    #export LD_LIBRARY_PATH_64
    #PATH=$ORACLE_HOME/bin:$HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11; export PATH
    #PATH=$PATH:$HOME/bin
    #export PATH
    umask 002
    unset USERNAMEYour assistance will be appreciated.
    Regards,

    The complete command as follows:
    sqlldr userid=user/password@alias control=myctlfile.ctl log=$logfile discard=$CUR_DIR$oldfilename.discard bad=$CUR_DIR$oldfilename.bad silent=feedback errors=10000000I'm running the command on the database server that gives the following error with log entries:
    File found: gsmoly2012080612005072206
    SQL*Loader: Release 11.2.0.1.0 - Production on Mon Aug 6 16:36:09 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    SQL*Loader-282: Unable to locate character set handle for character set ID (178).
    after main file sqlldr before test if sqlldr was successfull: gsmoly2012080612005072206
    in mystring_risk before assign can_continue = blank: PBXOG,,26492092,,,120806,115829,120806 115829,22,,811274127,,,,,,0,,,WORK/gsm/data/gsmoly2012080612005072206,9833407,OLY.GSM  ,
    SQL*Loader: Release 11.2.0.1.0 - Production on Mon Aug 6 16:36:18 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    SQL*Loader-282: Unable to locate character set handle for character set ID (178).
    value of can_continue after sqlldr of risk file: F

Maybe you are looking for