Reporting SP in Oracle 10g

Hi Friends,
Our Oracle version is 10.2.0.4.0. we have one cron job for reporting purpose.
The stored proc with pull the 45 days back counts and populate counts into reporting tables.
for some reasons this cron run successfully for 45 days and some times it run for only 7 days.
I couldn't get any reason why its behaving like that.
any one comments , advices are appreciate.
Thanks

Is the stored procedure instrumented? If not, modify it to record start time, end time, and to record all errors into a job log tracking table via an anonymous transaction logging procedure. Then you can look at the logging table to see what happened. All your batch jobs should do this. Do not forget to set up a logging table purge task.
HTH -- Mark D Powell --

Similar Messages

  • How to connect Forms 6i & Reports 6i with oracle 10g R2?

    Hey everybody,
    I need your help in connecting both Forms 6i & Reports 6i with Oracle 10g Release 2 db, MS Access(2003, 2007) and SQL database(Microsoft Visual Studio 2008). I am a newbie. I have installed all of them on my HP notebook, with Windows 7 Ultimate(32 bit OS) installed. I want to generate forms & reports by accessing data from above mentioned databases. Please provide me with the configuration steps.
    Thanks in advance...!

    Welcome to the forum ;-)
    Please be sure to review the following:
    http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    First, I think it would be a good idea if we can understand why you have chosen to use a nearly new operating system yet install Oracle products that are 10 years old (i.e. Forms/Reports 6i) on it. In general, this is not a good idea. Although running such an old version on Win7 can be made to work, the possibility of having problems is likely. If you are infact new to the product, using a configuration where you are likely to have problems may not be a good starting place. Also, you should be aware that Forms/Reports 6i was desupported several years ago. Documentation and other information is gradually being replaced by newer information, so resources for this old version are going away. The latest version of Forms/Reports is part of Fusion Middleware 11R2 (version 11.1.2.0) and requires WebLogic Server 10.3.5 (or 10.3.6) in order to be installed.
    Second, if you decide to stick with F/R 6i, are you planning to run the applications you create in a browser or as a client/server application? This information is important because how you connect to a database will slightly differ depending on which option you choose. Also, if you want to connect to non-Oracle data sources you can use ODBC for client/server or Oracle Transparent Gateway. However, if you plan to deploy the applications using a browser, Gateway is your only option for connecting to non-Oracle datasources. As for connecting to MS Access, I believe ODBC is your only option, so web deployment may not be an option.
    http://docs.oracle.com/cd/B19306_01/gateways.102/b14270/ch1.htm
    There are many other references available. Try a Google search.
    As for connecting to an Oracle database, this is generally easy. For the Builder(s) and client/server runtime to connect, add the db information to the tnsnames.ora found in the Oracle Home (installation directory) \network\admin. If you are unfamiliar with what goes in the file you can copy the entries created for your database. The db will have a similar file found in a similar place in its installation directory (Oracle Home). For example, you might find something like this:
    ORCL =
    (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = YOURSERVER.COM)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    )Simply copy this information to the end of your tnsnames.ora found where Forms/Reports is installed then restart any running Forms or Builders.

  • Create a New Report Server in Oracle 10g AS(10.1.2.0.2) in IBM-AIX

    Hi Friends,
    I am using Oracle 10g AS(10.1.2.0.2)on IBM-AIX.
    I would like to create a new Report Server(standalone).Please suggest and give the Metalink Document Number as well.
    Regards,
    Arun

    Doc ID: 459177.1

  • Oracle forms & reports support on oracle 10g lite

    Currently our oracle forms & reports 6i application works on oracle 8i database with oracle 9i lite.
    We upgraded our database to oracle 9i r2 and lite to 10gr2.
    After publishing the application when i try to open the application the forms screen disappears for ever.
    I wanted to know whether oracle forms and reports 6i is supported on
    oracle 10g lite r2?
    Thanks,
    Ashok Kumar.G

    No. Not only it isn't certified, but it is also impossible to run forms compiled with the 11g compiler with the 10g runtime. For 11g there is a install bundle for the developer suite / application server.
    cheers

  • Oracle Forms and Reports 9i on Oracle 10G

    Is Oracle9i Developer Suite (9.0.2) - Forms and Reports Patchset 3 :
    (Ver 9.0.2.3.0) and Application Server 9i Release 2 (9.0.2) supported on Oracle database 10g (v 10.2.0). Please confirm.
    Thanks in Advance

    if you look and search a minute in metalink.oracle.com you have the answer.
    I think the answer is Yes, but I'm only 95% sure.

  • Form and report server with oracle 10g express edition

    how to ?

    tnsnames.ora , that was problem I thank you very much....for the prompt reply..
    there are only hr, sys, system database in Oracle XE. Scott/tiger database is obviously not available in Oracle XE edition. Is it true?
    Unfortunately it will be very difficult to help you
    because you have not provided any details about
    whatever your problem is. That said, there is no
    reason why you cannot use Forms 9.0.4 or 10.1.2 with
    Oracle XE. This does not necessarily mean that
    either version is certified or supported for use with
    XE, but there is no obvious reason why it won't
    work.
    All that is necessary is that you add the correct
    entry to the tnsnames.ora file which resides in the
    Forms/Reports Oracle home.I thank you for the reply

  • How to build reports using discoverer (oracle 10g on winxp professional)

    hello:
    I have an sql query which queries multiple tables.
    I have to build the report using oracle discoverer plus...can anybody guide me what is the path to accomplish this.
    the sql is following
    SELECT COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME, COUNT(CARRIER.NAME) SUBSCRIBERS FROM COUNTRY, CARRIER, USER_DEVICE, USER_ WHERE
    USER_DEVICE.APPLICATION_ID = 1 AND
    USER_DEVICE.CARRIER_ID = CARRIER.ID AND
    CARRIER.COUNTRY_ID = COUNTRY.ID AND
    USER_DEVICE.USER_ID = USER_.ID
    GROUP BY
    COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME ORDER BY COUNTRY.NAME, CARRIER.NAME
    when i try to validate this query in oracle business intelligence administrator by building a complex folder the validator gives error and cannot validate...
    please tell me how can i accomplish to run the above query using oracel discoverer

    yes it worked like that...thanks...
    now i want to add user defined parameters to it...
    as the folder is a complex folder all the colums i get(in discoverer plus) are those which i am mentioning in my query...but i have to get the parameter based on column from another table User_ and i can't show that column in my query as the query won't work if i include it...
    I hope I was able to make u understand my problem...
    please tell me how can i build paramters from the USER_table
    Waqas

  • Problems With Reports server in Oracle 10g IAS

    I am having problems with the reports server. It keeps on giving me the error below
    REP-51002: Bind to Reports Server <myreportservername> failed
    I am able to correct it by restarting my server while my backup server is off the network and playing around with my server configurations. It works for a while 2 weeks to a month then I start getting the same error again.
    Could someone please point out to me where I could be going wrong?
    Is there any known problems when 2 IAS are on the same network. I am on Windows 2000 Server.
    Thanks
    Irene

    In rwnetwork.conf change
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE discoveryService SYSTEM "file:/home/oas10g/frhome/reports/dtd/rwnetworkconf.dtd">
    <discoveryService>
    <!--multicast channel="228.5.6.7" port="14021" timeout="1000" retry="3"/>-->
    <namingService name="Cos" host="IP of ur Server" port="14021"/>
    </discoveryService>
    bounce OC4J_BI_Forms
    run naming service.sh 14021

  • Sql statement add an "N" literal wher reporting trough oracle 10g and lib eclipse

    <p>the same select created with crystal report 9 and oracle 8.04 with crystal report XI and oracle 10G have some difference. In the crystal report XI the statement contains an &#39;N&#39; literal that should not be there.</p><p>I have used the Service pack 1 of Business Object XI r2 on the server and here i haven&#39;t problem.</p><p>When I use the same report throught an applet with the CRXI library&#39;s I have the problem of "N" literal</p><p>I work with Eclipse, java, CRXI, and oracle10g</p>

    JRC/Crystal Report XI generated SQL automatically add an "N" literal in front of some values which can not even execute in the SQL*Plus.

  • Crystal report developer 10 vs. oracle 10g

    Dear all,
    Is there any compatability between crystal report 10 and oracle 10g?
    I setup an ODBC data source connecting to oracle 10g DB which works properly in crystal report 8.5 however not working in crystal report 10.
    Am I missed something?
    Thanks,
    Rachel.

    Install Oracle client on the machine and use the Oracle Server native connection option.
    Alternatively,you may try using some other driver (OraHome or Microsoft Driver for Oracle databse) rom the available choice.
    OLEDB connection can also be tried.
    You may specify the exact error message (and at what stage you are getting it) if the above options do not work or they are not feasible for you.
    Thanks

  • Migrate reports from 6i to 10g

    Hello friends,
    I want to migrate reports created in oracle 6i report builder
    to
    oracle 10g.
    Please give me steps for that.
    Arvind2

    It happens on all machine. We use browser to launch the application and the report is called from forms (10.1.2). We didn't change any code in report and neither the fonts (Tahoma). In 6i, client server environment, windows can find the font. I guess in 10g web environment, the font is not as default. HP Laserjet 8000N is a network printer which I use to testing my report. everything is fine in 6i but not 10g. Here is my question.
    1. How to check printer setup? Should I use the default font from Linux instead of Tahoma?
    2. I found a note in metalink, Note:356221.1 which explains the procedures to deploy reports from windows to Linux. I am not sure my problem is related to the font or something else...
    Thanks for you reponse.

  • Performance Problem between Oracle 9i to Oracle 10g using Crystal XI

    We have a Crystal XI Report using ODBC Drivers, 14 tables, and one sub report. If we execute the report on an Oracle 9i database the report will complete in about 12 seconds. If we execute the report on an Oracle 10g database the report will complete in about 35 seconds.
    Our technical Setup:
    Application server: Windows Server 2003, Running Crystal XI SP2 Runtime dlls with Oracle Client 10.01.00.02, .Net Framework 1.1, C# for Crystal Integration, Unmanaged C++ for app server environment calling into C# through a dynamically loaded mixed-mode C++ DLL.
    Database server is Oracle 10g
    What we have concluded:
    Reducing the number of tables to 1 will reduce the execution time of the report from 180s to 13s. With 1 table and the sub report we would get 30 seconds
    We have done some database tracing and see that Crystal Reports Issues the following query when verifying the database and it takes longer in 10g vs 9i.
    We have done some profiling in the application code. When we retarget the first table to the target database, it takes 20-30 times longer in 10g than in 9i. Retargeting the other tables takes about twice as long. The export to a PDF file takes about 4-5 times as long in 10g as in 9i.
    Oracle 10g no longer supports the /*+ RULE */ hint.
    Verify DB Query:
    select /*+ RULE */ *
    from
    (select /*+ RULE */ null table_qualifier, o1.owner table_owner,
    o1.object_name table_name, decode(o1.owner,'SYS', decode(o1.object_type,
    'TABLE','SYSTEM TABLE','VIEW', 'SYSTEM VIEW', o1.object_type), 'SYSTEM',
    decode(o1.object_type,'TABLE','SYSTEM TABLE','VIEW', 'SYSTEM VIEW',
    o1.object_type), o1.object_type) table_type, null remarks from all_objects
    o1 where o1.object_type in ('TABLE', 'VIEW') union select /*+ RULE */ null
    table_qualifier, s.owner table_owner, s.synonym_name table_name, 'SYNONYM'
    table_type, null remarks from all_objects o3, all_synonyms s where
    o3.object_type in ('TABLE','VIEW') and s.table_owner= o3.owner and
    s.table_name = o3.object_name union select /*+ RULE */ null table_qualifier,
    s1.owner table_owner, s1.synonym_name table_name, 'SYNONYM' table_type,
    null remarks from all_synonyms s1 where s1.db_link is not null ) tables
    WHERE 1=1 AND TABLE_NAME='QCTRL_VESSEL' AND table_owner='QLM' ORDER BY 4,2,
    3
    SQL From Main Report:
    SELECT "QCODE_PRODUCT"."PROD_DESCR", "QCTRL_CONTACT"."CONTACT_FIRST_NM", "QCTRL_CONTACT"."CONTACT_LAST_NM", "QCTRL_MEAS_PT"."MP_NM", "QCTRL_ORG"."ORG_NM", "QCTRL_TKT"."SYS_TKT_NO", "QCTRL_TRK_BOL"."START_DT", "QCTRL_TRK_BOL"."END_DT", "QCTRL_TRK_BOL"."DESTINATION", "QCTRL_TRK_BOL"."LOAD_TEMP", "QCTRL_TRK_BOL"."LOAD_PCT", "QCTRL_TRK_BOL"."WEIGHT_OUT", "QCTRL_TRK_BOL"."WEIGHT_IN", "QCTRL_TRK_BOL"."WEIGHT_OUT_UOM_CD", "QCTRL_TRK_BOL"."WEIGHT_IN_UOM_CD", "QCTRL_TRK_BOL"."VAPOR_PRES", "QCTRL_TRK_BOL"."SPECIFIC_GRAV", "QCTRL_TRK_BOL"."PMO_NO", "QCTRL_TRK_BOL"."ODORIZED_VOL", "QARCH_SEC_USER"."SEC_USER_NM", "QCTRL_TKT"."DEM_CTR_NO", "QCTRL_BA_ENTITY"."BA_NM1", "QCTRL_BA_ENTITY_VW"."BA_NM1", "QCTRL_BA_ENTITY"."BA_ID", "QCTRL_TRK_BOL"."VOLUME", "QCTRL_TRK_BOL"."UOM_CD", "QXREF_BOL_PROD"."MOVEMENT_TYPE_CD", "QXREF_BOL_PROD"."BOL_DESCR", "QCTRL_TKT"."VOL", "QCTRL_TKT"."UOM_CD", "QCTRL_PMO"."LINE_UP_BEFORE", "QCTRL_PMO"."LINE_UP_AFTER", "QCODE_UOM"."UOM_DESCR", "QCTRL_ORG_VW"."ORG_NM"
    FROM (((((((((((("QLM"."QCTRL_TRK_BOL" "QCTRL_TRK_BOL" INNER JOIN "QLM"."QCTRL_PMO" "QCTRL_PMO" ON "QCTRL_TRK_BOL"."PMO_NO"="QCTRL_PMO"."PMO_NO") INNER JOIN "QLM"."QCTRL_MEAS_PT" "QCTRL_MEAS_PT" ON "QCTRL_TRK_BOL"."SUP_MP_ID"="QCTRL_MEAS_PT"."MP_ID") INNER JOIN "QLM"."QCTRL_TKT" "QCTRL_TKT" ON "QCTRL_TRK_BOL"."PMO_NO"="QCTRL_TKT"."PMO_NO") INNER JOIN "QLM"."QCTRL_CONTACT" "QCTRL_CONTACT" ON "QCTRL_TRK_BOL"."DRIVER_CONTACT_ID"="QCTRL_CONTACT"."CONTACT_ID") INNER JOIN "QFC_QLM"."QARCH_SEC_USER" "QARCH_SEC_USER" ON "QCTRL_TRK_BOL"."USER_ID"="QARCH_SEC_USER"."SEC_USER_ID") LEFT OUTER JOIN "QLM"."QCODE_UOM" "QCODE_UOM" ON "QCTRL_TRK_BOL"."ODORIZED_VOL_UOM_CD"="QCODE_UOM"."UOM_CD") INNER JOIN "QLM"."QCTRL_ORG_VW" "QCTRL_ORG_VW" ON "QCTRL_MEAS_PT"."ORG_ID"="QCTRL_ORG_VW"."ORG_ID") INNER JOIN "QLM"."QCTRL_BA_ENTITY" "QCTRL_BA_ENTITY" ON "QCTRL_TKT"."DEM_BA_ID"="QCTRL_BA_ENTITY"."BA_ID") INNER JOIN "QLM"."QCTRL_CTR_HDR" "QCTRL_CTR_HDR" ON "QCTRL_PMO"."DEM_CTR_NO"="QCTRL_CTR_HDR"."CTR_NO") INNER JOIN "QLM"."QCODE_PRODUCT" "QCODE_PRODUCT" ON "QCTRL_PMO"."PROD_CD"="QCODE_PRODUCT"."PROD_CD") INNER JOIN "QLM"."QCTRL_BA_ENTITY_VW" "QCTRL_BA_ENTITY_VW" ON "QCTRL_PMO"."VESSEL_BA_ID"="QCTRL_BA_ENTITY_VW"."BA_ID") LEFT OUTER JOIN "QLM"."QXREF_BOL_PROD" "QXREF_BOL_PROD" ON "QCTRL_PMO"."PROD_CD"="QXREF_BOL_PROD"."PURITY_PROD_CD") INNER JOIN "QLM"."QCTRL_ORG" "QCTRL_ORG" ON "QCTRL_CTR_HDR"."BUSINESS_UNIT_ORG_ID"="QCTRL_ORG"."ORG_ID"
    WHERE "QCTRL_TRK_BOL"."PMO_NO"=12345 AND "QXREF_BOL_PROD"."MOVEMENT_TYPE_CD"='TRK'
    SQL From Sub Report:
    SELECT "QXREF_BOL_VESSEL"."PMO_NO", "QXREF_BOL_VESSEL"."VESSEL_NO"
    FROM "QLM"."QXREF_BOL_VESSEL" "QXREF_BOL_VESSEL"
    WHERE "QXREF_BOL_VESSEL"."PMO_NO"=12345
    Does anyone have any suggestions on how we can improve the report performance with 10g?

    Hi Eric,
    Thanks for your response. The optimizer mode in our 9i database is CHOOSE. We changed the optimizer mode from ALL_ROWS to CHOOSE in 10g but it didn't make a difference.
    While researching Metalink I came across a couple of documents that indicated performance problems and issues with using certain data-dictionary views in 10g. Apparently, the definition of ALL_OBJECTS, ALL_ARGUMENTS and ALL_SYNONYMS have changed in 10g, resulting in degradation in performance, if quieried against these views. These are the same queries that crystal reports is queriying. We'll try the workaround suggested in these documents and see if it resolves the issue.
    Here are the Doc Ids, if you are interested:
    Note 377037.1
    Note:364822.1
    Thanks again for your response.
    Venu Boddu.

  • Problem related to Oracle D2k and Oracle 10g Connectivity

    Hi ,
    I want to connect (oracle form and report 6i to oracle 10g Express Edition) but i heard that the character set problem occured in this situation please solve my problem , presently i am using oracle 9i (9.2.0.1.0)but i want to use 10g version of oracle and form and report version same as 6i how i change the character set of Oracle10ExpressEdition to connect these one's.

    Hi ,
    I want to connect (oracle form and report 6i to oracle 10g Express Edition) but i heard that the character set problem occured in this situation please solve my problem , presently i am using oracle 9i (9.2.0.1.0)but i want to use 10g version of oracle and form and report version same as 6i how i change the character set of Oracle10ExpressEdition to connect these one's.
    I want to user Western-European character set

  • Displaying both Hindi and Arabic numerals in Oracle 10g PDF report

    Hi….
    Oracle experts told us to ask “In how many ways we can do it in oracle?” instead of asking “Can we do it in Oracle?” , I need ONE way to solve the following problem, it toke to much time and I don’t know if it can be solved !
    The problem:
    Can we print in - Oracle 10g reports - a PDF report with BOTH Hindi and Arabic numerals?
    Well, at design time everything is fine, you can use right-to-left, left-to-right and the print preview is showing BOTH Hindi/Arabic numerals fine, but when I tried to produce it as a PDF, unfortunately its not, means its either all Hindi or all Arabic numerals !
    I tried everything possible, environment variables: NLS_LANG, REPORTS_BIDI_ALGORITHM, and REPORTS_ARABIC_NUMERLS, setting Digit substitution to Context in windows regional settings, uifont.ali is modified properly according to metalink note, but nothing solved this issue!
    I noticed something, when I used the DESTYPE=printer and DESNAME=PDF995 (one of the PDF printers) , it worked fine , means the problem could be in the generic PDF generator of the Oracle reports server,
    But even with PDF995 you still need to feed the file name, which is not suitable for multi-user environment that need the report to be displayed via web browser.
    Does anybody face this before?
    Edited by: khaled.w on May 24, 2010 7:29 AM
    Edited by: khaled.w on May 24, 2010 7:35 AM

    Don't tell so much.
    Check the following link
    1. PDF Reports in Unicode / Arabic &amp;amp; English | Oracle Community
    2. OraFAQ Forum: Reports &amp; Discoverer &raquo; Report in Arabic(pdf) (merged)
    3. Arabic Report generated to text file giving Jun... | Oracle Community
    Hope this helps
    Hamid

  • Oracle report from 6i to 10g

    hi all,
    We try to move oracle report from 6i to 10g. however we found that the report's record ordering is different.
    The case is that, the record in report is ordered according to the attribute "break order".
    There is no "order by" in sql".
    It runs without problems in 6i, but in 10g , the ordering of the record has no ordering.
    Please help to solve the problems or give some advice. Thanks.

    Break order property only works for ordering in break groups. For other groups (like the lowest level group) you have to use order by in your SQL.
    That was also the case in 6i, so you may just have been lucky that it worked at all.
    This is from the Help:
    The Break Order property is the order in which to display the column's values. This property applies only to columns that identify distinct values of user-created groups (i.e., break groups ). The order of column values in a default group is determined by the ORDER BY clause of the query for SQL queries

Maybe you are looking for