Error message with procedure

Hello,
I am totally stuk.
I have research and read but I just can't figure it out.
I tried to follow examples and i thought i had it right. I guess not...
I am useing oracle10g 10.2.0.3
this is a transaction procedure that I have been working on all day.
I thought I was close.
The exercise that I am doing is practicing with the rollback and savepoint.
The exercise said not to use parameters.
can someone please help me to understand this error and maybe suggest an idea?
The number below "56", appeared when i enter the execution. i don't know why it displayed.
My procedure won't run enough to show the warning. I had to enter a "/" to show the warning.
On top of that I totally don't understand the error message. I understand that the begin and the end is required in a procedure.
so can someone help me !!
the error messaage:
SQL> @c:\cmis\proc_5\exc_3.sql
56 /
Warning: Procedure created with compilation errors.
SQL> show error;
Errors for PROCEDURE WEEK11_PROC:
LINE/COL ERROR
2/1 PLS-00103: Encountered the symbol "BEGIN" when expecting one of
the following:
( ; is with authid as cluster compress order using compiled
wrapped external deterministic parallel_enable pipelined
my procedure:
will perform transactions of inserting values into the catalog table while useing the rollback and savepoint.
the table is empty at this point.
set serveroutput on
CREATE OR REPLACE PROCEDURE week11_proc
begin
     set transaction transac 1;
          insert into catalog1
               VALUES ('cmis420', 'Advance Relational Database', 'Bill Warren', sysdate, 'Jean Todd', sysdate);
          insert into catalog1
               VALUES ('CMST385', 'Introduction To XHTML', 'Terry Woods', sysdate, 'john Miller', sysdate);
          EXCEPTION
               WHEN OTHERS THEN
          DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
               ROLLBACK;
     set transaction transact 2;     
          insert into catalog1
               VALUES ('cmst170', 'Introduction To XML', 'richard Jones', sysdate, 'Mary Smith', sysdate);
          insert into catalog1
               values ('CMIS315', 'Programming in C++', 'richard Jones', sysdate, 'Paul Todd', sysdate);
               savepoint transact2;
          EXCEPTION
               WHEN OTHERS THEN
               DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
          rollback to transact 1;
     set transaction transact 3;
          insert into catalog1
               values ('CMIS111', 'Social Networking and Cybersecurity Best Practices', 'Terry Woods', sysdate, 'john Miller', sysdate);'
          insert into catalog1
               values ('CMIS125', Programming in', sysdate, C#', 'richard Jones', sysdate, Peter Greenburg', sysdate);
               savepoint trans3;
          EXCEPTION
               WHEN OTHERS THEN
          DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
          rollback to savepoint transact2;
     set transaction transact4;
          insert into catalog1
               values ('CMIS225', 'Developing Windows Presentation Foundation (WPF)', 'George Allen', sysdate, 'Richard Jones', sysdate);
          insert into catalog1
               values ('CMIS465', 'Software Verification and Validation', 'Bill Warren', sysdate, 'Jean Todd', sysdate);
               savepoint transact4;
          EXCEPTION
          WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
     rollback to savepoint transact1;
     end;
kabrajo

CREATE OR REPLACE PROCEDURE week11_proc is
begin
set transaction transac 1;
insert into catalog1
VALUES ('cmis420', 'Advance Relational Database', 'Bill Warren', sysdate, 'Jean Todd', sysdate);
insert into catalog1
VALUES ('CMST385', 'Introduction To XHTML', 'Terry Woods', sysdate, 'john Miller', sysdate);
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
ROLLBACK;
set transaction transact 2;
insert into catalog1
VALUES ('cmst170', 'Introduction To XML', 'richard Jones', sysdate, 'Mary Smith', sysdate);
insert into catalog1
values ('CMIS315', 'Programming in C++', 'richard Jones', sysdate, 'Paul Todd', sysdate);
savepoint transact2;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
rollback to transact 1;
set transaction transact 3;
insert into catalog1
values ('CMIS111', 'Social Networking and Cybersecurity Best Practices', 'Terry Woods', sysdate, 'john Miller', sysdate);'
insert into catalog1
values ('CMIS125', Programming in', sysdate, C#', 'richard Jones', sysdate, Peter Greenburg', sysdate);
savepoint trans3;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
rollback to savepoint transact2;
set transaction transact4;
insert into catalog1
values ('CMIS225', 'Developing Windows Presentation Foundation (WPF)', 'George Allen', sysdate, 'Richard Jones', sysdate);
insert into catalog1
values ('CMIS465', 'Software Verification and Validation', 'Bill Warren', sysdate, 'Jean Todd', sysdate);
savepoint transact4;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('error inserting class: '|| substr(SQLERRM,1,75));
rollback to savepoint transact1;
end;

Similar Messages

  • After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is su

    After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is suggested; however, I can't do that because of my company's IT policies. Is there any way to solve this problem WITHOUT a complete reinstall? Thank you!
    == This happened ==
    Every time Firefox opened
    == I installed a new version ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)

    If you can't reinstall Firefox yourself then you need to contact your IT department and ask them to check the Firefox installation.
    It is possible that some files got broken with the latest update.

  • I downloaded the latest version of itunes.  Now I cannot open iTunes.  I receive this error message: The procedure entry point AVCFAssetCreateWithByteStreamAndOptions could not be located in the dynamic link library AVfoundationCF.dll.  Thoughts?

    I downloaded the latest version of iTunes on my PC.  Now I cannot open iTunes.  I receive the following error message: "The procedure entry point AVCFAssetCreateWithByteStreamAndOptions could not be located in the dynamic link library AVfoundationCF.dll"  After pressing the "OK" button I receive a second error message: 'iTunes not installed correctly.  Please reinstall iTunes.  Error 7 (Windows error 127)".  I've uninstalled iTunes and reinstalled to no avail.  I've also eliminated the temp files (per suggestions on the trouble-shooting page) and no luck.  I also tried system restore and that did not fix the problem.  Any thougths on a repair?   

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a

  • I just tried updating to iTunes 10.7 on my pc and when I try to launch it I get this error message-The procedure entry point AVCFPlayerSetDirect3DDevice could not be located in the dynamic library AVFoundationCF.dll.  Any Ideas?

    I just tried updating to iTunes 10.7 and when I try to launch it I get this error message-The procedure entry point AVCFPlayerSetDirect3DDevice could not be located in the dynamic library AVFoundationCF.dll.  Them it tells me to re-install iTunes and the same thing happens again.  Any Ideas?

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • Updated iTunes to 12.0.1 on XP after updated recieved error message "The procedure entry point ADAdPolicyEngine_DidEnterStation could not be located in the dynamic link dll" "itune not installed correctly error 7 (windows 127). reinstalled same error

    updated iTunes to 12.0.1 on XP after updated recieved error message "The procedure entry point ADAdPolicyEngine_DidEnterStation could not be located in the dynamic link dll" "itune not installed correctly error 7 (windows 127). reinstalled same error. Tried suggested steps
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall press on)
    Bonjour
    Apple Application Support
    Still getting same error message. Can anyone help me

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Error message-- The procedure entry point ADiAdlD_AcquireMatchSlotIfNecessary could not be located in the dynamic link library C:\Program Files (x86)\iTunes\iTunes.dll

    Error message-- The procedure entry point ADiAdlD_AcquireMatchSlotIfNecessary could not be located in the dynamic link library C:\Program Files (x86)\iTunes\iTunes.dll

    See Troubleshooting issues with iTunes for Windows updates.
    Try the repair tip in the third box first.
    tt2

  • Updating iTunes 12.1 and get error message "The procedure entry point CMBlockBufferCopyDataBytes could not be located in the dynamic link library CoreMedia.dll - what went wrong and how to resolve this?

    Updating iTunes 12.1 and get error message "The procedure entry point CMBlockBufferCopyDataBytes could not be located in the dynamic link library CoreMedia.dll". What went wrong and how to resolve this?

    Entry point errors can often be fixed by deleting the offending dll, then repairing the component it is part of.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • Received error message "the procedure entry point_objc_init_image could not be located in the dynamic link library objc.dll.  unable to launch ICloud.  Any suggections?

    received error message  - the procedure entry point_objc_init_image could not be located in the dynamic link library objc.dll.  unable to launch iCloud.  Any suggections?

    I had roughly the same error. I fixed it by running the iCloud control panel update from apple software update. The problem cropped up after I ran the most recent iTunes update, I've personally been having issues with iTunes updates being finicky since upgrading to Windows 8.1, I've had to download installers rather than running the update directly through Software Update, so it's possible Apple is not fully addressing compatibility issues for newer versions of Windows. Ultimately it seems to be a missing file issue, so any update, installer, or install verification/repair that directly addresses the iCloud files should see and replace the missing file.
    Also it looks like Apple is either unaware of this problem or not addressing it at all, there are about a dozen support requests from within the last month all asking this same question regarding iCloud, just with different specific files unable to be found. None of them have answers.
    Hopefully this works for you

  • I replaced the hard drive to a 30gig on my Ipod 4th gen. click wheel but it is still not recognized on my computer or in itunes......I get an error message with a folder and "!"....what can I do to fix??

    I replaced the hard drive to a 30gig on my Ipod 4th gen. click wheel but it is still not recognized on my computer or in itunes......I get an error message with a folder and "!"....what can I do to fix??

    Have you recharge the battery for at least 2 hours, or just leave it connected for 4 hours?
    (When you replaced the Hardisk, you should also replace the battery.)
    Some other iPod SSD sites, says that you may have to format the CF in FAT32, as Mac dont read NTFS drive so if Windows is the 1st PC that your CF is connected, it may be formatted to NTFS.
    You can try erasing the CF using Disk Utilty, so that Mac can recognise it. (but not Windows)
    Have a nice day!

  • Error message with hyperlink

    Hi Champs,
    I have requirement in which I need to display an error message in SRM Portal.The error message is maintained in the SAP SRM system and can be viewed through SE91.
    We are using SRM 4.0 Version.
    I need to display the below error message with a hyperlink to a particular site:
    Profit Center of plant and CO do not match, CO belogs to plant XXXX (item link)"
    Is it possible to have hyperlink with an error message.
    Thanks
    Regards,
    Nishant

    Hello
    It is no possible.
    But you may add hyperlink into documentation for message (SE91 -> Goto -> Documentation -> Long text).
    In this case hyperlink will be available after double click on error icon in left bottom corner.
    PS: and not duplicate posts.

  • Error message with offer to download the 4.1.B.0.587 update and note: "installation not possible" (because it's already there) cannot partition SD card

    Hi - Recently I put the latest update on my LT15i (4.1.B.0.587), after this I rooted the phone, and everything seemed okay. But since then I keep getting an error message with an offer to download the 4.1.B.0.587 update and the note: "installation not possible" (because it's already there). The news line on top shows a red exclamation mark all the time. It seems to me that it is due to this error that I cannot partition my SD card. Does anybody have an idea how to fix that? Thanks much in advance, and happy holidays - nerissa

    Moved thread to Android development.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • My mac book pro does not start but has error message with a question mark on screen. took it in and was told probably the hard drive as could not reconize it so bought new one but still not connecting.what do i do

    My mac book pro does not connect but shows an error message with a question mark on the screen.I took it to a retailer that said it was not reconizing the hard drive.He said i needed a new hard drive but it may be something else as well but he was sure a new hard drive would fix it.So putting faith in someone who deals with them i purchased a new hard drive to find it was still not working although he said the computer did know reconize the hard drive and i may have to send it away to get it checked .After already paying 120 pounds for a new hard drive and they wanting another 80.00 pounds to diagnose it i am a little sceptical.
    That's why i am interested on anyone's help.

    Welcome to the Apple Support Communities
    I think that your Mac detects your hard disk, but the problem is that your new hard disk doesn't contain any operating system, so your Mac doesn't find any bootable partition and you see a question mark.
    If your Mac came with DVDs, insert the Mac OS X Install DVD and hold the C key while your Mac is starting. Then, just install Mac OS X. If the hard disk isn't prepared to install Mac OS X, you will have to erase it using "Mac OS Extended (Journaled)". See > http://pondini.org/OSX/DU1.html

  • Displaying an error message with a link to the error field

    By default, ADF validation usually displays an alert with an error message and a link to the error field.
    I have some custom validations where I finally display the error message with this:
      public static void MessageError(String messageText){
        //String messageText="No se han encontrado estos datos";
        FacesMessage fm = new FacesMessage(messageText);
         * set the type of the message.
         * Valid types: error, fatal,info,warning
        fm.setSeverity(FacesMessage.SEVERITY_ERROR);
        FacesContext context = FacesContext.getCurrentInstance();
        context.addMessage(null, fm);
    My customer is asking for displaying a link to the error field in this kind of error alerts as standard errors do.
    Is there any way to get this ?

    Can't you include this in your message?
    You may want to check Duncan's blog https://blogs.oracle.com/groundside/entry/get_more_from_your_messages whichgives more inside on what you can do
    Timo

  • HT4910 My iCal has frozen after I tried to paste info from an email into a reminder.  I get a "server reports an error" message with what I tried to paste in the box.  Calendar is frozen and will only close by forcing it.  Any help?

    My iCal has frozen after I tried to paste info from an email into a reminder.  I get a "server reports an error" message with what I tried to paste in the box.  Calendar is frozen and will only close by forcing it.  Any help?

    Did another window open with the pasted information?  If so, try hitting "enter/return" key and "delete" key at the same time.  That should get rid of the current action on the ical, the extra window should go bye-bye, and all should be fine with the world.

  • Error Message with multiple line

    Hi
    How to display a error message with multiple line?
    Example
         Goods movement not possible for material 101
         Goods movement not possible for material 102
         Goods movement not possible for material 103
    is it possible is ABAP? If so please advice me.
    Best Regards
    Asheek

    Hi Anoop,
    You can use same thing like this
    I suggest write ur message through this.
    First set the obecj.
    CALL FUNCTION 'APPL_LOG_SET_OBJECT'
    for local memory
    FUNCTION 'APPL_LOG_WRITE_MESSAGES'
             EXPORTING
                  OBJECT              = OBJECT
                  SUBOBJECT           = SUBOBJECT
                  UPDATE_OR_INSERT    = UPDATE_INSERT_FLAG
             TABLES
                  MESSAGES            = MESSAGE_TABLE
             EXCEPTIONS
                  OBJECT_NOT_FOUND    = 1
                  SUBOBJECT_NOT_FOUND = 2
                  OTHERS              = 3.
    the call for physical memory
    CALL FUNCTION 'APPL_LOG_WRITE_DB'
    In this process you only need to provide the Itab with error messages.
    Reg,
    Arpit

Maybe you are looking for

  • InDesign "Save As" dialog box for every operation in INDB book file; updating page numbers, etc.

    So I haven't used INDB files in awhile in InDesign, and today was the first time I attempted to adjust an old INDB (created originally with CS5).  For every operation of adjusting the book file, such as updating page/section number or adding/removing

  • Java Web Start and CORBA

    Hello, I have a C++ based CORBA server to which a Java based client gets connected. I want to put this java appln. on Java Web Start . The identification of the CORBA server is thru' the published POA name. Can anybody help me in making the java appl

  • How to get shape layer's content parameters in AEGP?

    Hi all, I have no idea when I want to export the parameters from the Contents of shape layer. Now I add Polystar Path1, ZigZag 1, and Repeater1, three contents of shaper layer. Content seems not equal to effect. I used AEGP_GetNewEffectStreamByIndex

  • Trouble with autofill putting in wrong password each time

    When going to a site in safari, e-mail and pw is filled in, but it is always the wrong password. I delete it and enter the correct password and enter the site, but the next time the password is wrong again. Any help to fix this problem is appreciated

  • Image size from Illustrator to Photoshop

    I'm new to Illustrator and may just be overlooking something here, but here's my the background and question: I took a screen shot of an image and opened it in Photoshop CS3. I've cropped out a portion I want to use and save the file as a .eps file a