Printing the Package output from Anonymous block

Hi,
I need to call the below package from anonymous block and get the output.
Could you let me know.
I tried using this, but i don't get data.
===========Anonymous Block=====================================================================
declare
var              xxdc.xxdc_sr_log_his_pkg.sr_tbl_type;
l_sr_idx_bi  BINARY_INTEGER := 0;
BEGIN
xxdc.xxdc_sr_log_his_pkg.service_record('14040',var);
dbms_output.put_line('CLAIM_CREDIT_OFFERS  :'||var(l_sr_idx_bi).qa_credit_offers(l_sr_idx_bi).character1 );
end;
=============================================================================================
============================================================================================
Package Spec
TYPE cr_offer_type IS TABLE OF apps.qa_results_v%ROWTYPE  
INDEX BY BINARY_INTEGER;
TYPE sr_rec_type IS RECORD
(task_status                      apps.jtf_task_statuses_tl.name%TYPE
,task_type                        apps.jtf_task_types_tl.name%TYPE
,qa_credit_offers                 cr_offer_type
TYPE sr_tbl_type IS TABLE OF sr_rec_type
INDEX BY BINARY_INTEGER;
PROCEDURE  service_record(p_service_req_num IN  VARCHAR2
                                           ,p_service_req_tbl OUT sr_tbl_type
Package Body
       FOR emp_row_rec IN cur_credit_off
       LOOP
         l_sr_tbl(l_sr_idx_bi).qa_credit_offers(l_sr_idx_bi).character1 := emp_row_rec.character1;
         --dbms_output.put_line( l_sr_tbl(l_sr_idx_bi).qa_credit_offers(l_sr_idx_bi).character1);   --commenting for testing
          l_sr_idx_bi := l_sr_idx_bi + 1;
       END LOOP;
      p_service_req_tbl := l_sr_tbl;
=============================================================================================
Thank

Hi,
Did you issue the SQL*Plus command
SET  SERVEROUTPUT  ON
or, if you're using some other front end, its equivalent?
Can you ever see output from dbms_output?  For example, what happens when you run this?
SET  SERVEROUTPUT  ON
BEGIN
    dbms_output.put_line ('Hello, world!');
END;
Since I don't have your tables, I can't actually run your code.  If you'd post CREATE TABLE and INSERT statements, or re-write the package to reference commonly available tables, such as those in the scott schema, then I could test it.

Similar Messages

  • Probem in printing the randum output from HashSet

    hi all,
    pls give me some hints to print only one randum out put..
    my code
    public static void main(String args[]) {
              HashSet set =new HashSet();
              set.add("Scambled egg");
              set.add("waffles");
              set.add("fruit");
              set.add("cereal");
              set.add("toast");
              set.add("yogart");
              Iterator itr = set.iterator ( );
              while(itr.hasNext()){
              String breakfast = itr.next().toString();

    i have done it..
    can you pls edit my code..
    ArrayList list = new ArrayList();
              list.add("Scambled egg");
              list.add("waffles");
              list.add("fruit");
              list.add("cereal");
              list.add("toast");
              list.add("yogart");

  • Need to Print the Report Output

    Hi,
    I want to print the report output. How to install a printer in Oracle Appls. If i give number of copies 1 or morethan 1(from SRS Window)...the report is completed-warning. pls advice
    Thanks in advance.

    Hi,
    I changed the printer to Epson LQ2170 and Epson LQ2180 but since I don't know the initialization and reset parameter (already search for the manual but couldn't find it, downloaded from Epson's website but couldn't find it either) so I register it with LQ1070. I'd tested to print the reports directly from Reports Builder 6i and it printed just as I wanted to but when I tried to print from oracle apps it only printed up to about 3/4 width of the paper. I tried to change the report's height and width, paper size, orientation but no luck. What should I do? Thanks

  • Want to print the stack trace from the code

    looking for a way to print the stack trace from the CVI code.
    Thanks!

    First I would share the movie. If I was making a DVD, I would use SHARE/To Media Browser in LARGE size.
    Then I would use a free application called MPEG Streamclip,
    Get MPEG Streamclip, which is free. (google MPEG Streamclip from Squared 5)
    Open MPEG Streamclip.
    In the Finder, go to Movies/iMovie Projects, and right click on your project. Then, right-click/Show Package Contents. Navigate to the Movies folder in the package and find the LARGE movie. (Note: you are in the bowels of the Media Browser)
    Drag this movie into MPEG Streamclip. (It will not actually move anywhere. This tells MPEG Streamclip how to find it.)
    In MPEG Streamclip, move the playhead to the frame you want.
    In MPEG Streamclip, click FILE/EXPORT FRAME.
    Choose JPEG, TIFF, or PNG and give it a name.
    You can then drag this photo into iPhoto, iDVD, or wherever you need it.
    (Assuming you already know this) In iDVD, you can find the Media Browser at the lower right of the Window. Navigate to your project and drag it into iDVD.

  • What are the characteristics of the sound output from the speaker iPad3?

    What are the characteristics of the sound output from the speaker iPad3?

    man -s4 proc
    or
    http://docs.sun.com/app/docs/doc/817-0683/6mgff29c4?q=procfs&a=view
    Its a virual directory structure with a directory per process. These per process directories contain more directories and files that supply detailed information on that process eg per open file information.
    Access to the per process directories is controlled by checking the credentials of the accessing process against the credentials of the
    process whose procfs directory is being accessed.
    tim

  • Trying to understand what are the parameter/output From debug SNMP timers

    Hi All
    I am trying to understand what are the parameter/output
    From the debug SNMP timers
    Output SNMP timers :
    *Dec 31 11:56:27: SNMP: HC Timer 632DDE28 fired
    *Dec 31 11:56:27: SNMP: HC Timer 632DDE28 rearmed, delay = 5000
    *Dec 31 11:56:32: SNMP: HC Timer 632DDE28 fired
    *Dec 31 11:56:32: SNMP: HC Timer 632DDE28 rearmed, delay = 5000
    *Dec 31 11:56:37: SNMP: HC Timer 632DDE28 fired
    *Dec 31 11:56:37: SNMP: HC Timer 632DDE28 rearmed, delay = 5000
    *Dec 31 11:56:38: SNMP: HC Timer 70B54A70 fired
    *Dec 31 11:56:38: SNMP: HC Timer 70B54A70 rearmed, delay = 20000
    70B54A70 , 632DDE28 „² what this number means.
    5000 , 20000 „² why I have different delay time ( does it means that I have delay for SNMP request )

    The debug messages you are seeing are related to High-Capacity (HC) timers, which manage updates to 64-bit (HC) snmp counters as defined in RFC2233.
    The "fired" and "rearmed" messages indicate when each of these timers
    updates ("fired") the HC snmp counters, and when they should fire next
    (the "rearmed" messages). Higher speed interfaces require updates more often than lower speed interfaces, so you see two examples of that in your debug messages - 5000 ms updates vs 20000 ms update.
    The numbers that are in the messages (i.e. 632DDE28 ) are internal references to the timer that has fired.
    These messages do not indicate any delay in SNMP message processing, but normal SNMP operation of HC counters.

  • Anyway to supress the coulmn names in the query output from SQLPLUS

    Hi,
    I am using sqlplus to run a script which returns the results with column names.
    Is there anyway to omit the column names from the query output from sqlplus?
    I would like to have only results with out their column names in the output.
    Thanks in advance!!

    Hi,
    Maybe your LINES(IZE) isn't set ?
    SCOTT>set lines 130
    SCOTT>select status, machine, module
      2    from v$session
      3   where upper(username) = 'SCOTT';
    STATUS   MACHINE                                                          MODULE
    INACTIVE PFAE3\VPC4894-03                                                 TOAD 9.7.2.5
    ACTIVE   PFAE3\VPC4894-03                                                 SQL*Plus
    2 rows selected.
    SCOTT>As an alternative to setting linesize, you can format columns:
    SCOTT>set lines 80
    SCOTT>col status for a8
    SCOTT>col machine for a30
    SCOTT>col module for a30
    SCOTT>select status, machine, module
      2    from v$session
      3   where upper(username) = 'SCOTT';
    STATUS   MACHINE                        MODULE
    INACTIVE PFAE3\VPC4894-03               TOAD 9.7.2.5
    ACTIVE   PFAE3\VPC4894-03               SQL*Plus
    2 rows selected.
    SCOTT>Regards
    Peter

  • How to load DataBlock based on the Multiple Condition from another block

    Hi
    How to load a Data Block based on the Multiple values from another block. For eg.EMP is the Master Data block and SAL is the child Datablock.When query JOS% in the Master Block(EMP) then display all the Sal details in the SAL block for all the employees starting with JOS , When clicking one buton or if it is possible in the loadin of the MasterBlock

    Hi,
    I presume you are using database block relations.
    Put automatic query = yes in relation properties.
    Do you have block level trigger ON-POPULATE-DETAILS?
    In that you can find the relation and query - Using built-ins
    Find_Relation and Query_Master_Details

  • Printing the pick list from the delivery automatically

    Hi All,
    Please let me know how to do the : Printing the pick list from the delivery automatically ?
    Thanks in advance.
    Regards,
    Nagaraju.

    hi,
    execute VL70.
    balajia

  • What does this Adobe Muse error message mean: MuseJSAssert: Error calling slector function:SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with orign "null" from accessing a cross-origin frame.

    So what is up with this error message in Muse?
    MuseJSAssert: Error calling slector function:SecurityError: Failed to read the ‘contentDocument’ property from ‘HTMLIFrameElement’: Blocked a frame with orign “null” from accessing a cross-origin frame.

    This is a genuine security error generated by the browser when viewing a page with iFrame content locally.
    Please refer to Zak's reply in the following thread: https://forums.adobe.com/message/6496180#6496180
    Cheers,
    Vikas

  • We have an imac 27, with 2 accounts.  We share a Canon 9000 II printer, wired..  If my wife prints a photo it printes perfectly  When I print the same pic from my  account, overall dark magenta cast. Ideas????

    We have an iMac 27, wife and I each have an administrator account.  When she prints a pic from iphoto, or from  the web, the colors are perfect, they match the monitor.  When i print the same pic from my account, there is a dark magenta cast overall.  Same printer, same driver, same paper.  Using a Canon 9000series II printer, connected by wire.  This is a new phenomenon.  Using new inks, cartridges are full, all lit.  Any ideas what could be causing this weird phenomenon???

    When i print the same pic from my account, there is a dark magenta cast overall. 
    what happens when you print from your wives account?
    This is a new phenomenon. 
    When did this start, when you installed a new OS, applications, new Mac?
    A first step is to reset the printer from your account:
    Apple Menu > System Preferences > Printers: right click in the list of printers and select Reset Printing System

  • Can I put ALL the sound output from my iMac through Airport?

    Just got Airport Express, and managed to install it very quickly on my existing Belkin network. Just don't forget the $ before your WEP key.
    Does anyone know if its possible to put ALL the sound output from my iMac through to Airport, rather than just iTunes? So internet radio, streaming videos etc?

    Thanks matey - that's just what I was after.
    Not sure if that will also let me put my iMac's system sounds through my HiFi - probably not - but then who in their right mind could possibly want to...?
    (Be nice if you could though)

  • Yesterday suddenly the sound output from my Headphone is not working

    Hi, I've Mac Book Pro 15" with Retina display. Yesterday suddenly the sound output from my Headphone is not working. When I tried to solve this, I've noticed in system preferences it's jumping from Internal speakers to Head phone and vice versa. Can anyone help me on this issue please? I am using the original Apple Headset only.
    Thanks
    Babu
    <Re-Titled By Host>

    Tell us:
    OS X version ?
    What may have changed prior to the onset of the issue of "... suddenly... not working..." and " ... preferences ... jumping from ..." ? Software added, upgraded, updated?
    what precidely do you mean by " ... preferences ... jumping from ..." ?
    ÇÇÇ
    EDITadded
    I see that your Question has languished for some period of time without response. You have posted your issue in Using Apple Support Communities whose topic is 'How to use this forum software's interface, features and/or how to find what you wish'. It is a relatively low traffic and inappropriate forum for your problem. I will ask our Hosts to move it to " MacBook Pro " where it may get a more rapid response from your fellow users.
    endEDIT

  • Is the raw output from JSP and XSQLServlet the same?

    Hi
    Is there is difference between the raw output from XSQLServlet and JSP? For example, assuming the same content is being generated, is there some additional header information emitted by XSQLServlet that is not done by JSP?
    I am using software that successfully consumes generated content from a JSP OK, but the same content (using the same XML/XSL) generated from XSQLServlet is being rejected. I am puzzled by this. Maybe this is due to some differences in servlet output or an encoding issue? The content is not HTML but XML-like with an "application" contentType, like Steve's SVG example.
    It seems that XSQLServlet is showing some data prior to emitting the actual content, i.e. HTTP version, responding server version, content type and date, e.g.
    HTTP/1.0 200 OK^M
    Server: Resin/2.0.5^M
    Content-type: application/x-sky; charset=UTF-8^M
    Date: Thu, 28 Mar 2002 06:45:34 GMT^M
    ^M
    (then the generated content)
    Is this preamble usually generated by a JSP also?
    If not, can this information be turned off, or put another way, can XSQLServlet's raw output be set to be exactly like JSP? If not, is there a workaround?
    I have tried setting the following XSQLConfig.xml
    <suppress-mime-charset> for the mime-type &
    <character-set-conversion>
    <none/>
    </character-set-conversion>
    also, but to no avail.
    Please help! I really want to use XSQLServlet!
    Thanks.
    Michael.

    Yes, just less fine control over the process but the same engine.
    Regards
    TD

  • NOT Able to print the Report output in the Printer

    Hello guys
    I have a concurrent Program-which is a report.A printer is installed in Oracle apps and i have assigned that printer to the concurrent Program.Now the problem is when i run the report after giving number of copies as 1 in options button,the report is getting completed sucessfully but it is not getting printed in the printer.
    please help me in this issue.
    log message:
    Printing output file.
    Request ID : 56734501      
    Number of copies : 1      
    Printer : xx-printer
    Finished executing request completion options.
    thanks

    Pl post your OS and EBS versions and pl confirm that you can print the file to the printer from the OS level using OS commands.
    MOS Doc 297522.1 - How to investigate printing issues and work towards its resolution ?
    HTH
    Srini

Maybe you are looking for

  • Aggregate functions like 'max' in XQuery..

    Hello, I am trying to find the max of one of the fields in the table using XQuery aggregate function: fn:max as described in the below URL: http://e-docs.bea.com/aldsp/docs30/xquery/sql_pushdown.html Here is what I have: declare $lineNo as xs:int :=

  • What is a data set

    Hi can any body tell me What is a data set, Plz clarify my dought. Regards manikanta

  • Missing a plugin but when try to search for it , it won't find it.

    I am trying to run a chatroom. Whenever I load the page, it says "A plugin is needed to display content" When I click that, it says to do "Java Runtime Environment" When I click next to have it run, it says not available and to try Manual Install. Wh

  • Monitoring for Inbound Emails

    Hi There! I have been asked by a client who recently had an outage of inbound emails due to corrupted Kasepersky Definitions in GWAVA, that we setup something that alerts them when new emails have no come into the receive folder from externally withi

  • What is the name of Report Builder Resource File

    Can Anybody knows what is the name of Report Builder Resource file and can it open in Oracle Terminal or not. Regard's Fahed