Using odbc in oracle reports 3

hi
in report 3 i prepare two queries (from query builder)
q1 connect within odbc for example (department)
q2 connect within oracle 7.3 for example ( employees)
and make a data link between two queries ( empno exist in both queries)
when executing report system gave me a message ( the table used in q2 has no alias )
my question is how to obatin all employees related to each department ?
can i do this without using making a temp. table (department on oracle) ?
best regards.
k.laham

Hi;
Please see below which could be helpful for your questions:
How to add custom JAR files to Apache OC4J Classpath in R12 instance? [ID 433241.1]
How To Sign a Custom Jar File In Oracle EBS 11i With JDK 1.3 And Below [ID 296375.1]
How to deploy custom JSP and JAR files for iStore? [ID 468181.1]
Regard
Helios

Similar Messages

  • Using CLOBs in oracle Report Builder

    I want to select all the data in a CLOB column using SQL Navigator by just doing
    select entry_note
    from chartentries;
    just as you say in your example by it just gives me back a result of (ORACLOB).
    If I do
    select to_char(entry_note)
    from chartentries;
    I get this error.
    If I do
    select dbms_lob.substr(entry_note,4000,1)
    from chartentries
    I get this (there’s more up to 32000 characters in a clob) and these weird squares which I think are CR (carriage returns) or LF (line feeds). I don’t want to see those characters and I would like to retrieve the entire CLOB in one swoop without doing data manipulations of substringing.
    Using the same data in Oracle Report Builder, I want to select all the data in a CLOB column into a field in a Paper report layout but I keep getting errors, ora-6502, and I've found out that I am restricted to 4000 characters and in Report 9i it looks like the largest field you can have is 4000 characters. My CLOB information can be up to 32000 characters long or longer and I do not want to substring out 4000 characters at a time into separate fields. In Crystal reports there is no problem just selecting the clob in a simple query and it is there in one shot. I would have thought by now that Oracle would have changed its development tools to be able to handle Clobs simply without any manipulation. Does anyone know how to do this in Report builder? I just have a simple query:
    select entry_datetime,
    to_char(replace((entry_note),chr(13))) as entry_note
    from chartentries
    where patient_id = 49741
    Another thing I want to do, is call this Oracle report from a PL/SQL block passing several parameters to the report and also call a Crystal report from a PL/SQL block passing several parameters to the report. Does anyone know what the commands are?

    What I had to do is create a query using query builder. This works fine; it's when trying to add the column to an existing query is where the data inconstancy error occurs. One thing you have to keep in mind is it will only work using the query builder in conjunction with the report wizard; I am not sure why. To incorporate the comments into an existing frame you will have to cut the frame created by the wizards and copy it into the existing frame. Otherwise the column name will not show in the source list of the property Inspector.
    Good Luck

  • Using jar in Oracle Reports

    Hi Experts,
    I am using a jar file in Oracle Report Builder to achieve some task, I have set Report class path variable and specified the location of my current jar file at my local PC where I am using window 7 OS. Now I am trying to run this report from EBS where is OS is SUN Solaris, below is the runtime error.
    Inventory: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    BARCODOFINAL module: Barcodes Inventory Items
    Current system time is 17-MAY-2011 17:04:22
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_ORGANIZATION_ID='208'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    Enter Password:
    REP-1401: 'cf_barcodeformula': Fatal PL/SQL error occurred.
    ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1401: *'cf_barcodeformula'*: Fatal PL/SQL error occurred.
    ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
    Report Builder: Release 10.1.2.3.0 - Production on Tue May 17 17:04:27 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 2219617.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 17-MAY-2011 17:04:29
    *'cf_barcodeformula'*: is the formula column where i user java how ever it works fine at my local pc.
    Please respond ..
    Regards,
    Haroon

    Hi;
    Please see below which could be helpful for your questions:
    How to add custom JAR files to Apache OC4J Classpath in R12 instance? [ID 433241.1]
    How To Sign a Custom Jar File In Oracle EBS 11i With JDK 1.3 And Below [ID 296375.1]
    How to deploy custom JSP and JAR files for iStore? [ID 468181.1]
    Regard
    Helios

  • Using JNI in Oracle Reports

    Hi.
    I have some difficulties understanding the Oracle Reports mechanism of JNI. The problem I have is the report job is crashed when I use the imported java class.
    I am using Oracle Reports 11.1.2.1 on Oracle Linux
    The scenario of generating report is :
    1. For every page there is a call to imported java class which generates an image (jpg format) as a file
    2. This image file is then appended to the image placeholder in report
    The error stack form engine log is :
    [2014-08-29T18:05:16.699+02:00] [reports] [ERROR] [] [oracle.reports.engine] [tid: 10] [ecid: 0000KWYWsHK5Mel5SvH7ic0006Z6000000,0] [EngineName: rwEng-0] C Engine  Job ID = 41022  ERR java.lang.OutOfMemoryError: Java heap space
    [2014-08-29T18:05:17.537+02:00] [reports] [ERROR] [] [oracle.reports.engine] [tid: 10] [ecid: 0000KWYWsHK5Mel5SvH7ic0006Z6000000,0] [EngineName: rwEng-0] C Engine  Job ID = 41022  ERR REP-1800: A formatter error occurred.
    [2014-08-29T18:05:18.753+02:00] [reports] [ERROR] [] [oracle.reports.engine] [tid: 10] [ecid: 0000KWYWsHK5Mel5SvH7ic0006Z6000000,0] [EngineName: rwEng-0] rwfdt:rwfdtprint  Job ID = 41022  ERR Error occurred sending Job output to cache
    [2014-08-29T18:05:18.822+02:00] [reports] [INCIDENT_ERROR] [REP-1800] [oracle.reports.engine] [tid: 10] [ecid: 0000KWYWsHK5Mel5SvH7ic0006Z6000000,0] [EngineName: rwEng-0] REP-1800 : Java heap space[[
    REP-1800: A formatter error occurred.
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
            at oracle.reports.engine.EngineImpl.run(EngineImpl.java:553)
            at oracle.reports.engine.EngineClassPOA._invoke(EngineClassPOA.java:104)
            at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637)
            at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
            at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1682)
            at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540)
            at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922)
            at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
            at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694)
            at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451)
            at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1213)
            at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:471)
            at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:500)
    [2014-08-29T18:05:18.823+02:00] [reports] [NOTIFICATION] [] [oracle.reports.engine] [tid: 10] [ecid: 0000KWYWsHK5Mel5SvH7ic0006Z6000000,0] [EngineName: rwEng-0] EngineImpl:run  oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    The problem does not occur when I run small report. That is why I suspected I should increase the max heap size. I increased it from defaulted 256M to 2G but the large report still fails to finish. Though the number of pages generated is bigger than with default java heap size. After that I ran the java monitoring tool on application server. As per monitor the heap size is increasing but never reaches max size of 2G. Then I tried to append the same image file to every page (meaning I only called java class once in afterparameterform trigger). In this case the report also finishes successfully.
    So as it seems the the problem is somewhere inside of the report engine mechanism calling java class. I suspect this mechanism is not releasing the memory. Btw the pdf file generated for large report is about 150MB large.
    I would appreciate some insight on reports engine mechanism or the way I would be able to pinpoint the actual cause of the problem.
    Best regards,
    Gregor

    Hi;
    Please see below which could be helpful for your questions:
    How to add custom JAR files to Apache OC4J Classpath in R12 instance? [ID 433241.1]
    How To Sign a Custom Jar File In Oracle EBS 11i With JDK 1.3 And Below [ID 296375.1]
    How to deploy custom JSP and JAR files for iStore? [ID 468181.1]
    Regard
    Helios

  • Generate pdf using weblaout in oracle report server

    Hi all ,
    my weblogic version - weblogic 10.3.6
    report server version - 11.1.2.1
    i have created one jsp file on report server using web layout. i want to show  photo ( from cloud) on pdf.
    when i running this jsp file from rwbuilder using run weblayout , iam getting the photo on that output but when i am trying to generate pdf from URL its show me url instead of photo. can anyone resolve my problem.
    http://localhost:7001/reports/rwservlet?
    report=/home/oracle/reports/test1.jsp&destype=file&desformat=pdf
    &userid=username/password@localhost:1521/orcl&desname=/home/oracle/test.pdf

    We're also encountering this same error. Did you find a resolution?
    Thanks

  • Programmatically change the query used to generate Oracle Reports

    I have two queries. Depending on some parameter value, I would like to use one of these queries to generate my report. Is it possible to programmatically change the SQL query used to generate the Oracle Report.
    Thanks

    There are two options:
    - The easy way
    In the report paper layout create two frames, one for each query , and at runtime
    display only one based on your parameters. (using format triggers on the frames)
    - the not so easy way (but more elegant)
    create the query at runtime using xml customizations using the examples from
    the following documentation:
    http://download-
    uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_xml.htm#i1006734
    16.3 Creating XML Data Models
    16.4.1.3 Applying an XML Report Definition in PL/SQL
    16.4.1.3.2 Applying an XML Definition Stored in Memory
    Regards and Good Luck
    Ionut S

  • Using Text_IO in Oracle Reports 6.0

    Hi.
    I ask again, perhaps someone can help me:
    I want to add a function to a column to write every row to a file (such as a .log-file).
    In Example i can simply write into a file like this:
    "Trigger - after parameter form":
    file_out Text_IO.File_type;
    BEGIN
    file_out:= Text_IO.Fopen('log.txt', 'w');
    Text_IO.put (file_out,'test');
    Text_IO.Fclose(file_out);
    END;
    But i want to write to this file from the function, placed in a column.
    So i cant open this file at every row (open, write, close)...
    Perhaps someone can tell me, how i can do this: To open a File before Report, write into the File from the function and close the file after the report.
    Thank you again.

    Hello,
    You need to create a client-side PL/SQL package as Program Units for your report. In this package you can define a package variable to hold and share your file handle, and create functions to open, write, and close the file. You can call these functions from the Before Report, Formula, and After Report triggers in your report.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Which blogs or sites useful to practice oracle reports developer

    HI,
    am new to oracle reports and forms developer  can anyone tell us the how the best way to practice the D2K(Form& Reports)

    Is there any other way of installing just Forms and Reports tools?No, you have to install everything in order to get Forms and Reports.
    Craig...

  • Can we use oracle reports with php

    hello
    any body know about that oracle reports can use in php or not if not any reason if can use any example oracle report and php ill very thankful to all for this help bye
    from farooq

    It depends on what you mean by 'use oracle reports within php'. If you generate reports as urls (don't know if oracle reports supports this but I think it does), you can just link to them or catch them in an iframe.
    If you are talking about generating a report from inside a php script, you can use a system() call to execute oracle reports tools such as 'rwrun'. If you do this, make sure your php server has proper oracle environment variables (such as ORACLE_HOME)

  • Connect Oracle Reports to SQL server

    Dear All,
    I am using SQL Server 2005 and want to connect Oracle Report 6i to SQL Server 2005 without installing Oracle Database. Installing both the databases slows down the machine.
    Regards,
    Muhammad Yasir Bodla
    Edited by: user650351 on Jun 3, 2009 5:28 AM

    Hi,
    As far as I know this is possible using ODBC and Oracle Open Client Adapter (OCA), but I do not know the details and the howto's.
    Probably you'll get a better answer when posting this question at the Reports forum:
    Reports
    Regards,
    Ed

  • Error while accessing excel file using ODBC

    Hi
    I am getting the below error message while accessing excel sheet using ODBC from Oracle:
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from EXCL
    Can anyone help me on this...
    Cheers
    Pradeep
    Message was edited by:
    user634393

              Hi
              Thank you.Is there a way to read a file which is existing in the war file.
              Regards
              Anand Mohan
              "Wenjin Zhang" <[email protected]> wrote:
              >
              >In Weblogic, if your files are archived in a WAR, you cannot get an entry
              >as individual
              >file since it is only bytes in a large archive file. So getRealPath will
              >give
              >you null result. If you only want the path, try to use other getXXXPath,
              >getURL,
              >or getURI method. If you want to read the content, use getResource.
              >
              >
              >"Anand" <[email protected]> wrote:
              >>
              >>Hi
              >>I am having problem while accessing the file located in the server from
              >>a JSP
              >>page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              >>
              >>The same code is working if the jsp placd under defaultwebApp directory
              >>and not
              >>working if i create a war and deploy the same.
              >>
              >>I am using weblogic server 7.0 trail version.I am setting the context
              >>path also.
              >>
              >>Can any help me in this regard.
              >>
              >>Thank And Regards
              >>
              >>Anand Mohan
              >
              

  • Chinese Character in PDF format for Oracle Reports 11g

    Hello Everyone,
    Currently we have a Report that need to be display chinese character in PDF format.
    We followed the steps specified in the "Oralce Fusion Middleware Publishing Reports to the Web with Oracle Reports Services"
    documentation but things doesn't work. We also installed Adobe Acrobat Reader 9 and Asian Font Pack 9 on the server side
    and even on the client/user/development side and followed the steps in the documentation, but no effect at all. Or we even
    tried "Arial Unicode MS", same thing no effect.
    For sure, we may miss something during PDF aliasing or PDF subsetting setup.
    Anyone out there who has the same experience and able to resolve the issue that currently using the Oralce Fusion Middleware Reports 11g?
    Doesn't matter if it does not related to chinese character, as long as it relates to this issue like japanese or arabic characters in PDF.
    If its ok, kindly provide the steps how you do it.
    Your help is highly appreciated.
    Regards and Thank you very much!

    I am now facing exactly the same problem as user449955 (Eric's). Dear Eric, how about your situation? If you have resolved this problem, may I ask for your solution?
    In my case, using either font aliasing or font subsetting doesn't work at all (displaying "garbage" characters instead of Chinese characters). The setting in my uifont.ali is as follows:
    If using font aliasing:
    [PDF]
    .....ZHT16HKSCS = "MSungStd-Light-Acro"
    If using font subsetting (the REPORTS_PATH already includes "C:\Windows\Fonts"):
    [PDF:Subset]
    "Courier New" = "mingliu.ttc,2"
    For both cases, the report server's NLS_LANG already set to "TRADITIONAL CHINESE_HONG KONG.ZHT16HKSCS" (I am in fact located at Hong Kong). For font aliasing, the client side already has Asian Adobe Reader with Asian font pack installed.
    By the way, I noticed that the WebLogic EM is configuring/updating the uifont.ali file at "<instance home>\config\FRComponent\frcommon\tools\common" directory, but the Oracle Reports 11g's documentation sometimes advise to refer to another uifont.ali file located at "<instance home>\config\FRComponent\frcommon\guicommon\tk\admin" directory. Which one of the uifont.ali files is the one used by the Oracle Reporting Service?
    My report server's platform is Windows 7 Enterprise (64-bit) and the Reports version is 11.1.1.3.
    Anyone can help to advise?
    Thank you very much.
    Regards

  • Can any one share the Oracle Reports 6i Developer demo table scripts?

    Hi,
    I have to learn the Report 6i for my office project, I have installed the report 6i developer but I could not get the Demo CD, can any one share the Scripts for table (viz. Stock, stock_history , indcat ) creation and also the insert script for data population or provide the URLs where I can find the same.
    thanking you in advance.
    regards,
    Sham.

    Hi Denis,
    Thanks for the reply, I have the setup for forms and reports 6i, what i was looking is the script to create the tables used in the
    Oracle® Reports Developer
    Building Reports
    Release 6i
    January, 2000
    Part No. A73172-01
    the table names are stocks, indcat etc, generally these demo script come along with the demo CD provided by oracle as i don't have the CD i am looking for these table creation script. if you have these scripts kindly share the same with me.
    regards,
    Sham.

  • Generate graphs from Oracle Reports

    How to use graphs in Oracle Reports server, the version of Oracle Application Server is 10.1.2.3
    thanks,

    You need to develope your graph in reports builder. Then deploy the rep file to the server and run it.
    You can open this post in reports forum.

  • Running Oracle Reports from JSF Application in Websphere Application Server

    Hi everybody;
    in our company we are developing jsf applications and we want to use our existing Oracle reports. Reports are deployed in Oracle Application Server 10G. Is there a way to call those reports from our jsf applications deployed in websphere application server.

    Calling reports is just constructing and submitting a URL. So constuct the url in your jsf app or create static hyperlinks in your jsf app to go to the needed url. The url should look something like:
    http ://hostname:7777/reports/rwservlet?report=myrep.jsp&userid=scott/tiger@dev10g&desformat=html&destype=cache

Maybe you are looking for

  • Portability between Designer 9i r2 and Designer 10g r2, and deployment?

    I have some questions to ask... I have been given the job of adding Oracle to the reportoire of databases available to be used for a commercial Delphi application. The idea is to create a database in 10g that this application can talk to. I wish to d

  • Count of Rows Displayed after Filter Applied

    Hi, I have a WebI report where I am manually filtering the data displayed within the report based on user input. For example, a user enters a Max Value and I am filtering out all employees who have a total value (mulitple rows summed up) greater than

  • Problem in reading integers data

    hi all, i'm reading integers from console and storing them in a file and then reading back, but my data is inconsistent.can anybody tell me the reason for this. heres my code snippet... DataInputStream in = new DataInputStream(System.in);           D

  • How can I reference value of a field from a diffrent line in formatted search

    I want to use a formatted search for this I want to set a field value based on a value from a previous row. ( is this possible at all ?) I have a udf called Test at Line Level on AR Order The user enters a value for test on line 1 he will have a lot

  • To put it in a FOR loop

    Dear anyone, I have written a code which calculates averages for 26 different groups. Attached the sample code in .txt file for reference. I would like to put it in a FOR loop to avoid writing a lenghthier code to calculate averages for 26 different