CLOB type give error in procedure

I have 1 procedure with 3 argument,In this 1 argument is of type CLOB.
When i call procedure then it give error Of character set problem.
But when i remove the CLob argument the procedure executed successfuly.
I am using this procedure in Oracle8i
Why this happen? what to do to solve this?

Hi,
It is working for me in Oracle8i/ 9i. What exactly your procedure is doing?
1 create or replace procedure test_clob(ch clob)
2 is
3 begin
4 dbms_output.put_line(ch);
5* end;
SQL> /
SQL> exec test_clob('mmmm');
mmmm
PL/SQL procedure successfully completed.
is your procedure trying to APPEND clob into another clob?
Thanks
M Thiyagarajan

Similar Messages

  • Period Type gives error in ESS when is set to 3 (Bi-weekly)

    Hi all,
    When I set the Period type in the Profile to 3 (Bi-weekly) I receive the following error while recording time in the Portal.
    Error: PROFILE_NOT_INITIALIZED
    It's also happen for period time 1 and 4, but not for period time 2 (Weekly).
    In R/3 it's work fine. Any idea why is this? Or how can it be solved??
    I need to use Period type 3.
    Thanks in advance!

    Hi,
    I did not solved the problem. You did it ...
    I was trying to implement ESS for CATS, and this was not working, I saw your thread, and tried wat was working for you.
    This was at this time (ESS implementation is a Proof Of Concept at this stage) sufficent for us to have perform screenshots.
    I did never put any development request, but my understanding is that SAP improves his product based on customer's requests. If many users request the same, they will develop this in a next release. So this should be free of charge, if you wait until it becomes standard.
    But I would not confirm the message untill they takes the engagement of the developments, as this is a bug from my point of view. Is this limitation described in the documentation ? No ? => this is a bug ...
    Vincent

  • Uploading file - unicode file type gives error

    Hello,
    I am trying to upload an xml file.
    If the file is of ASCii format I can import this file ,but if the file format is changed to unicode or utf-16 I get sax parser error.
    I noticed one thing though,ascii file seems to appear in this format
    <?xml version="1.0" encoding="UTF-8"?>
    <addresses>
    <address>
    <street-name>22 11th ave SW</street-name>
    <city>Dynotopia</city>
    </address>
    </addresses>
    Where as when I change the file format to unicode it appears like this
    ?< ? x m l v e r s i o n = " 1 . 0 " e n c o d i n g = " U T F - 8 " ? >
    < a d d r e s s e s >
    < a d d r e s s >
    < s t r e e t - n a m e > 2 2 1 1 t h a v e S W < / s t r e e t - n a m e >
    < c i t y > D y n o t o p i a < / c i t y >
    < / a d d r e s s >
    < / a d d r e s s e s >
    ?< ? x m l v e r s i o n = " 1 . 0 " e n c o d i n g = " U T F - 8 " ? >
    < a d d r e s s e s >
    < a d d r e s s >
    < s t r e e t - n a m e > 2 2 1 1 t h a v e S W < / s t r e e t - n a m e >
    < c i t y > D y n o t o p i a < / c i t y >
    < / a d d r e s s >
    < / a d d r e s s e s >
    Can some one guide me to automate this process so that my sax processor automatically set itself to the appropriate file format?
    or is it possible at all?

    Thanks DrClap,
    I read the article ( from the link u reffered).
    Here is my problem,
    I am uploading an xml file, here is the code
    if(req.getContentLength() > 0) {
    BufferedReader reader = req.getReader();
    String line = reader.readLine();
    if((line == null) || (line.indexOf(boundary) == -1)) {
    //error generator
    StringBuffer part = new StringBuffer();
    while((line = reader.readLine()) != null) {
    if(line.indexOf(boundary) == -1) {
    part.append(line + "\n");
    } else {
    parts.add(part.toString());
    part = new StringBuffer();
    now my guess is when we convert an ASCii type to string above it works fine,but when the type is otherthen ASCii the conversion of file to string screws up...
    can u pls guide me to make it work so it doesn't.

  • Firefox wont start. Gives error: The procedure entry point PL_ClearArenaPod could not be located in plds4.dll

    Complete text of error message when attempting to start Firefox.
    The procedure entry point PL_Clear ArenaPod could not be located in the dynamic link library plds4.dll
    Firefox never opens before or after the error message.
    After I close the error message window, I also get message from ZoneAlarm (my security software) asking me to send them an error report.
    I had just accepted an automatic update from Firefox prior to the problems occurring.

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • How to Update a clob column..it gives error string literal too long

    I am trying to update a clob column of a table but it gives error string literal too long plz tell me what's the issue
    ORA-01704: string literal too long

    Peeyush wrote:
    I am trying to update a clob column of a table but it gives error string literal too long plz tell me what's the issue
    ORA-01704: string literal too longThere's a problem with my car. It won't start. Why won't it start? Please tell me!
    Oh wait, you can't, because I haven't given you nearly enough information...
    In other words, if you would like help in trying to work out where you've gone wrong, you should provide a small enough example of your code that demonstrates the error. We might then actually stand a chance of being able to help you!

  • PL/PDF - Procedure test1 is executed but gives error

    Hello All,
    I have Oracle XE 10g with Oracle Apex and recently I installed PL/PDF in the same. I tried to execute the headerfooter procedure given in the installation guide. But it gives error ORA-20000: ERR-006 Procedure call error: xxfooter. How can I get the header and footer from this procedure headerfooter?
    - create header footer procedure
    CREATE OR REPLACE procedure headerfooter is
    /* 7. Example: Header, Footer, number of pages */
    l_blob blob;
    begin
    /* Initialize, without parameters means:
    - page orientation: portrait
    - unit: mm
    - default page format: A4 */
    plpdf.init;
    /* Defines the page number alias.
    Default: {nb} */
    plpdf.nopAlias;
    /*Sets the page header procedure name. The program name passed
    as a parameter executes when the page header is created. */
    plpdf.SetHeaderProcName(
    p_proc_name => 'xheader', -- Page header procedure name: xheader
    p_height => 10 -- Height of header section
    /* Sets the page footer procedure name. The program name passed
    as a parameter executes when the page footer is created. */
    plpdf.SetFooterProcName(
    p_proc_name => 'xfooter', --Page footer procedure name: xfooter
    p_height => 10 --Height of footer section
    /* Begin a new page, without parameters means:
    - page orientation: default (portrait) */
    plpdf.NewPage;
    /* Sets the font and its properties */
    plpdf.SetPrintFont(
    p_family => 'Arial', -- Font family: Arial
    p_style => null, -- Font style: regular (default)
    p_size => 12 -- Font size: 12 pt
    /* Draws a rectangle cell with text inside. */
    plpdf.PrintCell(
    p_w => 50, -- Rectangle width
    p_h => 10, -- Rectangle heigth
    p_txt => 'Page 1' -- Text in rectangle
    /* Begin a new page, without parameters means:
    - page orientation: default (portrait) */
    plpdf.NewPage;
    /* Draws a rectangle cell with text inside. */
    plpdf.PrintCell(
    p_w => 50, -- Rectangle width
    p_h => 10, -- Rectangle heigth
    p_txt => 'Page 2' -- Text in rectangle
    /* Returns the generated PDF document.
    The document is closed and then returned in the OUT parameter. */
    plpdf.SendDoc(
    p_blob => l_blob -- The generated document
    /* Print it:*/
         owa_util.mime_header('application/pdf',false);
    htp.p('Content-Length: ' || dbms_lob.getlength(l_blob));
    owa_util.http_header_close;      
    wpg_docload.download_file(l_blob);
    end;
    -Create footer procedure
    CREATE OR REPLACE procedure xfooter is
    begin
    /* Sets the font and its properties */
    plpdf.SetPrintFont(
    p_family => 'Arial', -- Font family: Arial
    p_style => 'I', -- Font style: Italic
    p_size => 8 -- Font size: 8 pt
    /* Print number of page */
    /* Draws a rectangle cell with text inside. */
    plpdf.PrintCell(
    p_w => 0, -- Rectangle width
    p_h => 10, -- Rectangle heigth
    p_txt => to_char(plpdf.CurrentPageNumber) || '/{nb}', -- Text in rectangle
    p_border => '0', -- Without frame
    p_ln => '0', -- Cursor position after the cell is printed: Beside
    p_align => 'C' -- Text alignment: Center
    end;
    Thanks.

    Thanks for your reply,
    Since the owner of header/footer procedures is different than plpdf, I should have given the grants to plpdf schema but unfortunately I missed. Thanks for the answer it worked. Instead of creating synonyms for the procedures in plpdf schema I am passing procedure name with qualifier, the name of its owner, to plpdf api (owner.procedure_name).

  • Files generated by Web Service Proxy give errors for complex input types

    Hi ,
    I generated a Java Web Service Proxy using a WSDL file.
    The input params are of this fashion -
    1) Object 1 have 3 attributes
    2) Object 2 having nested Object 2 (yes , again) which has a nested attribute which needs to be passed say Param 1.
    When I generate the proxy classes ... Param 1 is referred to as private Object2.Object2 param1 which gives error for the data types.
    How can we resolve this .. what should be the correct data type representation for param 1 ?
    Thanks

    Issue was resolved . Details here - 11g PS2 - WebServiceProxy Class give errors for complex input types

  • Sql server services give error the remote procedure call failed [0x800706be] in sql server 2008

    sql server services give error the remote procedure call failed [0x800706be] in sql server 2008.
    To resolve this issue, I executed the following mofcomp command in command prompt to re-register the *.mof files:
    mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof".
    but it does not work.
    Plz give the exact soln to solve this error.

    sql server services give error the remote procedure call failed [0x800706be] in sql server 2008.
    To resolve this issue, I executed the following mofcomp command in command prompt to re-register the *.mof files:
    mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof".
    but it does not work.
    Plz give the exact soln to solve this error.
    So when you tried starting SQL server service it gave the error right  ?  or when you click on SQL server services in SQL server configuration manager(SSCM) you get this error. Can you be more clear.  As far as I read your question it has something
    to do with permission. Close SSCM window and this time  right click on SQL server configuration manager and select run as administrator and check if you can see SQL server services
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • I have exported my bookmarks in JASON format now when I restore this one its gives error " Unsupported file type"

    I have exported my bookmarks in JASON format now when I restore this one its gives error " Unsupported file type"

    Hello UbaidUQ, any luck if you rename the file with no capital letters = .json, (no .JSON)
    thank you

  • Word (Office 2001) gives Type 2 error at start-up - help needed

    Good day - I'm puzzled by a problem I'm unable to resolve. First, Word (part of the Office 2001 suite) suddenly lost it's pull-down menus, including the About tab, and then, upon relaunch, gave me a Type 2 error and refused to start. It first shows the Start-up 'Gallery' scene, and when you try to open an existing document or a new Word document, it then briefly shows the Word template and then crashes with a Type 2 error (I've run this program for years without any major issues). When I couldn't get this resolved after re-starting with a desktop rebuild, I checked the other applications - Entourage, PowerPoint, and Excel, and they all work fine. I trashed the Microsoft prefs - still no change. I removed the fonts - no change. I reloaded the MS Word portion of the Suite - no change. I zapped the PRAM, tested all the system extensions, even replaced the Internet Prefs - no joy. I even went so far as to do a Clean Install of new System software from my software install disk. Other than this, I haven't loaded any new software or done anything that I can think would cause this, and the odd thing is that the program installed on the hard disk WILL RUN when I boot from a restore or Norton system CD! Yet, when I reboot into my system on the hard drive, I'm back to the error message. With brand new system software the application will crash as before. Short of completing re-installing the Office 2001 suite (which I don't want to do, as I will likely lose all my email and address book and calendar) or re-initializing the hard drive and completely starting over, losing everything, I'm at a loss. I have run Norton (de-fragged the HD, ran anti-virus, etc.), checked my hardware with the hardware test disk, used Disk First Aid, all to no avail - no problems with memory, hardware or software indicated. The only thing I haven't done is update drivers, primarily because I have a newer (3.2.8) disk driver on the system than the Driver Utility has, and I don't want to replace it with 3.2.7. Does anyone have any ideas as to what may be causing this, or have any ideas before I'm forced to take this to a Mac repair facility? Thanks in advance...

    Greetings to all - Thank you for your replies and help. I did this in reverse order to the posts. Trashing the ASLM, Finder, Mac OS and System Prefs provided the same result - Type 2 error at Word start-up. I had tested extensions using the extensions manager in sets of 5 with no change previously; I restarted with all extensions off (shift key at start-up) and got the same Type 2 error when launching MS Word.
    Further info: I've tried this with VM at 1M + installed memory and with VW at double installed memory and it made no difference (I've always used VM in substantial blocks, even with VPC, which I use daily). I've removed ATM 4.6 as a precaution. I've also tried to remove everything that interfaces with MS Word - PrinToPDF comes to mind, as well as all non-original fonts.
    I'm puzzled by one thing, which may be nothing but a curiosity, and it may have to do with the way I'm installing MS Word in an attempt to overcome this issue. As you know, Office 2001 provides you with a number which you need to retain upon installation. My original number, then, becomes superceded with each install; in other words, the last 4 numbers changes, out of the original 54092-XXX-XXXXXXX-XXXXX number provided. A number shows up on the initial lauch window; the problem I detect is that this number isn't the number given at the last install, but the ORIGINAL number I was given when the program was originally installed. This 'suggests' that perhaps the problem is with MS Word itself, as you'd think the program at lauch would recognize the new ID number given when the program files are re-installed using custom install. As an aside, I originally tried to do a 'drag and drop install of the Office 2001 folder, as suggested on the install disk; the system read the item numbers and gave me a 'preparing to copy' message and a spinning beach ball for 20 minutes before I was more or less forced to restart the computer with the reset button. I'm unsure this makes any difference, given that the program will launch with a boot disk, and all of the other modules will launch as they always have.
    I'm appreciative of your help and comments. I didn't realize that this forum existed before, having been using a local MUG forum exclusively, and I suspect I'll use it a lot in the coming months as I coax an aging machine to continue working. This may be the first time in 20 years of Mac ownership that a technician might be called for, but I'm hoping for an easier solution.

  • HT203175 Why won't iTunes install properly? It gives the start up error "The procedure entry point JSStringGetUTF8String could not be located in the dynamic link library WebKit.dll"

    I can't get iTunes to install/start on my HP laptop. When I start/install the current version, I get the following error "The procedure entry point "JSStringGetUTF8String could not be located in the dynamic link library WebKit.dll". Why isn't this dll included in the distribution? What do I do to get iTunes to install on my 64-bit AMD HP laptop.

    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. Now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair".
    Does iTunes launch properly now?
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post:
    Re: I recently updated to vista service pack 2 and I updated to itunes

  • Passing CLOB datatype to a stored procedure

    Hi,
    How do I pass a CLOB value to a stored procedure?
    I am creating a stored procedure which appends a value to a CLOB datatype. The procedure has 2 in parameter (one CLOB and one CLOB). The procedure is compiled but I'm having problem executing it. Below is a simplified version of the procedure and the error given when the procedure is executed.
    SQL> CREATE OR REPLACE PROCEDURE prUpdateContent (
    2 p_contentId IN NUMBER,
    3 p_body IN CLOB)
    4 IS
    5 v_id NUMBER;
    6 v_orig CLOB;
    7 v_add CLOB;
    8
    9 BEGIN
    10 v_id := p_contentId;
    11 v_add := p_body;
    12
    13 SELECT body INTO v_orig FROM test WHERE id=v_id FOR UPDATE;
    14
    15 DBMS_LOB.APPEND(v_orig, v_add);
    16 commit;
    17 END;
    18 /
    Procedure created.
    SQL> exec prUpdateContent (1, 'testing');
    BEGIN prUpdateContent (1, 'testing'); END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'PRUPDATECONTENT'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Any help or hints please.
    null

    sorry I made a mistake with the in parameter types - it's one NUMBER and one CLOB.

  • JDBC ADPATER -  "Unsupported feature" in XI with CLOB type

    Hi experts,
    I have 15 patch XI level.  In  a stored procedure i  use  an in and out parameter with CLOB type.  I get the exception:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'XXXX'): java.sql.SQLException: Unsupported feature
    If  i change the type CLOB by VARVHAR in the XI's XML (Design: Integration Buider), all works fine.
    The strored procedure has this parameter like CLOB.
    My question is
    Is not possible to use the CLOB type?  
    SAP recognize that it, it's possible:
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
    Sorry for my english. Thanks in advance.

    Hi,
    Please make sure you use the 10.x driver for full stored procedure CLOB support.
    A CLOB is a not comparable Datatype in SQL.
    Regards,
    Prateek

  • Type Mismatch error while calling a Java Function from Visual Basic 6.0...

    Hi,
    I'm having a problem in calling the Java Applet's Function from Visual Basic. First, I'm getting the handle of the Java Applet and components of it using "Document.Applets(n)" which is a HTML function. I'm calling this function from Visual Basic. My code is something like this...
    ' // Web1 is IE Browser in my Form.
    Dim Ap,Comp
    Dim Bol as Boolean
    Bol = true
    Ap = Web1.Document.Applets(0).getWindow() ' \\ Gets the Parent Window.
    Ap.setTitle("My Java Applet") ' \\ Sets the Title of the window.
    msgbox Ap.getVisibility() ' \\ This will return a Java boolean ( true or false )
    Ap.setVisibility(Bol) ' \\ Function Syntax is : void setVisibility(boolean b)
    Here in my code , i'm able to call any function that which accepts Integer or String but not boolean. So, i m facing problem with Ap.setVisibility() function. It gives me a "Type mismatch error" while executing it. Can you please tell me a way to do this from Visual Basic !
    I'm using Visual Basic 6.0, Windows 2000 , J2SDK 1.4.2_05.
    Please help me Friends.
    Thanks and Regards,
    Srinivas Annam.

    Hi
    I am not sure about this solution. try this
    Declare a variable as variant and store the boolean value in that variable and then use in ur method.
    Post ur reply in this forum.
    bye for now
    sat

  • Sims game keeps quiting and giving me a type 3 error message!

    Hi,
    I have been playing The Sims Original on my Power Macintosh 8600/300 for awhile now and all of a sudden after installing well over 800 new items (Like TVs,couches) it continuesly closes out and gives me a type 3 error message sometimes it freezes the whole computer as well. It simply just closes out as if I clicked it then once its closed it will give me the error message. I have never had this problem before and yes Iam pretty sure it can possibly be the items but theres so many and I dont want to loose them all! I dont even know for sure if thats the problem. My PM 8600 runs Mac OS 9.2.2,and has 160MB of RAM.
    Thanks all

    Well I just installed it into my iMac yesterday (Without any of the downloads) and it works fine! I guess it was the downloads. Ill have to watch out for them. I dont know why though, Even after I got rid of them all on thePowerMac it didnt stop with the message so I put them back! Then I got a type 2 error. Why? I like it on the iMac but I cant get my saved files over on this mac. Can I share files VIA USB?
    Thanks

Maybe you are looking for