What does ORA-03127: "no new operations allowed" mean?

I got this error message when testing a prrocedure with incoming XML file.
Does it come from my program or I can't use PL/SQL developer to test xml file?
Thank you

create or replace package body my_ORDER is
------------------------------ Function ---------------------------------
FUNCTION get_order_xml (p_order_xml IN CLOB ) RETURN my_order%ROWTYPE IS
in_order_entry_rec my_order%ROWTYPE;
BEGIN
SELECT '1' AS QUEUEID,
INTO in_order_entry_rec.QUEUEID
FROM TABLE(xmlsequence(extract(xmltype(p_order_xml), '/Order/Header'))) x;
RETURN in_order_entry_rec;
END;
------------------------------ INSERT ORDER ENTRY ---------------------------------
PROCEDURE insert_entry
( p_status IN VARCHAR2,
p_transitionid IN OUT NUMBER,
p_order_entry_rec IN OUT order_entry_rec_type
) IS
BEGIN
INSERT INTO my_order ( QUEUEID ) VALUES (p_transitionid );
END insert_entry;
------------------------------------ SAVE ORDER -----------------------------------
PROCEDURE save_draft
( p_order_xml IN OUT CLOB,
p_transitionid IN OUT NUMBER
) IS
in_order_entry_rec my_order%ROWTYPE;
BEGIN
in_order_entry_rec := get_order_xml (p_order_xml ) ;
p_transitionid := 1;
insert_entry (p_status => 'DRAFT', p_transitionid => p_transitionid, p_order_entry_rec => in_order_entry_rec);
END save_draft;
end CS_ORDER_API;

Similar Messages

  • Error ORA-03127: no new operations allowed until the active operation ends

    I have a function that retrieves some values for all the cutomers
    with all different types,and then concatenates all those values
    (format in XML ) and return the concatenated value as clob.
    vClob1 & vAllClob is Clob type.
    My function:
    for recCustomer in CustCursor
    begin
    cust := recCustomer .name;
    vClob1 := ...;--(manipulated using select statement)
    for recType in TypeCursor
    begin
    typ := recType.value;
    vClob1 := vClob1 || ...;--(manipulated using select statement)
    end
    vAllClob := vAllClob || vClob1;
    vClob1:='';
    end
    executing ,it gives an error
    ORA-03127: no new operations allowed until the active operation ends
    if the statement
    vAllClob := vAllClob || vClob1;
    is commented it does not give an error
    The output of each vClob1 is got correctly as expected
    value of vClob1 when loop executed first time =
    {color:#c0c0c0}{color:#999999}<WorkOrder>
    <CUSTOMER>ABC</CUSTOMER>
    <NOOFWORKORDERS type="Planned">10</NOOFWORKORDERS>
    <NOOFWORKORDERS type="Preventive">22</NOOFWORKORDERS>
    <NOOFWORKORDERS type="Corrective">9</NOOFWORKORDERS>
    <NOOFWORKORDERS type="Implementation">5</NOOFWORKORDERS>
    <NOOFWORKORDERS type="Provisioning">46</NOOFWORKORDERS>
    </WorkOrder>{color}
    {color}
    at the next loop
    vClob1 =
    {color:#999999}<WorkOrder>
    <CUSTOMER>XYZ</CUSTOMER>
    <NOOFWORKORDERS type="Planned">17</NOOFWORKORDERS>
    <NOOFWORKORDERS type="Preventive">20</NOOFWORKORDERS>
    <NOOFWORKORDERS type="Corrective">37</NOOFWORKORDERS>
    <NOOFWORKORDERS type="Implementation">80</NOOFWORKORDERS>
    <NOOFWORKORDERS type="Provisioning">20</NOOFWORKORDERS>
    </WorkOrder>
    {color}
    and so on...
    My actual requirement is to concatenate all vClob1 values into a variable to pass
    it the front end to use it as an XMLDocument.
    Pls help.

    Did you try the create index from sqlplus?

  • ORA-03127 : no new operations allowed until active operation ends

    Hi people,
    [9.2.0.4.0 on Windows 2003]
    Anyone else getting this error on an attempt to register an XSD?
    This is a recent change in behaviour but I can't isolate why...
    Thanks,
    Lachlan

    Never seen this one...

  • DBIF_REPO_SQL_ERROR in CRMD_ORDER (CRM 2007) - ORA-03127: no new operations

    Dear Friends,
    I am using CRM 2007. I am facing below run time error: This problem comes frequently....
    Runtime Errors:  DBIF_REPO_SQL_ERROR
    Transaction......... "CRMD_ORDER"
    Program............. "????????????????????????????????????????"
    Screen.............. " "
    Screen Line......... 0
    Short text
        SQL error 3127 occurred when accessing program "SAPMS380 " part "LOAD".
    How to correct the error
        Database error text........: "ORA-03127: no new operations allowed until the
         active operation ends"
        Triggering SQL statement...: "SAPMS380 "
        Internal call code.........: "[REPO/*/43/LOAD/SAPMS380 ]"
        Please check the entries in the system log (Transaction SM21).
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_REPO_SQL_ERROR" " "
        "????????????????????????????????????????" or " "
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
    Internal notes
        The termination was triggered in function "db_info"
        of the SAP kernel, in line 251 of the module
         "//bas/700_REL/src/krn/runt/abload5.c#3".
        The internal operation just processed is " ".
        Internal mode was started at 20100119091358.
        Internal call code.........: "[REPO/*/43/LOAD/SAPMS380 ]"
    I have checked in SAP note also. But, i didnt get....
    Suggest me...
    Note: I dont know, how to create questions for SAP BASIS issue. If any body know, kindly suggest me...
    Thanks & Regards,
    Rajagopal
    Chennai - INDIA

    Looks like something you have to ask one of your SAP Basis administrators at your company (client). Tell them about Oracle db error. They will probably know what to do.
    what do you mean by:
    I dont know, how to create questions for SAP BASIS issue. If any body know, kindly suggest me...
    Just step up to one of them, and show him the error.

  • HT201250 when restoring a time machine backup to a new computer, does it affect the new operating system on the new computer

    when restoring a time machine backup to a new computer, does it affect the new operating system on the new computer?

    That depends on how you do it.
    By far the best, easiest, most reliable method is to use Setup Assistant when your shiny new Mac first starts up, to transfer your apps, users, data, etc.   That doesn't disturb either the OS or basic Apple apps that came with the new Mac.  See Using Setup Assistant on Mountain Lion or Lion.
    There is a facility to restore an entire system from Time Machine backups, including the version of OSX on the backup, but that's for use when your internal HD has been erased or replaced only.  It's not a good idea to restore the full backup of one Mac to a different one.  Depending on the circumstances, the installer may not allow it.  Even if it does, the Mac may not start up, or may kernel panic, or not work properly.

  • What is the ipod 4 new model, I mean look at the walmart site, it says (new model) what does that mean?

    what is the ipod 4 new model, I mean look at the walmart site, it says (new model) what does that mean? Look at this link :  http://www.walmart.ca/canada-estore/search/searchcontainer.jsp?_DARGS=/canada-es tore/search/fragments/cataloghierarchy.jsp I dont understand, what was the old model?

    The 16gb iPod 4 is a new model!  Previously, the iPod Touch 4G came in 8gb, 32gb and 64gb versions.  Apple has stopped shipping those versions and has replaced it with the 16gb iPod 4.  While this is technically the "newest" model (by a day or so), it is not the most technically advanced.  As others have pointed out that it the iPod Touch 5g (32gb and 64gb versions).  So Walmart is not "outdated" or "incorrect", but perhaps a bit deceptive.

  • What does the orange circle with white arrows mean?

    what does the orange circle with white arrows mean?

    Well, I've not seen that one before. In fact I had to click on it so as to read the tiny
    text, then it appeared in another window as a .png image... so I retyped it  + also
    supplied a .jpg of the same image of different size. Too wide: automatically scale.
    Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired.
    ...maybe this is large enough to see without clicking? It probably scaled small.
    •About the actual topic in your reply, in regular size text:
    { did you upgrade from an older Mac OS X? from what?}
    You mean it could not or would not boot SafeBoot?
    Here's an official support topic page about it.
    •OS X: What is Safe Boot, Safe Mode?
    http://support.apple.com/kb/HT1564?viewlocale=en_US
    Could be you need to start from a boot volume, or Recovery partition to repair it.
    That is a more detailed way to repair disk & repair disk permissions, unmounted.
    Not sure about that SUID thing, though. It may revert after a normal startup.
    Maybe someone can offer better 'ways & means'... LOL!
    Good luck & happy computing!
    {edited 2x ... ps: maybe start a new topic if this one sees no action?}

  • What does the folder with a question mark mean?

    When I power on my black Macbook a white screen appears with a folder with a question mark flashing. what does the folder with a question mark mean? I just replaced the hard drive. When I put the install disc in the cd drive makes a very loud whirring noise then eventually the disc pops back out. Any ideas?

    You will need to reinstall:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/.

  • What does "no associated application can be found" mean?

    what does "no associated application can be found" mean?
    I get this message when i click on a link in my email.
    Thanks
    RB

    Is this a Keynote question, if not post in the the discussion for the Mac operating system you are using?

  • What does "ajax submit failed: error = 403, forbidden" mean when trying to sign up for eprint?

    what does "ajax submit failed: error = 403, forbidden" mean when trying to sign up for eprint?

    Hi,
    Please use different browser such as Firefox or Chrome and try again.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • What does the top level instance name "iop" mean?

    What does the top level instance name "iop" mean?

    Dear Humility,
    In general term higher level account group means which account group is used to the higher level customers in the Customer Hierarchy process.
    Or
    Which of these account groups are valid for higher-level customers in the hierarchy.
    I hope this will help you,
    Regards,
    Murali.

  • What does a question mark and i file mean on my macbook pro

    what does a question mark and i file mean on my macbook pro when i turn it on?

    To be more specific, the computer is not finding a valid system when it starts up. This may result from the hard drive's physical mechanism failing, or the system on the drive being corrupted in some way.
    Repairing permissions is not likely to fix this issue. Instead I would suggest booting from the system install DVD, running Disk Utility, selecting your hard drive's partition and select *Repair Disk*.
    Note: if the hard drive does not show up in Disk Utility at all, it is dead and will need to be replaced. Contact Apple (800-275-2273 in the USA) and have them set up warranty service, or carry the MacBook in to an Apple retail store to have it fixed. Be sure to [make an appointment|http://www.apple.com/retail] first you you may wait a long time to speak to a Mac Genius.
    If Repair Disk finds any problems and is able to correct them, you may be able to restart and everything be okay. If it is unable to correct the problems, you will need to erase and restore your hard drive.
    If Repair Disk does not find any problems, I would suggest an Archive and Install as described in [this article|http://support.apple.com/kb/HT1710].
    Best of luck.

  • What does a gray icon with grid lines mean? It looks like a bullseye.

    What does a gray icon with grid lines mean? It looks like a bullseye.

    It's an app icon that didn't load properly .... If it looks like this.

  • HT1766 what does 'the activation server is temporarily down' mean?

    what does 'the activation server is temporarily down' mean?

    That you may have jailbroken your phone. You may have used that computer to jailbreak a phone. You may have a bad hosts file on the computer because of that. There are many reasons, but generally those are the main ones. According to this http://www.apple.com/support/systemstatus/ there are no system outages.

  • What does the picture displayed on my tv mean its a picture of an apple tv and a usb cable

    what does the picture displayed on my tv mean its a picture of an apple tv and a usb cable

    It means your Apple TV needs to restored via iTunes on your computer.
    Apple TV (2nd and 3rd generation): Restoring your Apple TV

Maybe you are looking for