Select in read only transaction mode / insert in write mode

hello,
i have a following question: i have 2 db, one is rdb and one oracle
im extracting data out of table out of rdb and inserting them into oracle via OWB;
however this is run in read-write mode and causes locks in rdb; the only way to prevent locks is to run a select statement that accesses rdb in 'read only' transaction mode;
my question is: is this possible to split up the select and insert statements of oracle into 2 different transaction modes, so that select statement is run in 'read-only' mode and insert in 'write' mode?
i appreicate tips on how this could be achieved
thx
rgds

Hello,
is this something like:
insert into oracle_table (select * from rdb_table@rdb_link);
Then it is easy, you just need to use an sql init file for your OCI Service. Create a file, e.g. sql_init.ini that contains this line:
declare transaction read only;
Then alter your service so that it sees the sql init file, e.g.:
SQLSRV> alter service <your OCI service> sql_init_file sql_init.ini
The service owner must have the privileges to read the file. You need to restart the OCI service.
Then a statement of the above kind results in a read only transaction on Rdb side, and the insert on Oracle side is done.
I hope your SQL/Services version is a recent one (actual version is 7.3.1), because of this (from the SQL/Services Release Notes 7.2.0.1):
5.4.25 Declare Transaction in SQL Init File Being Overridden
In releases of OCI Services for Oracle Rdb prior to 7.2.0.1, if a DECLARE
TRANSACTION statement was executed in the SQL initialization file of a service, it would
be overridden by a DECLARE TRANSACTION statement executed later by OCI Services
for Oracle Rdb. Toward the end of the connection setup, OCI Services for Oracle Rdb would
execute a DECLARE TRANSACTION statement to set the default transaction
characteristics to be close to Oracle default transaction characteristics. This would supersede
any DECLARE TRANSACTION statement in the SQL initialization file. Starting with
release 7.2.0.1, OCI Services for Oracle Rdb recognizes that a DECLARE TRANSACTION
statement has been executed and will not execute another one.
Regards
Wolfgang
P.S.: It is always better to place Rdb related questions in our communities at https://communities.oracle.com/portal/server.pt/community/rdb_product_family_on_openvms . Those are watched by Rdb Engineering and Support. It was by pure chance that I saw this forum thread.

Similar Messages

  • How to make Select List Read only (Keep key Data)

    I'd like to make a select list read only when the screen is in maintenance mode because the select list value is part of the key.
    However, when I make the select list read only, the update fails because it appears making it disable lose's it's value.
    How can I make a select list read only and keep it's value for update.

    In HTML Header I have
    <script type="text/javascript">
    function Disable_List(pthis,hideitem)
    if ($x(hideitem).value == 'Y')
    {   $x(pthis).disabled = "disabled";
    </script>
    <script type="text/javascript">
    function Load_Start()
    Disable_Item('P5_SUBCODE','P5_XW_HAS_VALUE');
    Disable_List('P5_LTY','P5_XW_HAS_VALUE');
    </script>
    When I click apply changes, my Validation check that doesn't allow nulls in the "P5_LTY" fires saying the field can't be null. The select list is grayed out and I see the value, but the validation check thinks it's null.
    Edited by: spuchc on Jun 15, 2010 8:03 AM

  • I am connecting an external USB HDD and I can see it on my Apple Macbook Air. BUT this drive is READ only. How can I write to it?

    I am connecting an external USB HDD and I can see it on my Apple Macbook Air. BUT this drive is READ only. How can I write to it?

    Drive Partition and Format
    1.Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.

  • How to ensure read only transaction mode

    I am using Oracle73 driver version 2.00.03.01 against Oracle
    7.3.4.5.
    2 Questions:
    1) I am using Microsoft Access 97 to attach to Oracle tables
    via the aforementioned ODBC driver. Is there a way to ensure
    that queries using these attached tables run on the Oracle
    server in read only mode (equivalent to "set transaction read
    only")? The solution cannot be using pass-through queries or
    VBA code.
    2) Where can I find a reference for all valid ODBC.INI entries
    for this driver?
    Any help would be greatly appreciated ...

    If you are able to upgrade the clients to use the Oracle 8
    driver, there's a check-box to set a DSN as read-only.
    Unfortunately, I have no idea whether this option was available
    in the old driver you're using.
    Justin

  • E-Recruiting "Read-Only" Transactions

    We would like to make some for the E-Recruiting functionality that is available to recruiters from the recruiter start page available to support staff in a "read-only" mode.  Our immediate need is for read-only version of the Candidate Overview available from Application Management, although a read-only version of the Requisition Maintenance and Candidate Shortlist would be helpful as well.  I have tried to create a read-only role for the Candiate Overview by playing with the standard authorization objects P_RCF_APPL, R_FCF_VIEW, P_RCF_POOL and P_RCF_STAT but have had no luck.
    Does anyone have any suggestions?
    Thanks!

    This cannot be handled via authorizations in e-recruiting, because it is a non-exspected behaviour.
    You can only realize this by development or modification.
    regards

  • Read only files when running in Nokia mode

    I am using a Nokia 6085 running PC Suite in Nokia Mode. I have a problem whereby files saved on the memory card are accessible only as read-only files when opened in their appropriate application. However, in the Nokia browser and when in Data Storage mode they are normal (non-read only) files. This is somewhat annonying.
    Perhaps I hould also add that when I try to save a file tothe memory from an application I am not allowed access to that folder (even though I have administrator functions on).
    Can anyone help me?

    Fairly standard stuff actually.
    I have tried to save both MS Word and Excel files.
    I have noticed that when I try to "browse" to the phone (the Nokia 6085 icon not the phone browser icon) from my Gmail (using Firefox) I receive a message "browsing to this folder has been disabled" and no further explanation.

  • Add Row on Tabular Form - column from read only to update/insert allowed

    APEX 4.2.2
    Newbie in the APEX forums, go easy please.
    I'm building a rather simple tabular form based on a table with a primary key (emp_number). Sounds like an Oracle tutorial but trust me, it's a real table. This table has, for this example's sake the following attributes:
    Table Name: EMP_EXCEPTIONS
    EMP_NUMBER      NUMBER (PK)
    UPDATE_EXEMPT VARCHAR2(1)
    I've used the Tabular Form wizard to create a nice looking tabular form page, all good and works as intended. Of course the primary key value is non update able by the wizard and that's by design - I've no need to update any primary keys. When I click the add rows button however, I'd like to be able to include the emp_number field as a input able field. At the moment, when I click the add rows button it inherits the property of the emp_number as read only. The user entering the new row would know the employee number and whether they were update_exempt or not. So rewinding my head in Oracle Forms, this would have been done by setting the row attribute as update allowed when the button is clicked. Is there such simple functionality in APEX and if so can you point me in the right direction?

    It seems to be true:
    - if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
    - but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
    thank you!

  • A message to Deavonex!  Yes, what you have written has helped me! I have managed to initialize iPad touch 4th generation after it locked by itself in the middle of set up (using Mac)!  But I read only long answer you did write! I pressed all the buttons

    A message to Deavonex!
    Yes, thank you! What you have answered has helped me to initialize iPad touch 4th generation model, and unlock it!  Although, I only read your long reply first, to solve the problem that you have written before to someone else!  It did not work exactly as you wrote, but you sent me in the right direction.  Since, iPad did not have any data anyway, it did not matter if I lose any data in the process, I did not need to back any saved data.  I pressed all the buttons and held it for different  times and I don't know how it happened but eventially it turned on (logo picture apple appeared) and it was initialized!  Thank you! 

    Thank you for your feedback; I glad you are up and running

  • Not able to open XMind files from IE in read only mode

    I have configured my SharePoint Farm to support .xmind file types
    Below are the steps I have done
    1.  
    Added an entry in DOCICON.XML
        <Mapping Key="xmind" Value="xmind_file1.png" EditText="XMind Mapping Software"  OpenControl="SharePoint.OpenDocuments"/>
    2. Added an entry in htmltransinfo.xml
        <Mapping Extension="xmind" AcceptHeader="application/vnd.xmind.workbook" HandlerUrl="" ProgId=""/>
    3. Added a MiME type 'application/vnd.xmind.workbook' in the Inetmgr.
    Now, xmind files are getting detected, but I am not able to open xmind files in read only mode from IE.
    Xmind files are working perfectly from Mozilla, but my client wants the xmind to be working perfectly from IE.
    Need a help on this issue....

    Hi Aries,
       Please find the screenshot below , while I am trying to open the xmind file in read only mode. It is redirecting the user to a blank page...
    Also please find the extract from the fiddler when trying to open it after selecting the read only mode
    GET http://myserver/sites/Team_test_8/Documents/file1.xmind HTTP/1.1
    Accept: text/html, application/xhtml+xml, */*
    Referer:
    http://myserver/sites/Team_test_8/Documents/Forms/AllItems.aspx
    Accept-Language: en-US
    User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
    Accept-Encoding: gzip, deflate
    Host: myserver
    If-Modified-Since: Tue, 22 Apr 2014 06:40:41 GMT
    If-None-Match: "{3243523D-B412-4437-A587-FA02D4C3C763},9"
    Connection: Keep-Alive
    Cookie: WT_FPC=id=125.22.78.82-1203562128.30325182:lv=1398735003583:ss=1398735003583; WSS_KeepSessionAuthenticated={ce7264f1-49e7-4483-9413-eed8c6929dd7}; ASP.NET_SessionId=knrzwvfb03puo1551qwl3lut
    Authorization: NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAGAbEdAAAADw==
    HTTP/1.1 401 Unauthorized
    Server: Microsoft-IIS/7.5
    SPRequestGuid: 16c42597-cfa9-4993-a19a-539ae9b5a7ec
    WWW-Authenticate: NTLM TlRMTVNTUAACAAAAEAAQADgAAAAFgomiyxgpfwFl18AAAAAAAAAAAKQApABIAAAABgGxHQAAAA9FAFIASQBDAFMAUwBPAE4AAgAQAEUAUgBJAEMAUwBTAE8ATgABABYARQBTAEUAUwBTAE0AVwAyADQAMgA1AAQAFgBlAHIAaQBjAHMAcwBvAG4ALgBzAGUAAwAuAEUAUwBFAFMAUwBNAFcAMgA0ADIANQAuAGUAcgBpAGMAcwBzAG8AbgAuAHMAZQAFABYAZQByAGkAYwBzAHMAbwBuAC4AcwBlAAcACACy5d2OcGPPAQAAAAA=
    X-Powered-By: ASP.NET
    MicrosoftSharePointTeamServices: 14.0.0.6114
    Date: Tue, 29 Apr 2014 06:02:10 GMT
    Content-Length: 0
    Proxy-Support: Session-Based-Authentication

  • Usage Tracking - Cant perform insert operation inside a READ ONLY trans

    Hello,
    I have been experiencing the following error message when trying to install a row in our s_nq_acct table for USAGE TRACKING:
    [nQSError: 16001] ODBC error state: S1000 code: 1456 message: [Oracle][ODBC][Ora]ORA-01456: may not perform insert/delete/update operation inside a READ ONLY transaction.
    - I am able to manually insert rows via SQL*Plus whilst logged on as the same user as the Connection Pool
    - The Read Only option is not ticked for the ODBC
    Can anyone please help me with this?
    Thanks,
    Rhys

    Hi rnm1978,
    You were right!
    I was being a bit retarded and had to simply switch the call interface on the connection pool to use the OCI and ensure the dta source name was that of the TNS names entry and not the system DSN.

  • Read Only Key Figure in APO DP

    Dear Friends ,
    Need help in the mentioned scenario :
    One Planning Book with two data views due to change in portfolio say regional manager and area manager .
    Key Figure updation of market intelligence by regional manager in his data view to be shown in the data view of the area manager data view but with no access to write on the key figure - market intelligence by regional manager .
    Please support .
    Thanks

    Hi Gurav,
    Answer for your question:
    1. If you want to make key figures as read only then you can goto design mode> select key figure> right click and select output only.
    2. If you want to make seperate roles for both region manager and area manager you need not create two planning books but when you create roles you can assign data views to respective users. ( authorisation object is C_APO_PB, in that data view is APO_DVIEW)
    Hope this helps.
    Regards,
    Jagadeesh.
    Pls reward some points if it helps.

  • Database open for read-only access ORACLE

    while building a universe with a dblink betweens oracle databases, i try to create a derived table in the form
    select field1 from table@db_to_db2
    but i get the following message:
    Exception: DBD, ORA-16000: database open for read-only acces State N/A.
    I understand the statement "Set Transaction for read only"  must be set before any transaction during the session, but still dont know how to trigger it in bo universe designer.
    Can someone know how to solve it?

    I suggest you fill-in the BEGIN_SQL parameter on the Universe to turn on the read-only transaction.
    Here is an excerpt from the Universe Designer guide:
    The BEGIN_SQL parameter allows you to prefix SQL statements with the same parameters each time a SQL statement is generated.
    1. Open the "Universe Parameters" dialog box in Designer.
    2. Click the Parameter tab.
    3. In the "Parameter" list, select the BEGIN_SQL parameter and enter the
    appropriate prefix commands.
    4. Save the settings.
    5. Save the universe.

  • How can we make SAP system READ ONLY !!!!!

    Hi, we have an SAP R/3 4.6 C Application. We need to take the system for read only state means we don’t want the users to allow any update for the system but they should be able to view the data what they have created. Mean while we don’t want the database to be taken in read only mode as we the administrators or the users might want to update their password information.
    It would be a big help if some one can through some tips on how we achieve this.
    Thanks much in advance.
    Guru

    Hi
             Please make the database in READ ONLY MODE. This will help. If it is an oracle database then.
    Open a Database in Read-Only Mode
    You can open any database in read-only mode to prevent its data from being modified by user transactions. Read-only mode restricts database access to read-only transactions, which cannot write to the datafiles or to the redo log files.
    Disk writes to other files, such as control files, operating system audit trails, trace files, and alert files, can continue in read-only mode. Temporary tablespaces for sort operations are not affected by the database being open in read-only mode. However, you cannot take permanent tablespaces offline while a database is open in read-only mode. Also, job queues are not available in read-only mode.
    Read-only mode does not restrict database recovery or operations that change the database's state without generating redo data. For example, in read-only mode:
    Datafiles can be taken offline and online
    Offline datafiles and tablespaces can be recovered
    The control file remains available for updates about the state of the database
    One useful application of read-only mode is that standby databases can function as temporary reporting databases
    Opening a Database in Read-Only Mode
    Opening a database in read-only mode enables you to query an open database while eliminating any potential for online data content changes. While opening a database in read-only mode guarantees that datafile and redo log files are not written to, it does not restrict database recovery or operations that change the state of the database without generating redo. For example, you can take datafiles offline or bring them online since these operations do not effect data content.
    If a query against a database in read-only mode uses temporary tablespace, for example to do disk sorts, then the issuer of the query must have a locally managed tablespace assigned as the default temporary tablespace. Otherwise, the query will fail. This is explained in "Creating a Locally Managed Temporary Tablespace".
    Ideally, you open a database in read-only mode when you alternate a standby database between read-only and recovery mode. Be aware that these are mutually exclusive modes.
    The following statement opens a database in read-only mode:
    ALTER DATABASE OPEN READ ONLY;
    You can also open a database in read-write mode as follows:
    ALTER DATABASE OPEN READ WRITE;
    However, read-write is the default mode.
    Regards

  • Read-only input field error

    I have an input field marked read-only on a form.  When I run the application, select the read-only field, press enter, then Save (validating action), I get a WebDynpro exception saying that I attempted to modify a read-only context attribute.  This does not happen if I select the field and press other keys (such as characters)...  only when I press enter.  If I make the field disabled (instead of read-only), this error is avoided because I cannot even select the input field - but I would rather use read-only because it doesn't gray out the field at runtime.  Is this a bug, or am I missing something?
    -Dave

    When you select the inputField and press enter the OnEnter action of the inputField is being called.
    When you disable the inputField it prevents you from entering values as well as accessing it actions also.
    When you try to keep you context attribute as read only and keep the input field as enabled it is similar to trying to modify a read only attribute which is not permissible.
    Hence the error.
    Revert for further clarifications.
    Message was edited by: Noufal Kareem

  • Is it possible to have access to PU12 in read only to avoid SOD issues?

    Hi
    We would like to provide PU12 to a small number of users for troubleshooting purposes with our payroll interface, however PU12 transaction is one that is a SOD issue, namely: 'Modify payroll master data and then process payroll.  Potential for fraudulent activity'
    Is there an equivalent read only transaction that SAP has to view the export history data possibly, or else a way to change the settings of PU12 to make it read only via a custom tcode?
    Any advice would be very helpful.
    Thanks
    Nicola

    Hi,
    Make the variant of the screen and provide the separate Tcode using SE93.
    Good Luck
    Om

Maybe you are looking for

  • Iphone 4s no longer rings just vibrates

    I plugged my Iphone 4s into my macbook for the first time last night to sync all my stuff onto my itunes and i woke up this morning and now my text messaging, my alerts, my lock screen nothing has sound! i turned on the vibrate button and back off no

  • Why does photoshop CS2 crash in Mac OS 10.6.8?

    why does photoshop CS2 crash in Mac OS 10.6.8?

  • Getting run time error when accessing the file from frontend server using F4.....?

    Category               ABAP Programming Error Runtime Errors         CONVT_NO_NUMBER Except.                CX_SY_CONVERSION_NO_NUMBER ABAP Program           ZMM_MIGO_GOODS_ISSUE Application Component  Not assigned Date and Time          26.05.2014 1

  • Photoshop 10 plug-ins

    I am using PS10 and have recently purchased anew camera. A Panasonic that records pics in the .rw2 raw format. Trouble is PS10 does not open .wr2 pics without a specific plug-in installed. What is that plug-in and where can I get it? Also does anyone

  • Ways to get rid of/reduce the "Other" storage taking up space on my iPhone?

    I didn't really know where to put this question and I'm sure this is a common one but I have 3.78 GB being used up in the "Other" catagory. I know that deleting texts helps, do you guys know of anything else that could help give me back some storage?