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
Similar Messages
-
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
rgrdsHi,
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 -
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,
RamananHello 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 -
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 -
Running my application from command prompt
Hi im a student and kind of a rookie. My program runs fine from eclipse but when i run from command prompt it gives:
Exception in thread "main" java.lang.MoClassDefFoundError: Mainclass
This is what i am typing: java Mainclass. And i am sure i am in the right folder. I know it gives the same problem when you are not in the right folder. ALso my program uses jre5.0 and it runs fine on eclipse.
Any help greatly appreciatedFrom the directory containing Mainclass.class try java -cp . Mainclass The effect of "dash cee pea space dot space" is to
set the classpath to the current directory. -
Unable to run a report from developer 10g
Hi, i can´t run a report from developer 10g when i run the report with the web icon appears the message
Thu Jan 07 14:44:29 CST 2010
javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:470)
at sif10r4400F202316.jspService(_sif10r4400F202316.java:50)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:575)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:311)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
my report server is up, my servlet is ok too and REPORT_PATH environment is ok.
RegardsHi, i can´t run a report from developer 10g when i run the report with the web icon appears the message
Thu Jan 07 14:44:29 CST 2010
javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:470)
at sif10r4400F202316.jspService(_sif10r4400F202316.java:50)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:575)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:311)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
my report server is up, my servlet is ok too and REPORT_PATH environment is ok.
Regards -
Running SQLPLUS script from command prompt on SUN
We are making a migration from VMS to SUN ( SunOS 5.10) and from 9i to 10g. We have encountered an unanticipated problem with running scripts from the command line in SUN(SQLPLUS execution from the command line). All of our packages have a naming convention such as "DM$LOAD.PKB". I know it is a strange naming convention.
The problem is that when the package creation script is run in SQLPLUS at the command prompt SQLPLUS can not open the file.
SQL> @dm$load.pb
SP2-0310: unable to open file "dm$load.pb"
SQL> host ls
dm$load.pkb
SQL>
Setting the escape character does not seem to help.
SQL> set escape '\'
SQL>
SQL> @dm\$load.pb
SP2-0310: unable to open file "dm$load.pb"
SQL>
Unfortunately, we can not rename the scripts. This can be done from a shell script, but our Tech Services refuse to run the SQL scripts from a shell script
Any ideas on how to get SQLPLUS to run the scripts from the SUN command line?I did not notice that the cut and paste was poor. It should have read
SQL> @dm$load.pkb
SP2-0310: unable to open file "dm$load.pkb"
SQL> host ls
dm$load.pkb
Any ideas will be greatly appreciated. -
Issues executing report from command prompt
I'm using Oracle 10g Reports and attempting to execute a report from my workstation to output in a spreadsheet format. We don't have a Reports Server implemented at this time, so I'm simply connecting to the database with Reports Builder and running reports. I can execute a report just fine from Reports Builder and output as PDF; however I'm not familiar with how to output as spreadsheet. From what I understand, spreadsheet output cannot be accomplished through the tool, only from the command prompt. I've tried executing the a command inthe following format from Windows XP command prompt, but no luck:
rwrun report=test_report.rdf userid=[usernam/pwd@db] desformat=spreadsheet destype=file desname=c:\temp\test_report.xls
Nothing occurs...no output, nothing when this command is entered. What is the issue? Can rwrun.exe even be used for executing on the client-side? According to Oracle documentation, rwrun is the executable that runs a report using the OracleAS Reports Services.Hello,
Even if the parameter is deprecated, you can use errfile=c:\temp\reports.err and check if there are some errors ..
or check for a file reports.log
Regards -
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.
KranthiHello,
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 -
Cant run a program from command prompt
i am using eclipse 3.2 for java development.
programs are running from editor window, but whenever i am trying to run it from command prmpt , i am getting folowing error...
..........NoClassDefinitionFound
how to resolve it...??
regards
yogesh g kSince there have been a lot of posts from people who fail to compile and run their correct code, I would like to suggest to use ant for building and running! It hides the complexities of specifying the correct paths and a lot it's easier to type
prompt>ant
at the command line than
prompt>javac -d . -cp .;longListOfJarsNeededToRun somePackage/*.java aLotOfOtherFilesToCompile.java
prompt>java -cp .;longListOfJarsNeededToRun somePackage.someClass
It takes some time to get familiar with the configuration, but once you get it right, you gain back a lot of your invested time! -
How to run Discoverer reports from Compensation Workbench?
Has anyone been able to successfully add a Discoverer report that can be run run from Compensation Workbench? If so can you share the steps?
I followed the steps described in the following Oracle note, but no luck.
Adding Discoverer Reports to the Compensation Workbench Home Page [ID 464014.1]
Thanks
JayaPlease post the details of the application release, database version and OS.
848716 wrote:
Has anyone been able to successfully add a Discoverer report that can be run run from Compensation Workbench? If so can you share the steps?
I followed the steps described in the following Oracle note, but no luck.
Adding Discoverer Reports to the Compensation Workbench Home Page [ID 464014.1]What is the error you get after following the steps in this doc?
Thanks,
Hussein -
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 DeviHi 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. -
Unable to run the Discoverer Report from Apps
Hi,
Can anyone guide me how to run Discoverer Report from Apps.Hi,
Take a look in metalink Note:278095.1
Beside that define the ICX profiles correctly. -
How to run form from command prompt
Hi,
How to run a form from command prompt
can anybody suggest me the way
prasanth a.s.Well, if you are running windows, client server forms 6i, and your form is called 'myform', you could put this into a batch file :-
start ifrun60 module=myform -
Cant See RTF Files in JAR but can when running program from command prompt
posted August 16, 2005 08:26 AM
Hi ALL:
I have a Java Swing APP. It has Menus which displays information through File I/O in a JEditorPane.
When I run my program from Command Prompt using "java myApp" it shows these RTF Files as it is.
However when I run them after converting Directory into a Executable JAR FILE, it fails. I get a blank JEditorPane. My RTF files are in the CORRECT PATH, just dont get displayed. Rest of the APP works fine.
Chetan
any suggetsionsposted August 16, 2005 08:26 AM
Hi ALL:
I have a Java Swing APP. It has Menus which displays information through File I/O in a JEditorPane.
When I run my program from Command Prompt using "java myApp" it shows these RTF Files as it is.
However when I run them after converting Directory into a Executable JAR FILE, it fails. I get a blank JEditorPane. My RTF files are in the CORRECT PATH, just dont get displayed. Rest of the APP works fine.
Chetan
any suggetsions
Maybe you are looking for
-
Err 3253 Network Connection was reset - Detailed description
I have iTunes 12.1.0.71. I am using Windows 7 on a PC. For the past 3 days I have tried re-downloading several items from iTunes Store. Apps, music, etc. While doing so, I am able to get a few but then all of the sudden I get the error 3253 - Your ne
-
I'm a bit confused on how to accomplish the deletion of child records in a master/detail relationship. I have a master table and a child table. I created a foreign link between the tables. On my detail table, I have a Delete button, which I would lik
-
Hi just asking as im a WRT54GS UK v4.0 router owner and have been since 2005 but as i ve been updating my NAS's firmware, Motherboard Bios etc, i thought time i look at router. i ve flashed it with the latest on Linksys UK site1.50.6 11/14/2005 but
-
Batch History step back?
I accidentally did a "sync settings" when I had my entire library selected. I would have done an "undo" had I realized what I did before shutting down the program. Is there a way to avoid going through 8000+ images and clicking the history back a s
-
Viewer Looking Different than Designer
<p>Hi. I've upgraded version from CrystalViewer10 to CrystalViewer11. I have 2 question to ask. </p><p>1. Currently I used CrystalViewer11. I've created a report using Cross tab wizard. </p><p>I used function DisplayString to display my recordnumber