How to Invoke Oracle report builder installed on a server from a client

Hi,
I am using rwrun60 command to invoke report builder through a shell script. In this case the report builder is installed on the same machine where the shell script exists.
But now i have shell script which is on different server (say, Server1) and Report builder is on Server-2. How do i handle this?
the current piece of code i am using in the shell script is:
rwrun60 module=${UNCPATH}/${REPORT_DIR}/purchase.rdf userid=$DBID/$DBPASS@$DB paramform=NO batch=YES destype=File desformat=pdf desname=${SENDFILE}
Your help will be invaluable...

Hi Denis,
I used both rwrun60 & rwcli60 commands as below:
rwrun60 module=${UNCPATH}/${REPORT_DIR}/abc.rdf userid=$DBID/$DBPASS@$DB EXPRESS_SERVER="server=Server123/domain=xyz/user=myname/password=password123" ERRFILE=${UNCPATH}/${DIR}/error_test.txt paramform=NO batch=YES destype=File desformat=pdf desname=${UNCPATH}/${SENDFILE}
rwcli60 module=${UNCPATH}/${REPORT_DIR}/abc.rdf userid=$DBID/$DBPASS@$DB EXPRESS_SERVER="server=Server123/domain=xyz/user=myname/password=password123" ERRFILE=${UNCPATH}/${DIR}/error_test.txt paramform=NO batch=YES destype=File desformat=pdf desname=${UNCPATH}/${SENDFILE}
When i run the shell script file on the command prompt, all i get is this error:
rwrun60: test_outapp 42: not found
42 is the line number of rwcli60 command in the shell script file.
I verified and test_outapp.ksh file is present in the path specified..... even then why this error?...something wrong with the above code?

Similar Messages

  • How to start Oracle Report Builder in Linux

    Hi all
    Can someone please help by telling how can i start Oracle Report Builder in Linux????
    Thank you and best regards to all

    Hello,
    there should be a script rwbuilder.sh
    in ORACLE_HOME/bin for 10.1.2.
    in ORACLE_INSTANCE/config/reports/bin for 11g
    Of course, you need to have a "X Display Server " up and running and the variable DISPLAY must be set to this "X Display Server "
    Example :
    export DISPLAY=123.456.789.12:0
    $ORACLE_HOME/bin/rwbuilder.sh
    Regards

  • How to invoke Oracle Reports from JSP ?

    Hi,
    I need to invoke Oracle Reports ( paper format ) from my JSP in different formats /PDF, RTF, HTML/ using rwservlet and then send the content to user browser.
    Please, someone to give me working example.
    Thanks in advance.
    Best regards.
    Peter.

    Peter,
    you can call it from a URL if you need:
    /reports/rwservlet?report=...&detype=cache&desformat=pdf...
    You can define a file called cgicmd.dat on teh server that takes key-value pairs of the most common parameters under an named entry.
    e.g.
    ReportsCommon: destype=cache server=myServer ... %*
    This way your URL is reduced to a minimum length because you don't have to list all parameters in teh URL.
    Second solution:
    Run a Reports from a browser URL and specify paramform=yes. This create a HTML based parameter form before executing teh Reports. Have a look at the HTML form code and see to what extend your Reports share same functionality so that you could create this HTML form in your JSP page. You could have a poplist with the name of "desformat" and list HTML, HTMLCSS,PDF,RTF,XML as valid entries so that the user can select the output format.
    The Reports documentation shipped with Oracle9iAS (also available online otn.oracle.com/products/reports) has all teh information you need.
    Frank

  • How to cofigure Oracle Warehouse Builder with MS SQL Server to store metadata information?

    I am getting error stating that 'API5022: cannot connect to the specified account. Verify connection information.',  when i try to configure MS SQL Server to repository assistance.
    Thanks in advance.

    Juergen,
    The SQL Server stored procedure implementation is somewhat different from the Oracle one. As you might have noted in Oracle all results (including ResultSets) can only be returned as output parameters from the stored procedure. With SQL Server you can just do a SELECT inside the procedure and you will see a ResultSet in Java (somewhat of an asynchronous call). There are advantages and disadvantages to both approaches.
    One of the SQL Server "disadvantages" is the problem you are experiencing: error messages are also generated as they occur and sent to the client (JDBC driver), which transforms them into SQLExceptions. Another SQL Server disadvantage is the fact that output parameters are only available after the driver has parsed and cached or discarded all results.
    With Oracle, on the other hand, you can only obtain ResultSets from stored procedures through cursors. This has two disadvantages: first there's an overhead on the server side to maintain the cursor snd seconf you need non-standard JDBC code to obtain the ResultSet.
    So the short answer to your question would be that there isn't (as far as I know) any way to avoid the SQLException. However, you can skip it and either get the linked SQLExceptions or call getMoreResults() until you get your custom error message.
    Alin.

  • How to download the files, that are located in server, from the client?

    Hello folks,
    My program is like that, the files are located in the server and stored in file system.
    I can only know the server name and the directory listing, so that I can show the file names from that directory on the browser.
    The user might downloads those files from the browser and he might deletes those files through the browser.
    That user has valid right to do so and the files can be any type of extension.
    So how can I write this kind of program? Currently the whole system is in struts, so how can I make compatible with struts technology?
    Do u have any ideas?
    Regards,
    Phyo

    Thank you, grigpm. But actually I want the user to select the file that he wants to download rather than setting it in the configuration file. If it is possible, let me see the sample code of FileManager servlet. I've tried with some ways but I can only download from the same server with the application server. I want to download from different server. I hope someone can help me with sample code....
    Best regards,
    Phyo

  • How to Publish a report created by Oracle report builder

    Hi Everyone
    My colleague and I were trying to use the Oracle Reports Builder to replace our existing reports generator from our ERP system. We have already created the report in the Reports Builder from the development suite.
    What we are looking for is a similar solution as the Microsoft reporting service;
    1) create the company report templates
    2) and then upload the template files to a location (e.g. folder on the server)
    3) then all user in the company can access it by a web browser with some fields which they can enter some critiria (e.g. purchase order number).
    4) then send to printer and the print out should look exactly like the template.
    Unfortunately, we had very bad time on try to find out what we need and how to publish that Oracle report we created. We spent 15 hours on that but no result.
    In that 15 hours we tried to setup the "Oracle report service", but at last my colleague said that wasnt what we looking for, the "Oracle report service" is for reporting the error from the application hosted on the server, not for publish the company report created by the "Oracle report bulider" .
    We use Oracle Database 10g for the ERP quite a long time already. We had the Oracle Developer Setup, and the Application Server Installed.
    Could someone please tell us what kind of Oracle service we are actually looking for. Any other suggestion and setup guides are also the most welcoming.
    Best Regards
    Bryan

    Hello,
    If you want to be able to execute your Reports on the web, the best solution is to use the "Oracle Application Server"
    http://www.oracle.com/technology/software/products/ias/htdocs/101202.html
    For example , the "Forms & Reports Services Standalone" edition
    Then, use the Reports Servlet to submit the execution requests to a Reports Server :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_run.htm
    Oracle® Application Server Reports Services Publishing Reports to the Web
    10g Release 2 (10.1.2)
    B14048-02
    13 Running Report Requests
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/howto/runprint/deploy_rpt.htm
    Deploying a report
    Regards

  • How to invoke crystal reports from Oracle forms 11g R2 along with passing p

    How to invoke crystal reports from Oracle forms 11g R2 along with passing parameter to it.
    how to pass parameters to crystal report, please help.

    how to pass parameters to crystal report, please help.This would entirely depend on crystal reports and you might find informations on crystal reports related communities more likely...I for one have seen crystal reports the last time about 12 years ago. And even back then I simply acknowledged it's existence instead of working with it.
    Maybe crystal reports can be invoked via a URL call which would make it simple as you'd need simply build an URL and show the report using web.show_document. But that's pure speculation. Also you might not be the first with this requirement, so the solution to your problem might be right under your nose and just a little google search away ;)
    cheers

  • How to use LIKE function with a parameter in Oracle REPORT builder??

    how could i use parameter inside a LIKE function in Oracle reports builder?
    it works in SQL plus, but not in report builder!!
    Example:
    select code,desc from item_master where desc
    like '%&give_desc%'; ---works in SQL
    like '%:give_desc%' ---doesn't work in report builder!!

    Hi Renil,
    You will need to use the wildcard character (%) and the concatenation character (||) to join to your user parameter.
    i.e. like '%'||:give_desc||'%'
    Regards,
    John

  • How to type chinese character in Oracle Report builder 6i?

    Hi,
    Does anyone know how to include the chinese character in the rdf file under Oracle Report Builder 6i?

    Hi,
    please check with this link
    [https://blogs.oracle.com/ankitkaushik/entry/displaying_multilingual_data_i ]
    Hope this link will help you
    Thanks & Regards,
    pallis

  • How to handle Exceptions in Oracle Report Builder 10.1.2.0.2?

    We are using Oracle Reports Builder 10g 10.1.2.0.2, Windows XP with Oracle 10g database. The reports are converted into JSP reports.
    How and where do we write exception handling code in Reports Builder? We want to achieve the following:
    1. Display a customized JSP page with customized error message
    2. Allow users to cancel the report execution, if possible and then direct them to the parameter form with all the values they entered before.
    Once we write these codes in the Oracle Report Builder where will it show in .jsp files?
    Thanks
    Hemant

    this link may be helpful:
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/whatare/pformobj/a_pf_web.htm

  • Interfacing of oracle report builder and java

    hi all,
    I have build a report using Oracle Report Builder 10g.Now i want to make use of this report in displaying the data in IE using core java.
    This is the first time i am using the Oracle Report Builder .
    Can anyone tell me how to proceed in right direction?Do i need to have some specific Jar,Environment to accomplish this task?
    Thanks in advance

    I'm not sure what version of the product you're using, but since you're just installing it may well be the base version (6.0.8.8.3).
    Similar issues were addressed in a patch release (6.0.8.12), which was related to issues with some types of keyboard. You may want to upgrade to the latest patch release and retry.

  • How to connect oracle report to e-biz suit

    Hi gurus,
    Can some one pls explain to me how to connect oracle reports to e-biz suit or any link to get apps technical , pls not the user guide.

    - Install Oracle Developer 6i (Forms/Reports) on the client
    - Add an entry to tnsnames.ora (Or copy it directly from the server, located under $8.0.6_ORACLE_HOME/network/admin/<SID_hostname>/tnsnames.ora)
    - Connect to Oracle Apps from Reports Builder using "apps/apps@<SID>"

  • New to oracle report builder

    Dear all;
    Please pardon me. I am new to oracle report builder and I am trying to accomplish the following. First and foremost please find my pl/sql queries below. Kindly note, all the queries have been tested and I just need to be able to input those queries into the report builder. Thank you.
    create or replace package test1 is
    type r_cursor is ref cursor;
    function report(company_name in varchar2) return r_cursor;
    end test1;
    create or replace package body test1 is
    function report(company_name in varchar2) return r_cursor as
    my_r_cursor r_cursor;
    begin
    if(company_name = 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t;
    return my_r_cursor;
    elsif(company_name != 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t
    where t.t_id = company_name;
    return my_r_cursor;
    end if;
    end;
    end test1;
    create table t1
    t_id varchar2(200) not null,
    t_description varchar2(250),
    primary key(t_id)
    insert into t1
      (t_id, t_description)
    values
      ('CITI', 'PROFIT: 2.2Billion');
    insert into t1
      (t_id, t_description)
    values
      ('GE', 'PROFIT: 1Billion');
    insert into t1
      (t_id, t_description)
    values
      ('JPMORGAN','PROFIT: 0');Now, I am trying to create a simple report in oracle report builder. The interface for generating for this report is basically, there is a dropdownlist where by the user picks a company name from the dropdownlist and clicks on the go button, this should then generate a report with the above query shown in the package. How can this be achieved? All help will greatly be appreciated.

    Hi,
    first of all you need strong typed ref cursor, oracle reports need to detect witch are the columns returned by your cursor.
    so first you create your package
    create or replace package test1
    as
    TYPE t_record IS RECORD ( company_number PLS_INTEGER--TABLE_NAME.COLUMN_NAME%TYPE
    , company_desc VARCHAR2(150)--TABLE_NAME.COLUMN_NAME%TYPE
    TYPE T_REF_CURSOR IS REF CURSOR RETURN t_record;
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor) ;
    end test1;
    show errors
    create or replace package body test1
    is
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor)
    is
    my_r_cursor T_REF_CURSOR;
    begin
    if(company_name = '1')
    THEN
    open my_r_cursor for
    select 1 as t_id, 'description' ast_description from dual
    else
    open my_r_cursor for
    select 2 as t_id, 'description2' as t_description from dual
    end if;
    end;
    end test1;
    show errors
    then, in your report you create a ref cursor query :
    function QR_1RefCurDS
    return test1.t_ref_cursor
    is
    C_return test1.t_ref_cursor;
    begin
         test1.report(1,C_return);
    RETURN(C_return) ;
    end;
    hope this helps you !
    E

  • Getting a report in excel format from oracle report builder 10gDS release2

    I want to get a report in excel format from oracle report builder 10gDS release2.
    Is there ne method by which minimum effort is required for changing already made reports .
    I have searched for it on internet :-
    http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwwhthow%7Cwhatare%7Coutput%7Coutput_a_simpleexcel~htm/
    Example, given in the last of the page opened from the above url, is not working.
    Can neone plz explain the example and how to use it
    Thanks & Regards
    JD

    Ok, for the release 2 its quite straightfoward, in your calling form you would have something like this code:
    declare
         pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    v_rep_status VARCHAR2(20);
    v_repsrv     VARCHAR2(100):= 'yourreportserver';
    v_serv varchar2(50) := 'yourservername' ;
    begin
    pl_id := Get_Parameter_List('tmpdata');
    if not id_null(pl_id) then
    Destroy_Parameter_List( pl_id );
    end if;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'DESTYPE' ,TEXT_PARAMETER,'Screen' );
    Add_Parameter(pl_id,'PARAMFORM' ,TEXT_PARAMETER,'NO' );
    repid := FIND_REPORT_OBJECT('yourreport');     SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER, v_repsrv);
    set_report_object_property(repid,REPORT_DESTYPE,CACHE );
    set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
    v_rep := RUN_REPORT_OBJECT(repid,pl_id);
    v_rep := substr(v_rep,length(v_repsrv)+2,10 ) ;
    end;
    I have plenty of reports being formated to excel with this same method so it should work for you, the only diference with my previous code is this line.
    set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
    The rest remains untouched.
    Hope it helps.

  • 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

Maybe you are looking for