Not getting the expected output in report, run throughapps

hi,
when i run the report through apps, there are some records missing. But, i executed the same query in TOAD, which is used in the data model of the report, and i got the expected output. But, the same, when run through apps, not giving the result.
Can anybody please help me in this regard?
Thanks,
maschender

You should probably ask in
PL/SQL
Note: Make Sure you post your table structure, your sample query and expected output.

Similar Messages

  • Help me to get the expected output for this procedure

    Hi
    i wrote a procedure in this way
    create or replace PROCEDURE compare_data(tabname in varchar2 default 'VARE_PPP',current_version in integer default 258,previous_version in integer default 253)
    is
    TYPE table_type IS TABLE OF varchar2(4000)
    INDEX BY BINARY_INTEGER;
    t1 table_type ;
    SUBTYPE max_varchar2_t IS VARCHAR2 (32767);
    stmt_col_list max_varchar2_t;
    stmt_row_val max_varchar2_t;
    col_select_list max_varchar2_t := NULL;
    col_list_tab1 max_varchar2_t := NULL;
    col_list_tab2 max_varchar2_t := NULL;
    col_list max_varchar2_t := NULL;
    select_list_ver1 max_varchar2_t :=NULL;
    select_list_ver2 max_varchar2_t := NULL;
    type t_crs is ref cursor;
    c_get_diff t_crs;
    procedure get_header(tabname in varchar2) is
    col_name varchar2(100);
    cursor c_column_list is
    select COLUMN_NAME from all_tab_columns WHERE table_name = tabname and column_name not in('VERSION','LAST_MODIFIED_TIMESTAMP','LAST_MODIFIED_USER') order by COLUMN_ID asc;
    --stmt_col_list := 'select COLUMN_NAME from all_tab_columns WHERE table_name = '||tabname||' and column_name not like != '||temp1||' and column_name != '||temp2||' and column_name != '||temp3||' order by COLUMN_ID asc' ;
    begin
    col_select_list := 'tab1.version';
    htp.tableheader('Version');
    open c_column_list ; --for stmt_col_list;
    loop
    fetch c_column_list into col_name;
    exit when c_column_list%notfound;
    htp.tableheader(col_name);
    if col_name not like 'LAST_MODIFIED_TIMESTAMP' or col_name not like 'LAST_MODIFIED_USER' then
    if col_list_tab1 is null then
    col_list_tab1 :='tab1.'||col_name;
    col_list_tab2 :='tab2.'||col_name;
    col_list := col_name;
    elsif col_name not like '%END%' then
    --dbms_output.put_line('deepak:'||g_columns (l_index).column_name);
    col_list_tab1 :=
    col_list_tab1 || '||' ||'tab1.'||col_name;
    col_list_tab2 :=
    col_list_tab2 || '||' ||'tab2.'||col_name;
    col_list :=
    col_list || ',' ||col_name;
    end if;
    col_select_list :=
    col_select_list || ', ' ||'tab1.'||col_name;
    end if;
    end loop;
    DBMS_OUTPUT.put_line('col_select_list:'||col_select_list);
    DBMS_OUTPUT.put_line('col_list_tab1:'||col_list_tab1);
    DBMS_OUTPUT.put_line('col_list_tab2:'||col_list_tab2);
    DBMS_OUTPUT.put_line('col_list:'||col_list);
    close c_column_list;
    end get_header;
    procedure get_difference(ver1 in integer,ver2 in integer) is
    name_column varchar2(100) ;
    begin
    select_list_ver1 := 'SELECT '||col_list||' FROM '||tabname||' WHERE VERSION = '||current_version;
    select_list_ver2 := 'SELECT '||col_list||' FROM '||tabname||' WHERE VERSION = '||previous_version;
    stmt_row_val := 'select '||col_select_list||' from '||tabname||' tab1,('||select_list_ver1||' minus '||select_list_ver2||' ) tab2 where '||col_list_tab1||'='||col_list_tab2||' and tab1.version in ('||current_version||','||previous_version||')';
    open c_get_diff for stmt_row_val;
    loop
    fetch c_get_diff bulk collect into t1;
    for cnt in t1.first..t1.last
    loop
    htp.tabledata(t1(cnt));
    dbms_output.put_line(t1(cnt));
    end loop;
    exit when c_get_diff%notfound;
    end loop;
    close c_get_diff;
    end get_difference;
    begin
    htp.htmlopen;
    htp.bodyopen;
    htp.tableopen(cattributes=>'border="2",bordercolor="BLACK",width="60%",align="CENTER"');
    htp.tablerowopen;
    get_header(tabname);
    htp.tableheader('Remark');
    htp.tablerowclose;
    htp.tablerowopen;
    get_difference(current_version,previous_version);
    htp.tabledata('New/Modified');
    htp.tablerowclose;
    htp.tablerowopen;
    get_difference(previous_version,current_version);
    htp.tabledata('Deleted');
    htp.tablerowclose;
    htp.bodyclose;
    htp.htmlclose;
    end compare_data;
    no errors are there but i am not getting the proper result mine expected result is
    253.00 TT Null 11/1/2006 12/31/2099 Y
    258.00 NBK Null 11/1/2006 12/31/2099 Y
    but i am getting
    258
    258
    can anyone help me out,why i am not getting the expected result.
    values which i am using in the query to execute dynamically are
    col_select_list:tab1.version, tab1.PPP_WCC_TYPE, tab1.PPP_WCC_PREFIX_TYPE, tab1.PPP_START_DATE, tab1.PPP_END_DATE, tab1.PPP_INDICATOR
    col_list_tab1:tab1.PPP_WCC_TYPE||tab1.PPP_WCC_PREFIX_TYPE||tab1.PPP_START_DATE||tab1.PPP_INDICATOR
    col_list_tab2:tab2.PPP_WCC_TYPE||tab2.PPP_WCC_PREFIX_TYPE||tab2.PPP_START_DATE||tab2.PPP_INDICATOR
    col_list:PPP_WCC_TYPE,PPP_WCC_PREFIX_TYPE,PPP_START_DATE,PPP_INDICATOR

    I wish I knew your application !!!

  • Not getting the complete output in the crontab script

    Hi All,
    I am running a script to find the CPU and memory utilization of the Oracle 10g server. Script name is atul.sh. When i run this script then it gives the desired output as mentioned below:
    bash-3.00$ cat ./SCRIPTS/atul.sh
    *A=`date| cut -d" " -f1-9; top -d 1| awk '/^CPU states/ {print $3,$5,$7,$9} /^Mem/ {print $2,$3,$4,$5,$6,$7,$8,$9,$10}'*
    echo $A
    bash-3.00$
    bash-3.00$ ./SCRIPTS/atul.sh >> /oracle/SCRIPTS/toplog
    bash-3.00$ cat /oracle/SCRIPTS/toplog
    Thu Sep 8 11:43:49 IST 2011 99.5% 0.0% 0.5% 0.0% 2048M phys mem, 77M free mem, 8193M total swap,
    bash-3.00$
    However, when i run this script through crontab, it gives incomplete output. It only display the date and not the cpu and memory utilization.:
    bash-3.00$ crontab -l
    * * * * * /oracle/SCRIPTS/atul.sh >> /oracle/SCRIPTS/toplog
    bash-3.00$
    bash-3.00$ cat /oracle/SCRIPTS/toplog
    Thu Sep 8 11:43:49 IST 2011 99.5% 0.0% 0.5% 0.0% 2048M phys mem, 77M free mem, 8193M total swap,
    Thu Sep 8 11:44:00 IST 2011
    Thu Sep 8 11:45:00 IST 2011
    bash-3.00$
    Kindly, provide me the soluton.
    Edited by: 883925 on Sep 7, 2011 11:24 PM
    Edited by: 883925 on Sep 7, 2011 11:29 PM

    Thanks everyone for the reply.
    *@DUDE*
    Still problem is not solved. I have used the command given by you but problem is same..*its displaying only date when scheduled from crontab*.
    bash-3.00$ crontab -l
    * * * * * /oracle/SCRIPTS/sm >> /oracle/SCRIPTS/memorylog.csv
    * * * * * /oracle/SCRIPTS/sc >> /oracle/SCRIPTS/cpulog.csv
    * * * * * /oracle/SCRIPTS/atul.sh >> /oracle/SCRIPTS/toplog.csv
    bash-3.00$
    bash-3.00$ cat atul.sh
    *A=`date| cut -d" " -f1-9; top -d 1 -n 1 | awk '/^Cpu/ {print $3,$5,$7,$9} /^Mem/ {print $2,$3,$4,$5,$6,$7,$8,$9,$10}'`*
    echo $A
    bash-3.00$
    bash-3.00$ cat toplog.csv
    Fri Sep 9 10:06:00 IST 2011
    Fri Sep 9 10:07:00 IST 2011
    Fri Sep 9 10:08:00 IST 2011
    bash-3.00$
    However, expected output is that it should display the CPU and memory utilization along with the date.
    bash-3.00$ ./atul.sh
    Fri Sep 9 10:08:52 IST 2011 2048M phys mem, 33M free mem, 8193M total swap,
    bash-3.00$
    Edited by: 883925 on Sep 8, 2011 9:43 PM

  • SsIncludeXml does not return the expected output

    Hi
    In the context of SiteStudio 10gR4:
    I want to emulate a simple key-value-map using a static list. The purpose is enable authors to reference frequently-changed text-variables and maintain them in a single file.
    When I attempt to use the ssIncludeXml function to place the value on a page, I get no result outputted. I have checked (using the XML-features in Oracle JDeveloper 11g) that the XPath actually evaluates to the expected value (FLAF_VAL_1). When I call the ssGetXmlNodeCount function with the same arguments, I get the result "0".
    What am I doing wrong? Is there any limitations on the kinds of XPath expressions that ssIncludeXml will evaluate?
    Thanks!
    I use this snippet to include the value:
    [!--$ ssIncludeXml("KEYVAL_TEST", "//wcm:element[@name='Key'][text()='FLAF_KEY_1']/../wcm:element[@name='Value']/node()") --]And this is my test file in the document KEYVAL_TEST:
    <?xml version="1.0" encoding="UTF-8"?>
    <wcm:root xmlns:wcm="http://www.stellent.com/wcm-data/ns/8.0.0" version="8.0.0.0">
    <wcm:list name="KeyValuePairs">
        <wcm:row>
          <wcm:element name="Key">FLAF_KEY_1</wcm:element>
          <wcm:element name="Value">FLAF_VAL_1</wcm:element>
        </wcm:row>
        <wcm:row>
          <wcm:element name="Key">FLAF_KEY_2</wcm:element>
          <wcm:element name="Value">FLAF_VAL_2</wcm:element>
        </wcm:row>
      </wcm:list>
    </wcm:root>

    Thank you for your reply!! It is great getting some helpful input to help me move forward on this issue!
    2. What you are doing in the example is a bit simpler and not really sufficient to express the query, I need to perform.
    I need to select the contents of a Value-element based on the value in corresponding Key-element in the row.
    This can easily be formulated using XPath. I have already posted a few different XPath expressions that are equvalent for this XML-file. Each of the expressions works perfectly in JDeveloper when querying the XML-file, and yet fails in Site Studio.
    The [Technical Reference|http://download.oracle.com/docs/cd/E10316_01/ouc.htm] states:
    This script extension is a core Site Studio method that allows any element within managed XML file to be extracted and returned in an Idoc string variable, which be placed directly on a web page as an HTML snippet. The content of the XML node that is being extracted will be further evaluated in the scope of the current layout and therefore can include further server-side Idoc Script, if necessary.
    The parameters are:
    - dDocName of XML data file
    - XPath expression (to identify a specific node or nodes of the XML data file)
    Do you know what implementation of the XPath language is used in Site Studio?
    Is it a subset of the language (the Technical Reference does not mention this at all)? Which subset?
    Here is another XPath expression that works perfectly well in JDeveloper and fails in Site Studio:wcm:root/wcm:list/wcm:row[child::wcm:element[@name='Key']/text()[.='FLAF_KEY_1']]/wcm:element[@name='Value']/node()Any insights are appreciated! :-)

  • GETTING NO ERROR BUT STILL NOT GETTING THE DESIRED OUTPUT!!!!!!!!

    HIII ,
    AM DOING AN APPLICATION IN WHICH I AM TRYING TO INSERT VALUES IN A TABLE(CREATED THRU JAVA DICTIONARY), USING EJBS(ENTITY BEAN AND SESSION BEAN) AND COMMAND BEAN..AND WEBDYNPRO....
    AFTER DEPLOYMENT EVRYTHNG IS RUNNING FINE BUT VALUES NOT GETTING ADDED IN THE TABLE...
    THE CODE FOR THE "ADD" BUTTON IS :
    wdContext.currentEmp_cmdElement().modelObject().add(wdContext.currentEmp_cmdElement().getEmpno(),wdContext.currentEmp_cmdElement().getEmpname());
    THE CODE FOR ADD function IN COMMANDBEAN IS
    public void add(String empno,String empname){
    try {
    local.createdata(empno,empname);
    } catch (Exception e) {
    e.printStackTrace();}
    PLZZ DO HELP OUT!!!

    try { aPreparedStatement.close();
               if(dmd!=null)
                            dmd = null;
               if(con!=null)
                            con.close();
                catch (Exception e)
                     e.printStackTrace();  
                }instead of catching the last error i printed it and it came up with an error of nullPointerException
    for the line of code
    try { aPreparedStatement.close();how can i fix this error please
    and thank you

  • Hi Guys,,I am not getting the right output?Plz help

    Hi Guys,
    Here is my code..
    ELSEIF p_versb  = 'W2'.
        CONCATENATE lv_perxx '08' INTO lv_date3.              (20090708)
        CONCATENATE lv_perxx '15' INTO lv_date4.              (20090715)
          SELECT  mseg~mblnr
                  mseg~bwart
                  mseg~matnr
                  mseg~lgort
                  mseg~menge
                  FROM mseg
                  INNER JOIN  mkpf
                  ON msegmblnr = mkpfmblnr
                  INTO TABLE t_temp
                  FOR ALL ENTRIES IN t_firmplan
                  WHERE mseg~matnr = t_firmplan-matnr       (490045,500001)
                  AND mkpf~budat GE lv_date3
                  AND mkpf~budat LE lv_date4
                  AND mseg~bwart IN ('101', '102')
                  AND mseg~werks = t_firmplan-werks.        (werks = 1100)
    Plz suggest where I m wrong ?
    Thanks
    Steve

    Hi,
    Check the
    SELECT mseg~mblnr
    mseg~bwart
    mseg~matnr
    mseg~lgort
    mseg~menge
    FROM mseg
    INNER JOIN mkpf
    ON mseg~mblnr = mkpf~mblnr
    INTO TABLE t_temp
    FOR ALL ENTRIES IN t_firmplan
    WHERE mseg~matnr = t_firmplan-matnr (490045,500001) " Check the matnr value in the MSEG table if it storing with
                                                  "  leading zero's then use the conversion exit to get the leading zero's
                                                  " in  t_firmplan-matnr
    AND mkpf~budat GE lv_date3
    AND mkpf~budat LE lv_date4
    AND mseg~bwart IN ('101', '102')
    AND mseg~werks = t_firmplan-werks. (werks = 1100)

  • I m trying to make a jcombobox that has 3 colors red, yellow and green.........its a run time error.......caus i m not getting the required output

    * To change this license header, choose License Headers in Project Properties.
    * To change this template file, choose Tools | Templates
    * and open the template in the editor.
    package Exp4;
    import java.awt.Color;
    import java.awt.GridLayout;
    import java.awt.event.ItemEvent;
    import java.awt.event.ItemListener;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    * @author Gursimran
    public class combox extends JFrame implements ItemListener{
        public combox()
            JComboBox cb;
            setLayout(new GridLayout(10,10));
            cb= new JComboBox<>();
            cb.addItem("Red");
            cb.addItem("Green");
            cb.addItem("Blue");
            add(cb);
            cb.addItemListener(this);
            setVisible(true);
            setSize(400,400);
        public static void main(String[] args)
            combox obj=new combox();
        @Override
        public void itemStateChanged(ItemEvent e)
            if(e.getItemSelectable().equals(0))
                        this.getContentPane().setBackground(Color.red);
            else if(e.getItemSelectable().equals(1))
                        this.getContentPane().setBackground(Color.green);

    Please post the exact error message you get.

  • HttpURLConnection is not giving the expected output.

    I am using HttpURLConnection to post a URL to a server which will return back an xml. I am using the following code and it's only returning a HTML page as output.
    Code :
    URL url = new URL(strURL);
    HttpURLConnection connection = (HttpURLConnection)url.openConnection();
    connection.setRequestProperty("Content-Type", "text/xml");
    connection.setDoOutput(true);
    connection.setRequestMethod("POST");
    OutputStreamWriter out = new OutputStreamWriter(connection.getOutputStream());
    out.write(sbContent.toString());
    out.flush();
    out.close();
    in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
    String inputLine = "";
    StringBuffer outputString=new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
         outputString.append(inputLine);
    in.close();               
    The outputString here returns a HTML, but it is suppose to return back an XML.
    Can anyone help me out in this.?
    Thanks,

    Hi,
    Yeah, I saw the logger and it's returning a HTML page which is the authorization page to enter the Server which I am posting the URL. It's not the HTML version of the XML file which I am expecting.
    Is the way which I am passing the session parameter correct? Please find below the code snippet for the method which I have.
    Thanks,
    Mala.S
    public Document parseFileLeaveDetails(String sDate, String eDate, String strUpi, String sessionParam) {
         String larsURLFromProp = ProjPortalIRIS4URLs.getIRIS4URLsFromProperty("LeaveDetails");
         BufferedReader in;
         Document doc = null;
    try {
         StringBuffer sbContent = new StringBuffer();
         sbContent.append("&start_dt=");
         sbContent.append(sDate);
         sbContent.append("&end_dt=");
         sbContent.append(eDate);
         sbContent.append(strUpi);
         sbContent.append("&SMSESSION=");
         sbContent.append(sessionParam);
         logger.debug("sbContent::"+sbContent);
         URL url = new URL(larsURLFromProp);
         logger.debug("The url is:::"+url);
         HttpURLConnection connection = (HttpURLConnection)url.openConnection();
         connection.setRequestProperty("Content-Type", "text/xml");
         connection.setDoOutput(true);
         connection.setRequestMethod("POST");
         OutputStreamWriter out = new OutputStreamWriter(connection.getOutputStream());
         out.write(sbContent.toString());
         out.flush();
         out.close();
         in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
         String inputLine = "";
         StringBuffer outputString=new StringBuffer();
         while ((inputLine = in.readLine()) != null) {
         logger.debug("inputLine::::"+inputLine);
              outputString.append(inputLine);
         in.close();               
         doc = parseFileLeave(outputString.toString());
         } catch(MalformedURLException me) {
         logger.debug("MarformedException ::"+me.getMessage());
         } catch(IOException ioe) {
         logger.debug("IOException ::"+ioe.getMessage());
         return doc;
    }

  • Not Getting the Exact Output

    input :
    S.No Description Qty. Units Rate(Rs.) Value(Rs.)
    1 Akon 1 Nos 3700 3,700
    2 Lester 1 Nos 1600 1,600
    3 Aamp 31 Rmt 270 8,370
    Gross Total     13,670
    The     above     Total include     Services     Tax Amount of     Rs     536                    
    Total Invoice Value     I                    13,670
    If i give this input...this may be anywhere in the text file.means.but i would like to extract this information...Here is my code:
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.Formatter;
    import java.util.Scanner;
    public class StringBuilderEx {
         static String Sno,Qty,Description,Unit,Rate,Value;
         public static void main(String args[]) throws FileNotFoundException{
              File file = new File("D:\\CSV\\tab2.txt");
              StringBuilder sb = new StringBuilder();
              Scanner scanner = new Scanner(file);
              if(scanner.hasNextLine())
                   scanner.nextLine();
              while (scanner.hasNextLine()) {
                   Sno = scanner.next();
                   Description = scanner.next();
                   Qty = scanner.next();
                   Unit = scanner.next();
                   Rate = scanner.next();
                   Value = scanner.next();
                   Formatter fmt=new Formatter();
                   fmt.format("%5$2S,%4$2s,%3$2s,%2$2s,%1$2s",Value,Rate,Qty,Description,Sno );
                   System.out.println("Sno :"+Sno);
                   System.out.println("Description :"+Description);
                   System.out.println("Qty :"+Qty);
                   System.out.println("Rate :"+Rate);
                   System.out.println("Value :"+Value);
                   System.out.println();
    }i am getting wrong output...
    Here is My Output:
    Sno :1
    Description :Aviation
    Qty :Lamp
    Rate :Nos
    Value :3700
    Sno :3,700
    Description :2
    Qty :Lighting
    Rate :1
    Value :Nos
    Sno :1600
    Description :1,600
    Qty :3
    Rate :Lamp
    Value :Cable
    Sno :31
    Description :Rmt
    Qty :270
    Rate :Gross
    Value :Total
    Sno :13,670
    Description :The
    Qty :above
    Rate :include
    Value :Services
    Sno :Tax
    Description :Amount
    Qty :of
    Rate :536
    Value :Total
    Sno :Invoice
    Description :Value
    Qty :I
    Rate :Now
    Value :Claimed
    Sno :100%
    Description :of
    Qty :Invoice
    Rate :13,670
    Value :(Rupees
    Sno :Thirteen
    Description :Thousand
    Qty :Six
    Rate :and
    Value :Seventy
    Exception in thread "main" java.util.NoSuchElementException
            at java.util.Scanner.throwFor(Scanner.java:838)
            at java.util.Scanner.next(Scanner.java:1347)
            at StringBuilderEx.main(StringBuilderEx.java:25)Can anybody help me inthis???

    If i give this input...this may be anywhere in the text file.means.but i would like to extract this information...Here is my code:Anywhere means...
    it may at the top..middle..bottom..of the text..it should recognise this and then apply the code..one more thing.."Desription" tag also extracting some random information..Here is my exact input file ..can you look once:
    INVOICE                         
    Ray TELE SERVICES PVT. LTD.          Invoice No: EMH48DCO56               
    Flat no.4 to 7, C/o Krishna Plaza,          Date:     28-Dec-07               
    Opp.Water Tanks, Near TATA Garden Busstop,           P.O.NO: 4352                
    Chandan Nagar, PUNE-14          Date:     28-May-07               
    PAN No.AACCA5469L                         
    CST TIN is: 27150005249C     w.e.f 01.04.2006                         
    VAT TIN is: 27150005249V w.e.f 01.04.2006                          
    ST Regn No. AACCA5469LST001                         
    To,          Site Name: Gad Mudsingi               
    Vodafone Essar Cellular Ltd.,          Tower Type: RTT               
    -.L)Metropolitan, F/P No.27,          Tower Height: 21 Mts               
    S.No. 21, Old Mumbai-Pune Highway,          Natureof Work:Avaition Lamp, Lighting Arrester               
    Wakadewadi, Shivaji Nagar,                          
    PUNE - 411005                         
    S.No     Description     Qty.     Units     Rate (Rs.)     Value (Rs.)
    1     Aviation Lamp     1     Nos     3700     3,700
    2     Lighting Arrester     1     Nos     1600     1,600
    3     Aviataion Lamp Cable     31     Rmt          270     8,370
         Gross Total                    13,670
         The     above     Total include     Services     Tax Amount of     Rs     536                    
         Total Invoice Value     I                    13,670
         Now Claimed 100% of Invoice Value                    13,670
    (Rupees Thirteen Thousand Six Hundred and Seventy only)                          
    For ASTER TELE SERVICES PVT LTD                         
    lk     .                         
    Authorised Signatory                         
    ASTER TELESERVICES PVT.LTD.
    4-7 Krishna Plaza, Opp. Water Tank, Near Tata Garden Bus Stop, Chandan Nagar, Pune - 411 014Here is My Output:
    Sno :1
    Qty :Aviation
    Description :Lamp
    Unit :1
    Rate :Nos
    Value :3700
    Sno :2
    Qty :Lighting
    Description :Arrester
    Unit :1
    Rate :Nos
    Value :1600
    Sno :3
    Qty :Aviataion
    Description :Lamp
    Unit :Cable
    Rate :31
    Value :Rmt
    Exception in thread "main" java.util.NoSuchElementException
            at java.util.Scanner.throwFor(Scanner.java:838)
            at java.util.Scanner.next(Scanner.java:1347)
            at StringBuilderEx.printinRequiredForm(StringBuilderEx.java:44)
            at StringBuilderEx.main(StringBuilderEx.java:35)any Help
    Edited by: abbhoshan on May 15, 2008 11:52 PM

  • Help for thst I can not get the correct output

    The program is :1,insert some strings.
    2.search some strings,if same to the strings inserted,output true.
    Other wise,ouput false
    But in my output,all are false.I have checked my code many times,but I can not figure it out.
    So ask for help.Thanks.
    My output:
    Inserting My
    Inserting name
    Inserting is
    Inserting John
    Inserting Latham
    Inserting and
    Inserting my
    Inserting hobbies
    Inserting include
    Inserting films
    Inserting music
    Inserting electronics
    Inserting and
    Inserting computing
    Searching for latham:false
    Searching for films:false
    Searching for swimming:false
    Searching for fishing:false
    Searching for computing:false
    Searching for climbing:false
    Searching for paragliding:false
    Searching for Latham:false
    Correct output:
    Inserting My
    Inserting name
    Inserting is
    Inserting John
    Inserting Latham
    Inserting and
    Inserting my
    Inserting hobbies
    Inserting include
    Inserting films
    Inserting music
    Inserting electronics
    Inserting and
    Inserting computing
    Searching for latham:false
    Searching for films:true
    Searching for swimming:false
    Searching for fishing:false
    Searching for computing:false
    Searching for climbing:true
    Searching for paragliding:false
    Searching for Latham:true

    And the other problem is that you didn't fix the problem from your last thread correctly.
    This is wrong.
    OBT.find( findString);
    System.out.println("Searching for " + findString[i] +":" + OBT.isEmpty());Just do this already.System.out.println("Searching for " + findString[i] +":" + OBT.find( findString[i]));                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • "If you get this error while viewing a webpage, it means a plugin has crashed. You can send a crash report to Mozilla by clicking on Send crash report. " but why do I not get the button "Send crash report"?

    This is the most recent upgrade to my Firefox version 3.6.8
    Mozilla Firefox for Ubuntu canonical - 1.0
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8
    Since then, every web page that makes use of the Adobe Flash plugin shows me grey windows with the message "Adobe Flash plugin has crashed".
    When I follow links telling me I can find out more I am taken to a Firefox Help page that shows an example of the same grey window with the same message. But there is a difference: directly under the "Adobe Flash plugin has crashed" message is shown a another message that says: "Send crash report". The Help page instructs me to click on that message because it is intended to be a link.
    Unfortunately, on all the grey windows displayed to me on any site where this problem arises, no such message: "Send crash report" is present. So how can I send a crash report?!

    You have the Ubuntu-specific build of Firefox - released as a package in the Ubuntu repository - and that has been built without including the ''crash reporter''.
    (So-called 'contributed builds' usually lack the updater - in the help menu - too, because they have their own updater.)

  • Not getting the required output:

    BID BNAME BAUTHNAME
    687 the haunted house steve breckman
    692 the adventureof reny steve breckman
    672 the adventureof rosy steve breckman
    672 the adventureof niel steve breckman
    677 the dog zone steve houstin
    BID SID BTAKE BRET
    692 123 22-AUG-11 30-AUG-11
    672 124 22-SEP-11 30-SEP-11
    677 127 22-OCT-11 30-OCT-11
    677 129 22-DEC-11 30-DEC-11
    create or replace procedure book is
    cursor cur is select count(b.bid) bidd,b.bname bnn,bd.btake from books b,booksdate bd where b.bid=bd.bid group by b.bname,bd.btake;
    begin
    for rec in cur
    loop
    dbms_output.put_line(rec.bnn||'has been purchased'||rec.bidd||'times');
    end loop;
    end;
    the o/p should look like
    the bookname purchased 2 times
    the bookname purchased 1 time
    can anyone jus modify it?

    Maybe NOT TESTED! remember the [url http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:73891904732164]mantra
    with
    books as
    (select 687 bid,'the haunted house' bname,'steve breckman' bauthname from dual union all
    select 692,'the adventure of reny','steve breckman' from dual union all
    select 672,'the adventure of rosy','steve breckman' from dual union all
    select 672,'the adventure of niel','steve breckman' from dual union all
    select 677,'the dog zone','steve houstin' from dual
    borrowing as
    (select 692 bid,123 sid,to_date('22-AUG-11','DD-MON-YY') btake,to_date('30-AUG-11','DD-MON-YY') bret from dual union all
    select 672,124,to_date('22-SEP-11','DD-MON-YY'),to_date('30-SEP-11','DD-MON-YY') from dual union all
    select 677,127,to_date('22-OCT-11','DD-MON-YY'),to_date('30-OCT-11','DD-MON-YY') from dual union all
    select 677,129,to_date('22-DEC-11','DD-MON-YY'),to_date('30-DEC-11','DD-MON-YY') from dual
    select b.bname || ' borrowed ' || to_char(c.the_count) || decode(c.the_count,1,' time',' times')
      from books b,
           (select bid,count(*) the_count
              from borrowing
             group by bid
           ) c
    where b.bid = c.bidRegards
    Etbin

  • Hey my headphone jack was broken and got stuck in may ipad, am not getting the audio output. Is there any solution for my problem

    Please do help me

    I too had a same problem, when I attached AUX IN pin of my car to my ipad it got stucked in it.I went to Apple Store, they were helpless and asked me to replace it with new one for 16000 INR.
    What I did is, I took a refill of a pen and sharped its back so that it exactly sits into the gap. After thar I applied some pressure and pulled it out...I got the remaining part wich was stucked.
    Try this, I hope this is risk free. All the Best.

  • Illustrator Launch Error: Windows registry was not in the expected state.

    Hi All,
    I just upgraded to CS3 Design Premium, and I'm I'm getting the following error when I launch Illustrator:
    "The Windows registry was not in the expected state. PLease run the Illustrator installer to correct this problem. Illustrator will continue to run, but may not operate properly."
    I'm running Vista Ultimate x64 on a dual Xeon workstation with 4GB of RAM. I found the following article in the knowledgebase, but it did not solve the problem:
    http://www.adobe.com/go/kb401602
    I have also uninstalled CS2, reinstalled CS3 and reinstalled CS3 *again*.
    Illustrator does run, but it's slow and unstable. Any thoughts on what's going on and what I can do to fix it? Many thanks!
    --Jim.

    Hello, any solution on this problem? I've got the problem with Illustrator CS3, XP where I get the registry error at startup and I can't open any .ai files on my computer from explorer. I can open the files by opening from Illustrator. Here's my registry entry:
    Registry key not found: .ai
    Expected string: Adobe.Illustrator.13
    Registry key not found: .eps
    Expected string: Adobe.Illustrator.EPS
    Registry key not found: .hyp
    Expected string: Adobe.Illustrator.Hyphen
    Registry key not found: Adobe.Illustrator.Hyphen
    Expected string: Adobe Illustrator Hyphenation Dictionary
    Registry key not found: Adobe.Illustrator.Hyphen\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,4
    Registry key not found: .aip
    Expected string: Adobe.Illustrator.Plugin
    Registry key not found: Adobe.Illustrator.Plugin
    Expected string: Adobe Illustrator Plugin
    Registry key not found: Adobe.Illustrator.Plugin\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,5
    Registry key not found: .flt
    Expected string: Adobe.Illustrator.Filter
    Registry key not found: Adobe.Illustrator.Filter
    Expected string: Adobe Illustrator Filter
    Registry key not found: Adobe.Illustrator.Filter\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,6
    Registry key not found: .dct
    Expected string: Adobe.Illustrator.Dictionary
    Registry key not found: Adobe.Illustrator.Dictionary
    Expected string: Adobe Illustrator Spelling Dictionary
    Registry key not found: Adobe.Illustrator.Dictionary\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,7
    Registry key not found: .sbx
    Expected string: Adobe.Illustrator.Tsume
    Registry key not found: Adobe.Illustrator.Tsume
    Expected string: Adobe Illustrator Tsume File
    Registry key not found: Adobe.Illustrator.Tsume\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,8
    Registry key not found: .aia
    Expected string: Adobe.Illustrator.Action
    Registry key not found: Adobe.Illustrator.Action
    Expected string: Adobe Illustrator Action File
    Registry key not found: Adobe.Illustrator.Action\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,10
    Registry key validated: .ase
    Registry key validated: Adobe.Illustrator.SwatchExchange
    Registry key validated: Adobe.Illustrator.SwatchExchange\DefaultIcon
    Registry key validated: .acb
    Registry key validated: .acbl
    Registry key validated: Adobe.Illustrator.ColorBook
    Registry key validated: Adobe.Illustrator.ColorBook\DefaultIcon
    Registry key validated: .8bf
    Registry key validated: .8bi
    Registry key validated: Adobe.Photoshop.Plugin
    Registry key validated: Adobe.Photoshop.Plugin\DefaultIcon
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\ProgID
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\VersionIndependentProgID
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\LocalServer32
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\InProcHandler
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\InProcHandler32
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\verb
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\verb\-3
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\verb\-2
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\verb\-1
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\verb\0
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\AuxUserType
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\AuxUserType\2
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\AuxUserType\3
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\MiscStatus
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\MiscStatus\4
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\Insertable
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\
    Registry key validated: Adobe.Illustrator.13\CLSID
    Registry key validated: Adobe.Illustrator.13\Insertable
    Registry key validated: Adobe.Illustrator.13\.ai\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.eps\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.prf\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.hyp\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.aip\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.flt\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.dct\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.sbx\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.8bf\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.8bi\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.aia\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.ase\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\shell
    Registry key validated: Adobe.Illustrator.13\shell\open
    Registry key validated: Adobe.Illustrator.13\shell\open\command
    Registry key validated: Adobe.Illustrator.13\shell\print\command
    Registry key validated: Adobe.Illustrator.13\shell\edit\command
    Registry key validated: Adobe.Illustrator.13\shell\edit
    Registry key not found: Adobe.Illustrator.EPS\
    Expected string: Encapsulated PostScript
    Registry key not found: Adobe.Illustrator.EPS\CLSID
    Expected string: {CFE97CDD-836F-4c78-B6B7-A36DD433892E}
    Registry key not found: Adobe.Illustrator.EPS\Insertable
    Expected string:
    Registry key not found: Adobe.Illustrator.EPS\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,2
    Registry key not found: Adobe.Illustrator.EPS\shell
    Expected string:
    Registry key not found: Adobe.Illustrator.EPS\shell\open
    Expected string:
    Registry key not found: Adobe.Illustrator.EPS\shell\open\command
    Expected string: "C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe" "%1"
    Registry key not found: Adobe.Illustrator.EPS\shell\print\command
    Expected string: "C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe" /p "%1"
    Registry key validated: Adobe.Illustrator.EPS\shell\edit\command
    Registry key validated: Adobe.Illustrator.EPS\shell\edit
    Registry key not found: Adobe.Illustrator\
    Expected string: Adobe Illustrator Artwork 13.0
    Registry key not found: Adobe.Illustrator\CLSID
    Expected string: {CFE97CDD-836F-4c78-B6B7-A36DD433892E}
    Registry key not found: Adobe.Illustrator\CurVer
    Expected string: Adobe.Illustrator.13
    Registry key validated: Adobe.Illustrator.13\protocol
    Registry key validated: Adobe.Illustrator.13\protocol\StdFileEditing
    Registry key validated: Adobe.Illustrator.13\protocol\StdFileEditing\server
    Registry key not found: Illustrator.Artwork\NotInsertable
    Expected string:
    Registry key validated: FileType\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}
    Registry key validated: FileType\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\0
    OK: Key not found as expected: Adobe.Illustrator.7\shellex\IconHandler
    OK: Key not found as expected: Adobe.Illustrator.7\shellex\PropertySheetHandlers\AIPage
    OK: Key not found as expected: Adobe.Illustrator.7\shellex\PropertySheetHandlers
    OK: Key not found as expected: Adobe.Illustrator.7\shellex
    OK: Key not found as expected: CLSID\{697EE7C0-334C-11D0-B826-0020AF

  • PAYABLES NOT GETTING THE REPORT OUTPUT IN PDF AFTER APPLYING RUP5 R12

    Hi All,
    RDBMS:10.2.0.3.0
    Oracle Apps :12.0.4
    OS:AIX 5.3
    Problem Description:
    We are presently facing an issue in Payables not getting the report output in PDF esp for the reports "Invoice Register", Invoice Hold Report and also other reports. We were able to generate the reports till our last test performed on last Thursday. This instance was cloned over the last weekend and probably the new upgrade to RUP5 R12,would have impacted it.
    Concurrent Programs submitted are completed normal but on clicking "view output" results in Blank PDF output.
    The error message what was shown is as below:
    "Adobe Reader could not open 'AcrC.tmp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)".
    Where could we locate ther above 'AcrC.tmp' of Adobe Reader..
    could anyone please share such an experience encountered for resolution..
    Would appreciate an early response..
    Thanks for your time!
    Regards,

    I suggest you speak to your DBA/sysadmin. This is not likely to be a reports problem.
    Check that you can see the output from apps through the viewer (the report may not hav output anything)
    Check whether you can print anything on that printer from apps.
    May also be worth checking to see if you can print to another printer from this report.

Maybe you are looking for