How to see refcursor data while debugging

Dear Guru,
I have below procedure.
create or replace
PROCEDURE Main_Proc
RS_1 OUT TMRS_UTIL_PKG.RefCsr
AS
L_Excecution_Status NUMBER;
L_Sql_Code VARCHAR2(1000);
L_Sql_Error VARCHAR2(1000);
a NUMBER;
BEGIN
-- Initialize Execution Status.
G_Excecution_Status := 0;
G_Sql_Code := 'C';
G_Sql_Error := 'E';
DBMS_OUTPUT.PUT_LINE('Entered in Main_Proc.. ');
-- Return Resultset
OPEN RS_1 FOR
SELECT 'This output is from Main_Proc' AS Main_Proc_OP
FROM DUAL;
DBMS_OUTPUT.PUT_LINE('Left Main_Proc.. ');
G_Excecution_Status := L_Excecution_Status;
G_Sql_Code := L_Sql_Code;
G_Sql_Error := L_Sql_Error;
EXCEPTION WHEN OTHERS THEN
G_Excecution_Status := 1;
G_Sql_Code := SQLCODE;
G_Sql_Error := 'In Main_Proc SP => '||SQLERRM;
END Main_Proc;
I just want to see output contain in RS1.
I am using SQL Developer 3.0
Could anybody help me.
Regards
Sanjeev

When running a procedure with output cursor variable(s) the result is in structured output window (modulo bugs exposed in EA1).
You are asking how to view cursor data during debuging, however, and support of complex datatypes, cursor including, is limited. On the other hand, I can imagine that during debuging session you would step inside the calling procedure, where you would extract cursor data row-by-row into some other data structures. The idea I fail to understand is why somebody is not satisfied watching those data structures themselves. As Java developer, I have never peeked into the content of ResultSet (which is essentially client-side cursor in Java)!

Similar Messages

  • How to see the datas stored in DBMS_SQL.Varchar2S variable?

    how to see the datas stored in DBMS_SQL.Varchar2S variable?
    it says error if i use dbms_out.put_line.

    in PLSQL :
    procedure p_try (p_test IN OUT DBMS_SQL.VARCHAR2S) is
    begin
        p_test.delete ;
        p_test(    -3000) := '===============' ;
        p_test(       22) := 'Hello'  ;
        p_test(    55555) := 'World' ;
        p_test(987654321) := '===============' ;
    end p_try;
    set serveroutput on
    declare
         l_test dbms_sql.varchar2s ;
         i number ;
    begin
         p_try (l_test) ;
         i :=  l_test.first ;
         while i >= l_test.first and i <= l_test.last loop
                 dbms_output.put_line (l_test(i)) ;
                 i := l_test.next(i) ;
         end loop ;
    end ;
    ===============
    Hello
    World
    ===============when using Forms, you would use TEXT_IO instead of DBMS_OUTPUT

  • How to see the object while moving on the artboard?

    hello everyone;
    maybe a silly question; how to see the object while moving on the artboard? i dont wanna see only the objects bounding box(outline of the object). i wanna see the object it self. thank you.

    What have they gone and messed up now?
    When I drag an object (with bounding boxes turned on), the object moves and the bounding box stays still until I stop dragging, upon which it snaps to the object’s new position.
    If I don’t have bounding boxes turned on (as I usually work), the object moves when dragged.
    If what Bedri says is right, they’ve gone and mended something that wasn’t busted.

  • How to see the data records for a dso based upon the request id?

    Hi all,
    How to see the data records based upon the request id on the dso.
    I need to see the data for a dso based upon the request id 444493 loaded from another dso through repair full update.
    thanks

    Hi,
    Step 1: select your request from DSO request tb
    Step 2: Select your DSO just above your contents/requests/reconstruction tabs
    Step 3: Click contents(Spectacles symbol) in the top area of your screen
    Step 4: Slect the required fields
    Regards,
    Suman

  • How to avoid authorization checks while debugging

    Hi,
    Can anyone let me to know how to avoid authorization checks while debugging
    for a standard transaction?
    -B S B

    Hello BSB,
    To start the debug put /hs will start the system debug.
    Then place the break points aat STATEMENT -- MESSAGE and F8
    So now the system will stop at the point where it throwing the error message change the value of SY-SUBRC to 0 from 4.
    Regards,
    Vasanth

  • How to see data while debugging

    hi all,
        I'm running one hr report , it takes 1hr to execute. I want to see , how many lines it is executed and how many records in the internal table filled, and ....
    Is there any t.code to view this data , .
    thanks in advance
    Naveen

    Naveen,
    It is VERY to the power of INFINITE important to know how to use the DEBUGGING concept.
    TABLE:- You can give the internal table name here and check the amount of data that got fetched once the select statement got executed.
    Fields:- You can see the what is the value that got stored in any of the fields that are used in the program.Suppose if you want to know what itab-makt has got then go to fields button and give the field name as itab-makt and press enter.This will show the data it is having when the execution point reaches this field.You can see at the maximum 8 fields in debugging.
    Break-point:- If you want to know whether a particular syntax is getting executed or not,if getting executed what is the result,then you can select that particular synatx in the program and press the STOP button.This is what they call "put a break-point at that line".
    Watch-Point:-Suppose you want to see what the field itab-makt is having then you can create a watch point on this field and run the program.Once the wathcpoint is reached the system will give you a message in the status bar saying that the watchpoint has reached.Thus you can run your program upto a point and see the value that got stored at that point of time.
    Overview:- It let's us know the processing blocks in the program that is currently running
    Call Stack-I don't know.
    Settings:-I don't know.
    The buttons
    F5-Single step
    This way you can run the debugging step by step,I mean each and every line of the program.
    F6, F7
    This way you can jump the performs and loops while debugging.
    F8
    Execution
    if you have any doubt revert it.
    K.Kiran.

  • How to see variable Data at the time debugging procedure in oracle toad 9.1

    Hi all,
    I am not able to see variable Data at the time of debugging procedure in oracle toad 9.1 .
    Any help would be appreciated .
    Regards,
    P Prakash
    Edited by: prakash on May 30, 2011 1:37 AM
    Edited by: prakash on May 30, 2011 1:37 AM
    Edited by: prakash on May 30, 2011 1:37 AM

    You might be aware Toad is not an Oracle product, so you need to post this at the forums of Quest, http://www.questsoftware.com
    Sybrand Bakker
    Senior Oracle DBA

  • How to see multilanguage data in web forms9i

    Hai Everybody
    I have installed 9i Developer Suite & 9i database in the same machine our application has to display multilanguage data like malay,chinese and english. our database is Parameters are as follows
    PARAMETER          VALUE
    NLS_LANGUAGE          AMERICAN
    NLS_TERRITORY          AMERICA
    NLS_CHARACTERSET     UTF8
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    Also I have set NLS_LANG=AMERICAN_AMERICA.UTF8 in associate home (In the Regedit both client & server home)
    I have create the sample table which has datatype varchar2(100) & nvarchar2(100) and I have inserted chinese character into both columns based on this table using NJSTAR communicator. Now i have created the sample form after running that form against web.i couldn't see the data in their chinese languages. I am able to see only junk data (some square boxes).basically 9i can run only against web. for that i have set it NLS_LANG = SIMPLIFIED CHINESE.ZHS16GBK in the \oracle\orad2k\forms90\server\default.env file. Also In the default browser I have given <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">.Still i could not see the chinese data.
    What should i do to see the data in their chinese languages.How to acheive this one in the web. Also while i am inserting the chinese data, without using NJSTAR ,is there any way to insert the data into oracle.
    Please help me it is very very very urgent for me.
    Thanks in advance
    Pavendhan.N

    Namachivayam,
    What is your client operating system? What is your regional options? Which version of JInitiator are you using?
    Regards,
    - Makoto

  • How to see the data after deploying

    Hi, I installed owb 9.2.0.2 and created a test mapping and deployed it successfully. It inserted few rows in my table. How can i see the data which was inseted other than SQLplus.
    Can i view data trough any OWb reports or do I need to use discoverer or report tools to view the data.

    Hi Sam,
    SQL Plus is one route, the other is indeed Discoverer or any relational query tool. For 10gR2 we are adding data viewers so you can see this directly in OWB.
    Jean-Pierre

  • SQL Developer - viewing table data while debugging

    Apologies if this is in the wrong forum.
    I'm using SQL Developer to debug a complex stored procedure line by line. There are a lot of inserts / updates / deletes in the procedure and I'd like to be able to view the data in the relevant tables after each statement has been run to see the effect of each statement.
    Trouble is, when I try to do this, SQL Developer shows the contents of the tables as if they have been unaffected by the stored procedure. Is there a setting somewhere or some type of locking I can use to see the data changes as they happen?

    Only the session that is inserting the data can see that new data until the session issues a commit, so I would doubt that you could do this. You probably want to a) view the data before the insert or b) (ugly but should work) put a trigger on the table being inserted so it inserts a copy of the data to a tracking table. This procedure will have to have the AUTONOMOUS TRANSACTION pragma in order to not be held until your debug session commits.

  • How to avoid duplicate data while inserting from sample.dat file to table

    Hi Guys,
    We have issue with duplicate data in flat file while loading data from sample.dat file to table. How to avoid duplicate data in control file.
    Can any one help me on this.
    Thanks in advance!
    Regards,
    LKR

    No, a control file will not remove duplicate data.
    You would be better to use an external table and then remove duplicate data using SQL as you query the data to insert it to your destination table.

  • How to see Chinese data using SQL Plus?

    Hi,
    Is it possible to see the Chinese character string saved in the database by using English version Sql Plus? The following data is set up in the table NLS_DATABASE_PARAMETERS in my oracle database. I'm really appreciated if anybody could help me.
    Thanks,
    Suwei Ma
    [email protected]
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET UTF8
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    PARAMETER VALUE
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_NCHAR_CHARACTERSET UTF8
    NLS_RDBMS_VERSION 8.1.7.4.1

    Thanks for your repley. I don't think I need to change NLS_CHARACTERSET setup because I can load Chinese data into the database and also can see the data by running Chinese tool like NJStar Communicator. Therefore, I probably need to change the session level parameters, but not sure.

  • How to see multilanguage data in forms9i

    Dear All,
    I have installed 9i Developer Suite & 9i database in the same machine.our application has to display multilanguage data like malay,chinese and english.our database is character set is AL32UTF8. Also I have set NLS_LANG=AMERICAN_AMERICA.UTF8 in associate home (In the Regedit both client & server home)
    I have create the table which has datatype varchar2 & nvarchar2. Also I have inserted chinese character into
    both columns based on this table . Now i have created the sample form after running that form against web.i couldn't see the data in their chinese languages. I am able to see only junk data (some square boxes).basically 9i we can run only against web. for that Even i have set it NLS_LANG = SIMPLIFIED CHINESE.ZHS16GBK in the \oracle\orad2k\forms90\server\default.env file. Also In the default browser I have given
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">.Still i could not see the chinese data.
    What should i do to see the data in their chinese languages. Please help me it is very very urgent for me.
    Thanks in advance
    Pavendhan.N

    Hi,
    actually if you see data garbaged then this points to a wrong character set used for the application. on the Web Forms9i uses the NLS setting that is defined in the default.env file in the forms90/server directory. Since you only can set one NLS parameter you should look for a character set that can render all language strings you use.
    Frank

  • How to see battery status while playing a game

    Some games seem to close off menu bars and everything else.
    My daughter plays the sims 3 and sometimes uses battery power, but she always panics that the mac will just shut down due to lack of battery power.
    How does she see what the power is at while playing the game?
    Its normally just in the menu bar, but like i say this game overrides all that info until the game has been quit.
    Thanks.

    Anybody?

  • How to see archive data for Sales order

    Hi all,
            I am working on PS , network is created with sales order 10911. the components are added while sales order created, but after that someone deletes the sales order, because now it is showing oder does not found, where i get the entreis for sales order.
    Regards,
    Khushi.

    Hi Khushi,
    To see the archived data for sales order , go to transaction code SARA.
    Choose object name as SD_VBAK.Click READ.
    It will show a screen giving a name of program and option to execute in background or foreground.
    It will help you to get information about archived sales order data.
    Hope it helps you.
    Thanks,
    Sarita singh Rathour
    Edited by: Sarita Rathour on Aug 28, 2009 7:46 AM

Maybe you are looking for

  • How can I import data from a csv file into databse using utl_file?

    Hi, I have two machines (os is windows and database is oracle 10g) that are not connected to each other and both are having the same database schema but data is all different. Now on one machine, I want to take dump of all the tables into csv files.

  • (Input and) output formats from Photoshop Elements 6 for Mac

    I noticed that (until midnight PT, anyway) Amazon has Photoshop Elements for the Mac at a lower price than usual.  This brings up a question for me: What output formats can Photoshop Elements 6 produce?  In particular, can it produce PNG?  Also, can

  • Robohelp HTML 5.02 - Topics in index do not synchronize

    I have Robohelp HTML 5.02 - when I select a help button from the program the top navigation window synchronizes but the Topics within the Index window do not. I tried the solution suggested in online help but I must have a previous version of Robohel

  • Sharing a Personal LaserWriter 320

    I know how to share the printer, but the support website here just has me going round and a round and a round in circles trying to download the LaserWriter Bridge CP. I can find the userguide and the installation instructions, but I have been searchi

  • Trying to clock MSI FX5900 TD128

    First of all: HI! (This is my first post here  ) ) I recently got muself a MSI FX5900 TD128. I installed the msi drivers and I saw it is possible to adjust the clock there. It is one (2D) that says 300mhz and one (3D) that says 400mhz. I've tried to