Reports on the command line

1)Is it possible to run a report that has a parameter form on the command line? I am using rwcli and passing parameters on the command line but it is comming up with the following errors:
REP-0177: Error while running in remote server
REP-0110: Unable to open file 'TestI.rdf'.
REP-1070: Error while opening or saving a document.
REP-0110: Unable to open file 'TestI.rdf'
2) I want to run a dummy report that calls the actual report. Is it possible to do this on the command line? The dummy report has a dummy query. Should the destype be set to file or screen for this dummy report?
Thanks

Hi Srikanth
You can specify the parameters from the command line while running Reports.
Say, if you have a parameter called P_1. While running reports you may specify:
rwrun report=blah.jsp userid=foo/bar@db P_1=Friday ...
You may specify the destype of the dummy report to file. Perhaps you may want to create this file into a temp folder so that it can be cleaned up regularly.
Regards
Sripathy

Similar Messages

  • Error while running the Discoverer report from the command line.

    Hi All,
    I've to run a discoverer report from command line and export the results in xls/html on to my local machine. This report I've to run it as batch and scheduled it.
    I have a parameterized worksheet and this has to be run from command line specifying the parameter value I wanted to run the report for. I do not get any results. Here is the command line I am using.
    dis51usr /connect user/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" '40351' /parameter "From Date" '05-MAY-2008' /parameter "To Date" '06-MAY-2008' /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStOutputinHTML123"
    I even added the TO_DATE conversion for the parameters and also gave the format of the date as 'DD_MON_YYYY'.
    Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
    Please anyone reply me.
    Regards & Thanks,
    P. Gayathri Devi

    Hi Gayathri,
    Try changing your parameter names to be a single word. (Change "Test Number" to Test_Number).
    Does the report run fine when run through Desktop for the same parameter values? Which version of Discoverer are you using?
    Thanks.

  • Sending Reporting Services report via the command line

    I would like to either execute a subscription that sends a report via email on demand.  That or just email the report without having to edit the subscription date.  Can this be done from the command line?  I see there is the rs.exe utility
    that allows you to deploy reports and run configuration commands, but I would like to execute and email the report.  Is this possible?

    The easiest way to run a subscription manually is to run the agent job in SQL server that is associated to the subscription.  You'll need to know the subscription ID to do that.  So, you could either run it through SSMS, or if it needs to be in
    command line, interact with SQL Server via command line and do so.
    You can use the ReportService2010 API methods and and powershell script to identify the subscription ID
    https://msdn.microsoft.com/en-us/library/reportservice2010.reportingservice2010.aspx?f=255&MSPPError=-2147217396

  • Using the command line with DESKI to run a specific module in a report

    I'm using BOXI R2 Desktop edition in a Windows Environment.
    I have a report with a macro inserted in it which is composed of several sub-modules. 
    I know I can launch the report from the command line as follows: "C:\PROGRAM FILES\BUSINESS OBJECTS\BUSINESSOBJECTS\BUSOBJ.EXE" -user "USERID" -pass "PSWD" "Directory and Filename" -keyfile "Keyfilename" -nologo
    What I want to know is can I launch the report from the command line and call a specific module.  So if I have 5 modules in a single report, can I just call 1 from the command line?
    How would that be formatted?
    Thanks in advance.

    There's some more stuff to be done to correctly call external executables.
    Read [When Runtime.exec() wont|http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html], it shows some of the pitfalls of Runtime.exec().
    Edit: there's also JRuby, which might be worth a try.

  • REP- 50004 no report specified in the command line

    hello,
    i dont want to specify the connection string in the URL, so in the cgicmd.dat i added :
    test: userid=scott/tiger@orcl destype=cache desformat=pdf server=rep_oas %*
    in the URL :http://oas:7777/reports/rwservlet?cmdkey=test&report=adm31002.rdf
    the result of the execution is
    REP-5004 no report specified in the command line
    can you help me
    thanks

    Hi,
    try
    http://sgarcia.eeq1:8889/reports/rwservlet?report=R_MISOL1.rdf&PARAMFORM=no&destype=cache&desformat=pdf&CODIGO_CUENTA=215&EMPRESA=EEQSA&EMPLEADO=25243&V_PATH=Z:\bin&cmdkey=cmx
    regards
    Rainer

  • SQL 2012 SSIS package runs from the command line (dtexec.exe) and completes right away ...

    Hi
    I’m upgrading our SSIS packages from SQL 2005 to SQL 2012 .
    Everything is working fine in Visual Studio, but when I’m submitting dtexec.exe it’s finishing right away in the command line (the actual execution takes long time). 
    It looks to me that as the return code doesn’t pass properly.
    As I have depending tasks how I can make sure all jobs will be executed in the proper order.
    (We never had this issue in SQL 2005)
    C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn>dtexec.exe /ISSERVER "\"\SSISDB\Direct_Prod\Direct_SSIS_Package
    \DD_Load_Customer.dtsx\"" /SERVER TORSQLSIS01 /ENVREFERENCE 2
    Microsoft (R) SQL Server Execute Package Utility
    Version 11.0.2100.60 for 32-bit
    Copyright (C) Microsoft Corporation. All rights reserved.
    Started:  10:21:55 AM
    Execution ID: 21138.
    To view the details for the execution, right-click on the Integration Services Catalog, and open the [All Executions] report
    Started:  10:21:55 AM
    Finished: 10:21:56 AM
    Elapsed:  0.766 seconds

    As per MSDN /ENVREFERENCE argument is used only by SQL Server Agent
    see
    https://msdn.microsoft.com/en-us/library/hh231187.aspx
    below part is what it says
    /Env[Reference] environment reference ID
    (Optional). Specifies the environment reference (ID) that is used by the package execution, for a package that is deployed to the Integration Services server. The parameters configured to bind
    to variables will use the values of the variables that are contained in the environment.
    You use /Env[Reference] option together with the /ISServer and the /Server options.
    This parameter is used by SQL Server Agent.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How can hide the command line of a t.code in the portal

    Dear Experts.
    I have the following doubt:
    How can hide the Command Line of a Report that is called with a T.Code in the portal?
    Attach Image:
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    When I created a service using the T.Code SICF for the T.Code , I can hide buttons and the filed command line  using
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    With notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417.
    But the problem is that when I create the service in the T.Code SICF, I also have that create an Iview IAC in the portal.
    The Question is : How can hide this fields and buttons if I want Publish the T.code using an Iview Transaction in the portal?
    In this moment I have used the two options:
    1 option) I created a service using the t.Code SICF for my Transaction and I also created an Iview IAC in the portal for call the service.
    RESULT:
    SAP Web Application Server
             500 Connection timed out
            Error: -5
           Version: 7000
           Component: ICM
           Date/Time: Sat Jun 12 20:26:39 2010 
           Module: icxxthr_mt.c
           Line: 2698
           Server: xyxab...
    Error Tag: {-}
    Detail: Connection to partner timed out after 60s
    2)  created an Iview Transaction  in the portal and  call my transaction.
    RESULT.
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    But not can hide the field Command Line and other buttons.
    I think that the command :
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    Only can be used if I create a service using the T.Code SICF .
    Best Regards
    Carmen.

    Hi Carmen,
    The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
    You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
    ~okcode=/nSU01
    And you can pass parameters in the same way:
    ~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
    By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
    Regards, Rory

  • Compile REP file from RDF in the command line

    Is it possible to compile the REP file from an RDF in the command line? If so, do you have a simple example?

    Hi ,
    In 9i, it is rwconverter.exe. Please see Publishing Reports to the Web document available at OTN site.
    <http://otn.oracle.com/docs/products/reports/content.html> and to get more info on how to use rwconverter as command-line refer to "Appendix A" (which would provide information about command-line arguments.
    Hope this helps.
    Thanks,
    Vinod.

  • Compiling Forms & reports 9i in command line

    Hi All:
    Can we compile forms and reports developed in 9i using the command line rather than opening a form and compiling it. If it possible to compile whole of the .fmb file in a command line.
    Any syntax or the documentation on this issue would be very helpful
    Thanks

    I recommend you to post this topic in Form Forum
    Forms
    Joel P�rez

  • Scheduling workbooks using the command line

    Hi, can anyone tell me if it's possible to schedule workbooks in Discoverer using the command line interface? If so, could you point me in the direction of any relevant documentation?
    We've got 300+ reports to schedule on a regular basis and it would be useful if we had different options to schedule the workbooks e.g. for batch processing.
    Thanks and regards
    Geoff Butler

    Inspired by your MacOS fix, I went looking to see if their was an easier Windows fix than my 'Repair Bonjour' process. Turns out there might be.
    In the Bonjour 'Program Files' folder, there is an application named 'mDNSResponder.exe' which brings up a DOS dialog. After running this application and then opening iTunes, I had a stable AppleTV-iTunes connection through the evening until I put my computer to sleep.
    I haven't done any thorough testing around this (the kind that Apple should have done before releasing iTunes 7.6), but it does seem to at least temporarily resolve the issue until iTunes is closed again. What would be nice is if this works without having to restart a faulty iTunes session (which the 'Repair' fix doesn't).

  • OS10.3.9 suddenly chooses to boot in darwin (i.e the command line)?

    OS10.3.9 suddenly chooses to boot in darwin (i.e the command line)?
    Question #1 is: what's the command to load the finder from Darwin?
    Question #2 is: what would cause this? My hard drive has been reasonably full lately... otherwise I haven't updated the OS, software or changed anything. Also, I essentially use this G4 for downloading with Azureus... in case this info is useful.
    THanks for the help in advance!

    At this stage that doesn't look too good.
    You could try and run the Disk Utility on the Install CD and see if that will repair the disk. If it can't then consider buying DiskWarrior or TechTool Pro is 4.1.1 for 10.3 Panther which are much more able disk repair utilities.
    Before you go to that expense, try Disk Utility. Instructions are below.
    The startup drive can only be repaired from another drive. Simply loading the install disk is not sufficient. You have to boot from the install disk.
    To do this: Insert the Install Disk 1 into the drive and then select Restart; when you hear the chime hold down C key until the apple logo appears.
    This will take you to the installation software, but you do not want to install.
    Select your language, then go up to the top menu bar to Installer and navigate to the Disk Utilities application.
    Select the start up drive, then follow the instructions in the First Aid pane where you can click on Repair Disk.
    If it finds errors, repeat the process until it reports no errors.
    After these repairs, quit the application, and restart normally.
    Once restarted normally run Repair Permissions. from the Disk Utility application found on your hard drive in Application/Utilities.
    regards roam

  • Scheduled Reports results by Command Line

    I have several reports that I schedule to run nightly in Discoverer 10G Desktop. How can I open the scheduled results using Command Line? Once open, I want to export the results as Excel. I can do a unscheduled report using the code below:
    \oracle\BIToolsHome_1\bin\dis51usr.exe /connect username/password@report /apps_user /apps_responsibility "responsiblity name" /opendb "report name" /sheet "Exception Report" /parameter "parameter name" 'parameter value' /export XLS C:\TEMP\testexport1.xls
    Is it possible to retrieve the scheduled results? How much of this could be done at command line and how much would have to be done in a third party scheduler?
    Thanks.
    Edited by: user12248590 on Feb 18, 2010 12:46 PM

    Hi,
    How can I open the scheduled results using Command Line? Is it possible to retrieve the scheduled results?No, I don't think it is possible to retrieve scheduled results from the command line.
    How much of this could be done at command line and how much would have to be done in a third party scheduler? It would be better to do it all using a third party scheduler such as the windows task manager. You could schedule the export to run overnight using the task manager and a windows command file. You can search this forum or the LearnDiscoverer blog for more details on third party scheduling.
    Rod West

  • Could not view data in the Em while in the command line query works

    Hi, all,
    I have met with this problem for several times.
    I have an Oracle 10.0.2.0 running on Redhat linux E3.
    After I insert or just input some data in a table. I could see the new data in the command line.
    SQL> select * from tablename;
    But I could not see the new data in the EM. If I export the table to, say, MS Access, the new data doesn't show. The data is there, but I have to wait for some time. (several mins to hours)
    Do you have any idea of it??
    Thank you very much!
    Qian

    Thank you for your reply.
    Why sometimes it doesn't show in other sessions, but sometimes it shows?
    Any way, I will perform commit to see....
    Qian
    Message was edited by:
    QianChen

  • How can I open a PDF file and enter a word in the Find field from the command line?

    Hi,
    I want to use a PDF file as the help file of another program.
    I have found somewhere an incomplete description of the command line parameters of Acrobat Reader.
    It described how to open a file and jump to its given page.
    I have written the following batch file based on that.
    rem Open pdf (prm1) with Acrobat reader at given page (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&page=%2=OpenActions" %1
    The following batch file opens the search dialog:
    rem Open pdf (prm1) with Acrobat reader
    rem and search for something (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&navpanes=1=OpenActions&search=%2" %1
    I need the simple find field instead of the complicated search window.
    Regards
                   Ferenc

    Not possible.

  • I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    >SystemPreferences>Network>DNS

Maybe you are looking for