How to run a 10g report in batch mode.

Good Afternoon,
Please advise if there is a way to run a 10g report from command line.
We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to request the report server to run a report?
Thank you,
Dmitri

For those of you interested in following this refer to the same thread in the Reports Forum:
How to run a 10g report in quiet\batch mode

Similar Messages

  • How to run a 10g report in quiet\batch mode

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to request the report server to run a report?
    Thank you,
    Dmitri

    So the server (we will call it server1) you have "Redwood Cronacle 6.0.2" installed on has a C: drive and a D: drive. On the D: drive is installed Developer 6i (D:\ORADEV6I). You can install Developer Suite 10g also on the D: drive (D:\ORADEV10G for example). After that, setup Oracle iAS on server2. The good news is you have to change very little code. You can:
    Not use the iAS server at all and use the following command (similar to how you are doing it now) in Redwood:
    return 'D:\ORADEV10G\BIN\RWRUN.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' batch=yes paramform=no destype=file'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE';If you want to use the iAS server, you have to consider where the report will physicall exist. You can have it exist on the reports server or you can have it brought back to the client. If you bring it back to the client you will lose the ability to run this asynchronously (or in batch mode). You will have to play with some of these parameters to get it to work perfectly, but this should be a good start. These are examples of have the report results saved locally on server1...not server2:
    1. Use rwclient to submit a report request
    return 'D:\ORADEV10G\BIN\RWCLIENT.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=localfile'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';2. Use rwservlet to submit a report request
    return 'D:\ORADEV10G\BIN\RWSERVLET.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=localfile'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';I would think that Cronacle 6.0.2 can submit a url as a job and wait for the results to be streamed back, so you could look into doing that also, in which case the url you would submit for the job would be something like:
    return 'http://server2:7777/reports/rwservlet?'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=cache'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';

  • From 6i to 10g "How to run a 10g report from OEM scheduler"

    We recently converted all of our 6i form and reports to 10g. We had forms and reports running as batch processes.
    Now that we are using 10g it is understood that we cannot run the forms as we did in 6i using OEM scheduler, so they were converted to scripts.
    Our problem still remains, How do we run 10g reports as batch processes?
    Can we use OEM scheduler?
    Is there a better product to accomplish this task?
    ...

    Hello,
    How do you execute your Reports ?
    Do you execute it from the Builder ?
    If you execute it from the Builder, do you use Run Web Layout or Run Paper Layout ?
    (If you have upgraded a Reports From 6i, there is no web layout , so you have to use the Run paper Layout
    The web layout is something new that appeared in Reports 9.0.2)
    Regard

  • How to run a 10g report from command line ?

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to address an report server and run a report?
    Thank you,
    Dmitri

    Steps to take.
    (1.) In command prompt type RWSERVER SERVER=repserver1 to star the rep server.
    (2.) If you get "Javaw.exe The procedure entry point psoasyn could not be located in the dynamic link library orapls10.dll." error do one of the following
            (a.) Type the full name for the server. D:\OracleDevR2\bin\rwserver SERVER=repserver1
                   or, if it does not work
            (b.) Add D:\OracleDevR2\bin to the system env. variable PATH
    (3.) Start OC4j
    (4.) Now you can access the jobs using URL like:
        http://192.161.11.143:8890/reports/rwservlet/showjobs?server=repserver1
          where 192.161.11.143 is your machine's IP address.

  • How to run Discoverer 10g report from unix command line

    Hello Experts,
    I am aware that discoverer report can run through command line using "dis51usr.exe /connect username/passward@connection_string /opendb "DISCOVERER.<<report name>> /export xls"".
    Can we run discoverer 10g report (stored in database) from server location / unix command line? Is there any command?
    Please assist. Thank you.

    Hi Tamir,
    Can you please mention from where we have to execute/run these commands? After setting enviornmental variable, are these commands run from any location or we have to go to particular server location and then execute (ex. from directory BI or else).
    Thank you.

  • How to run a 10g Report from form in client using OC4J

    Hi,
    Every time we make a report, in order to test it we have to deploy in application server.
    In our application we make the report is written as a PDF in the server and shown in the client browser using WEB.SHOW_DOCUMENT.
    Is there a way we can do this in the development environment?
    Like this: I create a report (i.e. RDF). Now in my development machine I want the form (we use a Oracle Form as a parameter form, not the Reports para form) to have a button, and when I press this button the report has to run, create the PDF in my machine and show it my client browser.
    How to do it using OC4J??

    Steps to take.
    (1.) In command prompt type RWSERVER SERVER=repserver1 to star the rep server.
    (2.) If you get "Javaw.exe The procedure entry point psoasyn could not be located in the dynamic link library orapls10.dll." error do one of the following
            (a.) Type the full name for the server. D:\OracleDevR2\bin\rwserver SERVER=repserver1
                   or, if it does not work
            (b.) Add D:\OracleDevR2\bin to the system env. variable PATH
    (3.) Start OC4j
    (4.) Now you can access the jobs using URL like:
        http://192.161.11.143:8890/reports/rwservlet/showjobs?server=repserver1
          where 192.161.11.143 is your machine's IP address.

  • NAV 2013 R2; How to run a customized report (206 sales invoice) in the classic client

    Hello, in preparing a newly installed NAV 2013 R2, I'm questioning the following:
    In the Development Environment I have customized report 206 Sales - Invoice in the Design menu View Layout with the space of the logo (by Microsoft SQL Server Report Builder) and
    finally saved and compiled.
    When I do run it connects to the server of what I call the classic client or the real NAV 2013 R2 and I can select a posted sales invoice to show the new layout and the result is
    fine as customized as I wanted.
    When I later ordinary print one of the posted sales invoices this customized logo layout doesn't appear on the print. I print in PDF and paper. When I make a next new sales invoice
    this new layout is not in use either.
    Another thing is run print started from the Development Environment is called Sales - Invoice in the header and not just Invoice that it the name when printing when invoicing and
    printing of posted documents.
    Additionally this form of Sales - Invoice shows our company details and good information as web, e-mail, bank account and bank name that is well demanded on a perfect invoice.
    How to get these informations out normally?
    Is the classic client having a wrong report as sales invoice?
    How to run a customized report (206 sales invoice) in the classic client NAV 2013 R2?
    It is like the customized report (206 sales invoice) is not in use yet in the classic client.
    All you wise people out there are welcomed to help me now
    Best regards
    Carsten

    Try on Dynamics Community forum: https://community.dynamics.com/nav/f/34.aspx

  • How to run a ABAP Program in Batch JOB

    How to run a ABAP Program in Batch JOB ?

    Hello Manish,
    Using transaction SM36 you can define the batch job along with the start conditions for that job.
    1. Transaction SM36.
    2. Give the Z name of the job in the 'Job Name' input field.
    3. Click on 'Steps' button from the application toolbar.
    4. On the 'Create Step 1' dialog box, give the name of the ABAP program in the 'ABAP Program' section' along with the variant.
    5. Click on 'Check Input' button from the dialog box.
    6. Click on 'Save' button from the dialog box once the check is successful.
    7. One list will be shown. Click on Back button from the standard toolbar.
    8. Click on 'Start Conditions' button from the application toolbar. Specify the start condition e.g. immediate. Click on save.
    9. The job staus is now scheduled.
    10.Click on Save button from the standard toolbar of SM36. The job status will be released.
    Using SM37 you can monitor the status of the job.
    This will sort out your problem.
    PS If the answer solves your query, plz reward points.
    Regards

  • How to run non-customised report from command prompt to gen trace file?

    Hi
    how to run non-customised report from command prompt to gen trace file?
    EBS R12 RUP6.
    RHEL5
    rgrds

    Hi,
    See (Note: 285497.1 - Rwrun.sh Does Not Generate Trace Output Using TRACEOPTS in Command Line) and/or (Note: 737445.1 - R12 Concurrent Requests Run Forever; rwrun Errors REP-50125) for the command you need to use.
    Thanks,
    Hussein

  • How to run the 9I report from the forms menue 9i

    how to run the 9I report from the forms menue 9i.
    Shehzad Latif

    Hi,
    1. create a Reports Object node in Forms. If you use teh same object node name then you can write generic code that works in all Forms
    2. Get the whitepaper about Forms/reports integrtion
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

  • How to run an XML Report from Oracle Forms 10G

    Hello Friends,
    I am in need of showing a xml report output through a button press trigger in Oracle Forms10G.
    I have designed the report in XML Publisher and the report looks fine.I found few scripts useful in running the Oracle Report from Oracle forms10G like Run_Report_Object.But I am not aware of any script that could run a XML report and show the output directly from a Form.
    All I want is to run a XML report from an Oracle Form with a button press trigger and show the output in an html version.
    Can this be achieved?
    If so, Kindly advise as this is an immediate work.
    Regards,
    Badrul.

    Hi,
    If I am not wrong the XML publisher is same as BI publisher ...
    There is one document which explains how to integrate using web service
    You want to check this
    http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v22.pdf
    or you can also try web.show_document ..

  • How to run drill down reports

    now i am using 9ids
    Before dev 2.1 was used.
    now before we had provision to run drill reports
    by putting a button on report
    and using
    srw.run_report(); procedure ,in button action trigger.
    now in 9i what i observed there is no object button in reports.
    button has changed to text item and there is no such action trigger.
    how to run the report
    as reports are run from form by using
    web.show_document
    pls suggest.

    Hi Rajendra,
    Again prasanth here, As u said, there is no more push button in 9i and 10g, ok. so u can drill down reports by using hyperliks which is only way(according to me). some may suggest to include JSP buttons. But u can simply place any text item like 'click here to run report' and in the property inspector(i.e.property pallette) set the hyper link property with the desination of your file. It may be a weblink or may be local file path.
    example
    hyperlink: www.oracle.com/..or
    c:\temp\test.rdf
    or u can write a trigger for that text item:
    1)right clik the text item
    2)goto pl/sql editor
    3)put the code
    a varchar(30);
    begin
    a:=srw_run_report('<the report link you want')
    return(a);
    but before doing this make sure that the item type of tha t text item property should be pl/sql(this can be set in property pallete of that text item)
    I think this help you,
    Thanks and Regards
    Prasanth A.S.

  • How to run a crystal report in SAP Crystal Reports 2011

    I've installed SAP Crystal Reports 2011. I can't figure out how to run a crystal. What replaces the lightning bolt used in previous versions of crystal? I'm I missing something?

    Hi Tim,
    You may:
    1) Press F5
    2) Go to Report > Refresh Report (Notice the icon beside the label)
    3) Go to View > Print Preview
    4) Or, click the refresh button on the toolbar
    5) The icon on Point#2 is also available on the toolbar
    -Abhilash

  • URGENT..How to Run Cash Flow Report.

    How do I run the cashflow report. I opened the cash flow report by going in t.code S_ALR_87012272. I entered the co. code and the g/l accounts, and the fiscal year and executed the report. But it opened a screen with no records found, although the g/l accounts have balances. Why are they not getting picked up. Is there a special way to run the cash flows report. Is it different from Financial Statement version. It is very urgent, so if I can get some help, I will greatly appreciate it.
    Thanks
    Lakshmi

    Hi Krishnan,
    Can you please tell me why is the cash flow report not picking any data though I assigned the correct FSV to it. There is another thing that I wouldlike to mention here. When I go in report painter and display the form for cash flow,though I have assigned the correct FSV in General selection, I see the FS item as 300000 which is not what is on the financial statement. On the financial statment version it is the text like petty cash and not any number like 300000 as financial item. Do I need to set up petty cash in the form in place of 300000 (because 300000 does not exist in fsv as a finacial item) Does it eman I will have to enter for each items on the cash flow report
    Thanks in advance
    Lakshmi

  • How to run oracle 10g enterprise manager

    hi
    how can i run oracle 10g enterprise manager?
    thanks

    set oracle_sid
    then run the following
    EMCTL START DBCONSOLE
    emctl status dbconsole---This is to check status
    emctl stop dbconsole---This is to stop dbconsole
    If you are using windows system then you can start enterprise manager through dbconsole service in controlpanel-administrator tools-services

Maybe you are looking for