Run the report through command prompt on Linux

can anyone tell me how can run report through command prompt (Reort server is on Linux)?
that thing I want to implement in form calling report.
Please guide about it..

hi,
There is a lots of documents available in the Internet for the same.
Regards,
Soumyajit

Similar Messages

  • Error to execute the script through command prompt

    I tried to execute the script through command prompt. I got some following error. Could you please advice me how to rectify this.
    cscript D:\JS\Test.js
    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
    D:\JS\Test.js(1, 1) Microsoft JScript runtime error: 'app' is undefined.
    Thanks,
    Prabudass

    I haven't use CS for quite some time and file associations may not work with the command prompt.
    You can try using Windows Explorer to browse to a .js file then right click on that file. From the popup menu choose Open With. Even if you see Photoshop in the file list choose Browse at the bottom. Browse to Photoshop and make sure to check 'Always use selected program...'
    If that doesn't work you will need to create an action that runs your script and make a droplet from that action. You can then use the droplet in the command prompt. You may also need to create a 'dummy' image file to launch the droplet with if you script doesn't require an open document at startup. See http://www.ps-scripts.com/bb/viewtopic.php?t=967

  • Unable to run discoverer report from command prompt

    Hi,
    I'm trying to run the discoverer report from command prompt and i need to schedule the same.
    How could i pass multiple values for the parameters?
    If i don't pass the optional parameters, the parameter screen is getting pop-up? How to skip optional parameters?
    Also, how to pass the data ranges (format for date parameters) ?
    I'm using the below command in command prompt:
    cd/d E:\oracle\BIToolsHome_1\bin
    dis51usr /connect username/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" 40351 /parameter "From Date" "01-JAN-2007" /parameter "To Date" "28-FEB-2007" /parameter "Observation Status" C /parameter "Observation Name" "Abdominal Girth" /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStatusOutput11"
    Any one please reply me. Its very urgent.
    Regards,
    Sreedhar

    Hi,
    How could i pass multiple values for the parameters? You should be able to use a comma separated list e.g.
    /parameter "Observation Name" "'Abdominal Girth','Abdominal Girth2'"
    How to skip optional parameters?I don't think you can. You have to supply all parameters and then decode out the parameters you don't need in the workbook.
    how to pass the data ranges You cannot pass a date range. You can pass a start and end parameters. The default format for the date parameters is DD-MON-YYYY but this can change depending on the NLS settings and format of the data item.
    Rod West

  • Generate the fmx through command Prompt

    Hi,
    I am using Oracle forms6i, Oracle 10g Database and Windows (OS).
    Is it possible to compile the FMB file through command Prompt.
    And then i need to move the fmx files to server through command prompt.
    Thanks,
    Ansaf.
    Edited by: Ansaf on Jan 24, 2012 5:20 PM

    Ansaf wrote:
    Hi,
    I created the batch file as per your code and i changed only the useridn/password@db.
    I run the batch
    But i cant find the fmx file.Sorry i post the 10g batch compiler
    From where u run the batch file ? It should be in that folder where you .fmb exist.
    If then don't work. add the location path before the ifcmp60.exe
    Here is the 6i compiler
    Echo compiling forms ....
    for %%f IN (*.fmb) do C:\ORANT\BIN\ifcmp60.exe userid=mail/tti@ait module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    ECHO form compilation completechange the ifcmp60.exe path as you have
    Hope it will works for you
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: HamidHelal on Jan 24, 2012 8:12 PM

  • How to call the javascript through Command prompt?

    I need to call the .js file through command prompt. And also through programming language like c++, java. Could you please advice me with samples.This is for "illustrator cs".

    You can also look into use of COM scripting interface to the Adobe programs. Unfortunately, this means you have to do some programming/scripting to create a (command line) script that you can execute like
    cscript C:\somePath\myScriptLauncher.vbs  C:\somePath\anAdobeScript.jsx
    or
    cscript C:\somePath\myScriptLauncher.js  C:\somePath\anAdobeScript.jsx
    the scripts can be written in VBScript (*.vbs) or Microsoft JScript (*.js) which can access COM objects thus the Adobe program's COM APIs.
    Nothing purely simple as a command line option in this solution. But it does offer customization as an advantage.
    This might be a slightly useful reference.
    http://stackoverflow.com/questions/3846626/is-it-possible-to-execute-jsx-scripts-from-outs ide-extendscript
    there's one post mentioning COM in there.
    And of course, you can also use COM through C++, Java, C#, Visual Basic, etc. as well, not restricted to VBScript and JScript, though I've found it's easier to use the latter two for COM.

  • Run the Report through a button in form 6i

    Dear friends i am using oracle 6i and i want to run a report through a buton on form 6i

    Permission granted... ;)
    More seriously: Have you tried to look into (and understand) the examples that were shipped with the developer?
    How far did you get, where are you stuck, what error do you receive?

  • Don't have to run the report for no prompt value

    Hi,
    The requirement is that I need to create a report which is more of a search report kind of thing. So on the dashboard we need to show only prompts. The users would choose any prompt and run the report.....now the issue is....that when no prompt values is selected and user hit the GO button ..i need to show a message saying "Please select any value" ...how to do that ..
    I have already refered kishore's blog on guided navigation to implement this ..but the issue which I am facing is that my intermediate report is taking too much time (almost 10 mins) to come back with values and then my actual report shows the message thorugh No results view ...but i need to load the messsage to the dashboard in not more that 1 mins ...how to do that .....
    any help would be much appreciated ....
    Thanks
    Ronny

    Thanks Kishore, but I have already refered your blog and implemented this approach as I have mentioned above, however, the issue is that my intermediate report in which I am using the dummy filter is taking too much time to run ...like 10 mins...so guided navigation doesn't work properly ....I have almost 15 prompts so it is taking time ..is there any other work around ?
    Thanks,
    Ronny

  • How to print pdf file in SQL Server Reporting services report using command prompt?

    Is there a way to automatically print a SQL Server Reporting services report on command prompt? For eg: We can save a pdf file using rs.exe utility. I want to print a pdf using rs.exe utility. Is it possible? I don't want to install any 3rd party software.

    Thanks Simon for replying to my question.
    In oracle form, there is oracle command to print the report from command prompt with the help of rwrun.exe
    e.g: rwrun.exe   REPORT="D:\Test\REP_25\MLA.REP" DESNAME="testprinter" DESTYPE="PRINTER" P_FORMNAME="MLA.FMX" P_SPRACHE="E" P_SPRACHE_NR2="1" P_WHERE_BEDINGUNG="order by land_nr" USERID="test/test.world" PSV_NAME="PSV_DEMO" PSV_JOB_ID="PS$9583" RECURSIVE_LOAD="NO"
    BATCH="YES" NONBLOCKSQL="NO" ARRAYSIZE="1" PARAMFORM="NO" ERRFILE="c:\temp\psv16.tmp"<
    and to save the report we just need to change DESNAME="c:\temp\OC_100001349.pdf" DESTYPE="FILE" in above command instead of DESNAME="testprinter" DESTYPE="PRINTER".
    DESNAME and DESTYPE are the input parameters of the respective report.
    In SSRS, we can run the file from the command prompt and save it.
    rs -i "C:\Users\pujarswa\Documents\reports\new\LoadReport.rss" -s ww2004760:80/ReportServer_MSSQL -v fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"
    -v reportPath="/TipsReport/LoadListTabular" -t -v format="PDF" -v LandNr=4 -u ap\swati -p test@# -e Exec2005
    But we cannot use same command for printing as you said we need to create another script for printing files.
    I have gone through the links but I dont want to use Adobe Acrobat Reader exe for printing because client it may not have Adobe Acrobat Reader on their machine.
    Also I want to pass a input parameter as type="Printer" to my report which will print directly for me and same I can acheive in command prompt passing type="Printer" fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"

  • Javafx through command prompt

    Hi,
    untill now i have used NetBeans for developing javafx applications,
    i want to know how to run javafx applications through command prompt.
    what are the requirements?
    which environment variables to be set?
    and commands to compile and run javafx applications?
    thank you.

    There are some detail steps to run your javafx from command line.
    Firstly Create new file with some javafx source code and save them to specific to your Class name . For eg Test.java with package name test
    Let's assume my javafx is inside C:\Program Files\Oracle directory
    I'll tell you in environment of Window:
    Open CMD
    Let's assume you are in right directory
    set JAVAFX_LIB = C:\Program Files\Oracle\rt\lib\jfxrt.jar
    javac -cp "%JAVAFX_LIB%" -d . Test.javaNow goto directory of javafx sdk/bin . There must be javafxpackager.exe
    javafxpackager -createjar -srcdir <your src dir> -appclass test.Test -outfile <your file name>.jar -outdir <your output dir>Now run the jar file . It will run great.
    Thanks
    Narayan

  • Error when running the report

    hello,
    i am running a report, which has three parameters begin date, end date and dept full name.
    for example when i am running the report with following parameter's works fine they are 01/01/2002, 02/02/2002 and dept name is Animal Control.
    but when i am running the report with the following parameters its giving problem i.e.
    01/01/2002, 02/02/2002 and dept name is Mayor's office its not running the report says command line syntax error rep-0159.
    in the database the dept name is Like Mayor's office.
    i dont know how to convert the apostrophe to a string or what ever, to get the report.
    this is production problem.
    please do help me out.
    thanks.

    Hello!
    I guess you are running your report using rwrun60.exe, probably in batch mode.
    In such cases string parameter with single quote inside of it should be passed in a such way: rwrun60 ... paramname3='Mayor''s office' ...
    In Reports 6.0.8.11.3 it works fine.
    No problems at all if you are calling report from the Forms using run_product built-in and passing prameter list into the report.
    Regards,
    Andrew Velichko
    Brainbench MVP for Oracle Developer 2000
    http://www.brainbench.com

  • 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 can I run the report for different input values at the same time?

    Reports version: Report Builder 6.0.8.13.1
    Oracle version: Oracle8i Enterprise Edition Release 8.1.7.0.0
    I want to run the same report for different input parameter values and spool each o/p to different file and ftp to a server. For this, as a first step, I am spooling different input values in to a file, reading those values through a loop and calling the report for that input values. Each report run/execution is taking 15 minutes. Total report execution is taking approximately 4 hours (assuming 16 different input values) to complete. So I have to wait 4 hours to see ALL outputs.
    I would like to run the report parallel for ALL the input values and I should be able to see the ALL outputs with in 15 or 16 minutes.
    In my shell script, I added & symbol at the end of the report call to start/run the job in the background. Due to this the control passed to the next step after the report call. At this place I have an ftp command to send the output file to a different server and it is giving error some thing like “o/p file is not available/created yet". This is due to the fact that report writer is NOT yet completely started/initiated or it is NOT completed the spooling.
    How can I run the report at the same time for all the input values and save the time?
    Thanks in advance.
    Kishore.

    Increase the number of server engines running right now it seems there is only one engine running ,increase it to 4 or 6
    and then atleast 4 or 6 reports will run simultaneously.
    For FTPing the output add to your sript to check whether it is locked and if not then only try to ftp .
    Also for more better functionality read the document (chapter 15 ) for 10g reports for its new fuinctionality.
    http://download.oracle.com/docs/cd/B14099_17/bi.1012/b14048/toc.htm
    Thanks
    Subodh

  • To run a report from command line, when using jdbc-odbc bridge

    Hi,
    How to run a report from command line, when using jdbc-odbc bridge?
    Usually with tns, we do by "rwrun module=<> userid=<user>/<passwd>@tns".
    with odbc, we do by "rwrun module=<> userid=<user>/<passwd>@odbc:DSN"
    Please specify, what is command line arguments for jdbc-odbc bridge driver?
    Environment : Oracle 9i Report Builder on WinNT
    Database : Sybase
    Regards,
    Ramanan

    Hello Ramanan,
    Report Builder : connect JDBC Query in Report Builder is to through Connection Dialog in JDBC Query Editor. User can use a Sign on parameter (can use, default : P_JDBCPDS or can create new) to connect to JDBC Data Source. Connection once made will be mentioned and will be reused through out Reports Builder.
    JDBC PDS allows user to connect one or more same or different kind of databases.
    While running report through runtime or Server, user can pass the sign on parameter(connection string) value, like any other user parameter.
    Syntax for connection string : <username>/<password>@databaseURL . The syntax of database part of connection string depend on the type of JDBC Driver used to connect to Data Source while designing the JDBC Query. databaseURL refer to the location of the database and its format depend on the JDBCPDS river selected in design time while creating the JDBC Query.
    rwrun eg :
    rwrun report=jdbc_odbc.rdf destype=file desname=output.html desformat=html P_JDBCPDS=scott/tiger@database
    Server eg :
    http://server.com:8888/servlet/RWServlet?server=MyReportServer+report=jdbc_odbc.rdf+destype=cache+desformat=html+P_JDBCPDS=scott/tiger@database
    http :
    Please see ORACLE_HOME/reports/conf/jdbcpds.conf for more information.
    With Regards
    Reports Team

  • Error when running a scenario from Command Prompt

    Hi I edited the parameter file and I am trying to run an interface that joins two tables from HR schema and loads into a table in different schema. I am able to run this in the Designer, but I receive an error message when I try to run it through command prompt.
    Here is the error message I get when I try to run it
    09/09/2009 11:58:42 AM(main): Creating session for scenario:DEMO_INTERFACE - 001
    09/09/2009 11:58:42 AM(main): Session : 88010 is running
    com.sunopsis.core.SnpsInexistantObjectException: There is no connection for this
    logical schema/context pair:HR / GLOBAL
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContex
    t(SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect(SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst(SnpSession.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getConLst(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
    io.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    09/09/2009 11:58:43 AM(main): Session : 88010 finished with return code : -1
    com.sunopsis.core.SnpsInexistantObjectException: There is no connection for this
    logical schema/context pair:HR / GLOBAL
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContexur
    t(SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect(SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst(SnpSession.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getConLst(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
    io.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    DwgJv.main: Exit. Return code:-1
    Thank you for your help.
    Kranthi

    Hello,
    Try to remove and recreate your package and scenario, I had the same issue and solved doing it.
    It seems for me that the package cannot update its contents, for example, if you change something in your interface, you must recreate your package and scenario to update the changes.
    What ODI version do you use? If you use an old version, try to update to ODI 10.1.3.5
    Regards,
    Wallace Galvão
    São Paulo - Brazil

  • How to find the person.. who is running the report..

    Hi,
    I am using RedHat linux for the PROD server.(10.2.0.4 DB, R12.0.6 Application)
    I have end users those who are running discoverer reports.
    The question is how can i find exactly from which IP address the end user is running the reports.
    I have the top command results.
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    15397 oraprd 16 0 2150m 1.0g 1.0g R 81 3.2 80:44.27 oracle
    15408 oraprd 16 0 2150m 1.0g 1.0g R 73 3.1 120:38.62 oracle
    15487 oraprd 22 0 2154m 493m 483m R 67 1.5 110:05.65 oracle
    32155 oraprd 15 0 2187m 1.7g 1.6g S 63 5.2 113:11.06 oracle
    with the help of the PID and SID.. how can i find the IP address of the End user who is running the reports. So that i can stop him from running the reports, since its running for long time.
    Regards
    Karthy

    Hi;
    What below query return?
    select a.sid, a.serial#, b.sql_text,a.user#,a.username
    from v$session a, v$sqlarea b
    where a.sql_address=b.address
    and a.SID='2121';
    Please also see:
    Re: How to i get client IP address of a system on Oracle E-biz
    Re: sql to get Machine IP
    Regard
    Helios

Maybe you are looking for

  • Hardlinking via Finder or SSH

    Hi, I am running a mac mini as a file server connected to a drobo to store all my files in a central place. The issue that I am having is that I would like to use hard links instead of aliases, is there a way to do this from a remote machine or the m

  • How to validate VO result and display error message?

    Hi, I have created 2 pages: Page 1: User to enter employee number and click 'Go' button to search (redirect to Page 2) Page 2: To display employee details In situation where employee is suspended, employee detail will be display as blank in Page 2. A

  • Plan cost in Co03

    Hi all, I enter Co03 and Go to Cost - Cost Itemization - Plan Cost. This Plan Cost is constance after i TECO this order. So I want to know Where does SAP store this Constance Plan Cost (PLAN COST after Teco) ? Best Regard,

  • Logic quits after time compression/expansion

    Logic Pro 8 quits EVERY TIME after I use a time compression/expansion plug-in in the sample editor. It does not matter if I use Logic's own plug-in or if I use Serato Pitch 'n Time LE. I am currently spending all my time in core audio as opposed to D

  • Oracle Spatial explained!?

    Can anyone tell me in layman terms about Oracle Spatial please? I know it's a feature to help GIS solutions but can someone define this for a novice such as myself? Thanks, Ian Bennett