How to troubleshoot why some valid query values fail to return records

Post Author: Chas1048
CA Forum: General
I have an existing crystal 10 report that reports on an Oracle DB.  Some of the valid prompt entries return a report others fail to return any records. 
Does Crystal log errors anywhere?  I have checked the table linking. 

Forms 6i is an antique ... write your code to run on the server.
Multiple examples of how to loop through an array loaded with bulk collect can be found here.
http://www.morganslibrary.org/reference/array_processing.html
The main library page is:
http://www.morganslibrary.org/library.html

Similar Messages

  • I am running on OSX 10.10.1 and have a 2009 imac intel and I am having severe latency issues.  I am not familiar with macs as this is my home computer used by other family members.  Any help on how to troubleshoot why such latency issues?

    I am running on OSX 10.10.1 and have a 2009 imac intel and I am having severe latency issues.  I am not familiar with macs as this is my home computer used by other family members.  Any help on how to troubleshoot why such latency issues?

    When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • How to get why the validation has failed.when using isSchemaValid() ?

    Oracle 11.2
    to validate xmlType I use a procedure within isSchemaValid - function,
    But when it returns 0,
    where from to get why the validation is failed ?
    regards

    Thats the reason why you should use SchemaValidate(), because its more informative
    See for an example here: Re: catching error while validating an xml file

  • How to resolve this: Some Gmail features have failed to load due to an Internet connectivity problem. If this problem persists, try reloading the page, using the older version, or using basic HTML mode.

    Keep getting this message while using Gmail "Some Gmail features have failed to load due to an Internet connectivity problem. If this problem persists, try reloading the page, using the older version, or using basic HTML mode. "
    I have to use the older version of gmail for it to work properly.

    now i cant even send emails out of gmail, except when using the older version.

  • How to check why some of the Cron jobs didn't ran at the scheduled time?

    This is my first question ever on the forum. Hope I'm following the format of posting the thread.
    I could find a similar query on the forum but couldn't find the exact answer.
    Versions:
    Oracle: 11.2.02.0
    Linux: Linux xxxxx 2.6.32.12-0.7-default #! SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LINUX
    In our crontab there are lot of scripts that ran at the scheduled time. Around 3 reports didn't ran at the scheduled time today?
    There is no error or some error mail saying that those reports got failed. They just didn't ran at that time.
    How to find out why those jobs didn't ran?
    Is there anything like cron log or something like that to trace it?
    Please guide me. Thanks in advance.

    977789 wrote:
    This is my first question ever on the forum. Hope I'm following the format of posting the thread.
    I could find a similar query on the forum but couldn't find the exact answer.
    Versions:
    Oracle: 11.2.02.0
    Linux: Linux xxxxx 2.6.32.12-0.7-default #! SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LINUX
    In our crontab there are lot of scripts that ran at the scheduled time. Around 3 reports didn't ran at the scheduled time today?
    There is no error or some error mail saying that those reports got failed. They just didn't ran at that time.
    How to find out why those jobs didn't ran?
    Is there anything like cron log or something like that to trace it?
    Please guide me. Thanks in advance.Since this question has nothing to do with Oracle Databases and everything to do with Linux functions and usage, it would be better asked in the [url https://forums.oracle.com/forums/forum.jspa?forumID=135]Linux Forum
    When posting there, you can save yourself a bit of time by going ahead and showing the line from crontab for a report that "didn't run", and perchance the script itself. Best enclosed in the / tags to preserve formatting.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to Troubleshoot why data is not moving over into the Data Warehouse after Sql Server Agent Job Run

    Hello,
    Here is my problem:
    Data was imported into the staging area. After resolving some errors and running the job, I got the data to move over to the next area. From there, data should be moving over into the DW.  I have been troubleshooting for hours and cannot reslove this
    issue. I have restarted the sql service services, I have ran a couple packages manually, and the job is running successfully. 
    What are some reasons why data is not getting into the data warehouse? Where should I be looking? 
    Your help is greatly appreciated!!

    Anything is possible.
    So, just to reiterate, running the job manually works, running the scheduled job does not result in errors neither data arriving to the DW, right? And it used to, correct?
    If so, the 1st step would be to examine the configuration(s). But not before you inspect the package. Do you have an ability to export it to a file system and open in BIDS?
    Arthur My Blog

  • I can't seem to find any information on how to troubleshoot why I can't scroll down with my optical mouse. It works fine otherwise.

    My mouse works fine except it just started not letting me scroll down.  I can't find anything on how to clean it.  I tried unplugging the mouse from the keyboard then the keyboard from its USB port and there was no change.

    If it's the Mighty Mouse with the scroll ball on top then the problem is usually debris logged under the ball.
    Turn the mouse over and rub briskly with a microfiber cloth.  It should clear it.
    Regards,
    Captfred

  • How to take a value of the first record/occurrence and the last record?

    Hi experts
    Can anyone help me to tell me:
    How to make IP can take a value of the first record/occurrence and the last record in CSV file?
    I need to take the first and last to put StarTime of first record y StopTime of last record in the target file
    This is my Original CSV File
    20110820,220DNE0220,140.13 ,0.000 ,E01,0
    20110820,240FGC4280,103.80 ,0.000 ,E01,0
    20110821,220DNE0220,142.58 ,0.000 ,E01,0
    20110821,240FGC4280,88.70 ,0.000 ,E01,0
    20110822,220DNE0220,151.92 ,0.000 ,E01,0
    20110822,240FGC4280,91.47 ,0.000 ,E01,0
    Where:
    The firts field is date.
    I require it so my Target File
    20110820,20110822,140.13 ,0.000 ,E01,0
    20110820,20110822,103.80 ,0.000 ,E01,0
    20110820,20110822,142.58 ,0.000 ,E01,0
    20110820,20110822,88.70 ,0.000 ,E01,0
    20110820,20110822,151.92 ,0.000 ,E01,0
    20110820,20110822,91.47 ,0.000 ,E01,0
    Thaks..

    Hi lizcam,
    A. Use FCC at sender side, it will convert CSV to XML like this
    Input XML
    <documentName>
    <recordset>
    <record>
      <Time>20110820</Time>
      <ID>220DNE0220</ID>
      <Quan>140.13</Quan>
      <Volume>0.000</Volume>
      <Auc>E01</Auc>
      <No>0</No>
    </record>
    </recordset>
    </documentName>
    Create a target DT like this
    Output XML
    <recordset>
    <record>
      <StartTime>20110820</StartTime>
      <EndTime>20110822</EndTime>
      <Quan>140.13</Quan>
      <Volume>0.000</Volume>
      <Auc>E01</Auc>
      <No>0</No>
    </record>
    </recordset>
    In MM,
    1.Time -> CopyValue[0] -> StartTime
    2.Time -> below UDF -> EndTime
    3.Quan -> Quan
    4.Volume -> Volume
    5.Auc -> Auc
    6.No -> No
    UDF u2013 Execution type u2013 All values of Queue
    public void getLastTimeValue(String[] inputEndTime, ResultList result, Container container) throws StreamTransformationException{
    result.addValue(inputEndTime[inputEndTime.length-1]);
    B. At receiver use again FCC to convert XML to CSV.
    FYI. If you want to optimize more, you can use
    1.globalContainer concept OR
    2.u201CAttributes and Methodsu201D, declare are String. Store the EndTime using one UDF and write another UDF to retrieve it.
    Regards,
    Raghu_Vamsee

  • How to write multi row sub query with the row containing range of values?

    Hi all,
    I have to include a column which contains weight ranges and it should come fom table called "report_range_parameters"
    The following query will reutrn those weight ranges.
    select report_parameter_min_value || ' -> ' || report_parameter_max_value
              from report_range_parameters
             WHERE report_range_parameters.report_parameter_id = 2359
               and report_range_parameters.report_parameter_group = 'GVW_GROUP'
               and report_range_parameters.report_parameter_name  = 'GVW_NAME'
                        The below query should return the values group by those weight ranges.
    How could I write that sub query?
    select   SUM(NVL("Class 0", 0)) "Class 0"  ,
                SUM(NVL("Class 1", 0)) "Class 1"  ,
                SUM(NVL("Class 2", 0)) "Class 2"  ,
                SUM(NVL(" ", 0)) "Total"
         FROM (
                 SELECT report_data.bin_start_date_time start_date_time,
                        SUM(DECODE(report_data.gvw, 0, report_data.gvw_count, 0)) "Class 0" ,
                        SUM(DECODE(report_data.gvw, 1, report_data.gvw_count, 0)) "Class 1" ,
                        SUM(DECODE(report_data.gvw, 2, report_data.gvw_count, 0)) "Class 2" ,
                        SUM(NVL(report_data.gvw_count, 0)) " "
                  FROM report_data
                 GROUP BY report_data.bin_start_date_time
              ) results
       RIGHT OUTER JOIN tmp_bin_periods
                     ON results.start_date_time >= tmp_bin_periods.bin_start_date_time
                    AND results.start_date_time <  tmp_bin_periods.bin_end_date_time
               GROUP BY tmp_bin_periods.bin_start_date_time,
                        tmp_bin_periods.bin_end_date_time Thanks.
    Edited by: user10641405 on Jun 15, 2009 3:14 PM
    Edited by: user10641405 on Jun 15, 2009 3:17 PM

    Hi,
    Assuming the following 4 things:
    (1) report_range_parameters contains data like this, from your [previous thread|http://forums.oracle.com/forums/message.jspa?messageID=3541079#3541079]
    id  group      name         min_value      max_value
    1   gvw_group  gvw_name      0              5
    2   gvw_group  gvw_name      5              10
    3   gvw_group  gvw_name     10              15(2) max_value is actually outside the range (that is, a value of exactly 5.000 is counted in the '5->10' range, not the '0->5' range)
    (3) the range has to match some column x that is in one of the tables in your main query
    (4) You want to add that column x to the GROUP BY clause
    then you shopuld do somehting like this:
    select   SUM(NVL("Class 0", 0)) "Class 0"  ,
                SUM(NVL("Class 1", 0)) "Class 1"  ,
                SUM(NVL("Class 2", 0)) "Class 2"  ,
                SUM(NVL(" ", 0)) "Total"
    ,         report_parameter_min_value || ' -> ' || report_parameter_max_value     AS weight_range          -- New
         FROM (
                 SELECT report_data.bin_start_date_time start_date_time,
                        SUM(DECODE(report_data.gvw, 0, report_data.gvw_count, 0)) "Class 0" ,
                        SUM(DECODE(report_data.gvw, 1, report_data.gvw_count, 0)) "Class 1" ,
                        SUM(DECODE(report_data.gvw, 2, report_data.gvw_count, 0)) "Class 2" ,
                        SUM(NVL(report_data.gvw_count, 0)) " "
                  FROM report_data
                 GROUP BY report_data.bin_start_date_time
              ) results
       RIGHT OUTER JOIN tmp_bin_periods
                     ON results.start_date_time >= tmp_bin_periods.bin_start_date_time
                    AND results.start_date_time <  tmp_bin_periods.bin_end_date_time
       LEFT OUTER JOIN  report_range_parameters                                        -- New
                    ON  x >= report_parameter_min_value                                    -- New
              AND x <  report_parameter_max_value                                   -- New
                    AND report_range_parameters.report_parameter_id = 2359                         -- New
                    and report_range_parameters.report_parameter_group = 'GVW_GROUP'               -- New
                    and report_range_parameters.report_parameter_name  = 'GVW_NAME'                    -- New
               GROUP BY tmp_bin_periods.bin_start_date_time,
                        tmp_bin_periods.bin_end_date_time
                  , x                                                       -- New

  • Why XSD Validation Is used and How

    Hi All
    Please explaim why we use XSD validation and how it is done.
    Regar

    Hi Nidhi,
    >>I still did not unserstand that what is the purpose of using XSD vilidation for sender soap scenario.
    May be you shoudl have written this in the first place that you need to know why XSD validation for SOAP sender scenarios
    Now have you created a SOAP scenario in PI and have given the wsdl to some external client? If yes then you may not be required to use the XSD validation option, because you have given the source structure used in PI in the wsdl file itself.
    Now think like you have not provided the wsdl file and  the source side is manually creating the XML that need to be sent to PI. there are chances that the mandatory fields may be missed or some other mismatch in structure can happen. If you don't go for XSD validation in source side there are chances that you message mapping may fail. So to avoid this you can use the XSD Validation, where you are validating the XML structure (which is sent to PI) with XSD schema (which is used in PI) amd if any mismatch found then it can fail before mapping
    Regards
    Suraj

  • I want to know why some box of Iphone5s it's not come full accessories in box simple my iPhone 5s I have bought from Apple store last week it's first time for me use iPhone but so surprise me how the company make the phone have to use a pin to open

    I want to know why some box of Iphone5s it's not come full accessories in box simple my iPhone 5s I have bought from Apple store last week it's first time for me use iPhone but so surprise me how the company make the phone have to use a pin to open the sim but didn't give a pin inside the box and I ask staff at store their said they also don't know some box have some of are don't have a pin come together so then they told me I have to find solution or I have to buy a pin by my self I can buy it by myself but I really don't understand how come apple big company but how it's happen like this?thank you.

    Where did you purchase this. The US phones do not come with the SIM removal tool anymore. They haven't for some time now. I'm not even sure it comes with any of the devices anymore. You can just straighten out a paper clip and do the same thing.

  • How to get POF object's field value from query result

    hi,all:
    I want to get field value from the query result, my code is below
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
    Contact c=(Contact)iter.next();
    System.out.println ("firstame####=" + c.getFirstName());
    * but I get error*
    Exception in thread "main" java.lang.ClassCastException: com.tangosol.util.ConverterCollec
    tions$ConverterEntrySet$ConverterEntry cannot be cast to com.oracle.handson.Contact
    at com.oracle.handson.QueryExample.printResults(QueryExample.java:159)
    at com.oracle.handson.QueryExample.query(QueryExample.java:86)
    at com.oracle.handson.QueryExample.main(QueryExample.java:43)
    who can tell me how to get POF object's field value from query result

    Hi,
    If you look at the Java Doc for the entrySet method here http://download.oracle.com/docs/cd/E15357_01/coh.360/e15725/com/tangosol/util/QueryMap.html#entrySet_com_tangosol_util_Filter_ you will see that it returns a Set of Map.Entry instances so you need to do this...
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
        Map.Entry entry = iter.next();
        Contact c=(Contact)entry.getValue();
        System.out.println ("firstame####=" + c.getFirstName());
    }JK

  • How can I modify the application- validation- set- value validation

    Dear all :
    After I created a new value set( application->validation->set->value validation), I want to change the Type of the "value validation",how can I modify ?
    Regards
    Terry

    Dear all:
    Sorry, I found the answer in the metalink note :[ID 396369.1]     
    Regards
    Terry

  • How to use the "Overall Result" KF value in a formula in BW query ver 3.5

    My query produces this output:
    Characteristic..........................................................                Key Fig
    X ............................................................................                       408,679.57
    Y.......................................................................                    1,548,085.14
    Z .....................................................................                      300,000
    Overall Result......................................................................     2,256,764.72
    I need my query to perform this calculation
    Characteristic.......................Key Fig...........................Key Figure
    X....................................408,679.57......................408,679.57/2,256,764.72
    Y.................................1,548,085.14....................1,548,085.14/2,256,764.72
    Z....................................300,000............................300,000.00/2,256,764.72
    Overall Result...................................................................2,256,764.72
    How can I used an overall result value in my query calculations?
    Edited by: Carolyn Yankovitz on May 7, 2009 8:44 PM

    Hi,
    Try using SUMCT, SUMGT,SUMRT which are there in data functions in query designer.
    You need to first create formula and then use SUMCT,SUMGT, SUMRT.
    Hope it helps.
    Praveen Tati

  • How can I get some specific value from AP

    Hello,
    I have AP 350 or 1100 and management software CISCO WORKS for WINDOWS. I need for our customer information how he can get some SNMP specific information OID like signalstrange or something another specific OID. We can get traps from AP but it's not what we can.
    Do you know somebody any helps?
    Thank you
    David

    For Windows
    Download MG-SOFT Corporation's MIB-Browser, its evlauation version.
    Download the AP MIBs from Cisco.
    Compile the MIBs using the MG-SOFTs MIB-Explorer and then you see the OID values and expalnations.

Maybe you are looking for

  • How to print alternative colors in detail records in BI publisher?

    Hi, i have child or detail records. But i want to print them first record in red color,then second record in green color. Again third record color again in red color and fourth record again in green color. Thanks, lax

  • Displaying  arabic using j2me

    hi every body, my experience with j2me is very little and i need to display arabic text i am using eclipse and carbide j1.5 i searched the forum and i found that writing the following should work String s=new String("arabic_string".getBytes(), "UTF-8

  • Replacing Files in OSX

    Hi, Recently i've overwritten some of my personal files which are 1-2gb each with a new one from my other computer, after I replaced it, it seems that my hard drive goes down about the same amount while the updated file is only few mbs extra, it it s

  • Looking UP JMS services From an Applet!!

    Hi!! 1>I am trying to lookup JMS services from my applet. Actually I would like my applet to send JMS messages and recieve messages as well. When I am trying to do lookup it is giving Access Control Exception a> java.util.PropertyPermission "user.dir

  • Detail system landscape for SAP APO

    Hi All,    Can u pls tell me the system landscape for APO with pictures. (i.e data flow in between ECC to APO through CIF also between APO submodules) purpose: need to prepare PPT. Thanks.