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
Similar Messages
-
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,
DmitriSteps 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. -
Run test case from command line
Hi All,
Working environment : VS 2013 professional
Project type : Unit test project for (Windows 8.1 and Windows phone 8.1)
I have a set of unit test cases and want to run it on command line.I tried MSTest.ext and vstest.console.exe for running test case but not succeed.
command : MSTest.exe /testcontainer:path of project dll
command : vstest.console.exe path of project dll
Type of Error
Error : Unit test case for windows store and windows phone app can't be run outside appcontainer.
Error : No tests to execute
command : MSTest.exe /testcontainer:path of appx
command : vstest.console.exe path of appx
Error : root certificate error
I just want to run windows 8.1 and windows phone 8.1 run test cases from command line.
Thanks in advance.Hi vicky2468,
Based on your issue, as far as I know that if we want to run unit test for windows store and windows phone app using mstest.exe or vstest.console.exe in command line, you will need to execute the .appx instead of the dll in command line.
In addition, I tried to run the appx for unit test in command line,
but I found that I also get the same issue as yours. I could not execute the appx for unit test in command line successfully. But if we run it with VS IDE in Test
Explorer windows, it seems that it works fine.
So I suggest you can submit a feedback for this issue, to get the issue confirmed and diagnose by product team, would you please create connect report for it? You will get email notification for update.
http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx
When you submit the connect, I suggest you can provide your project for product team so that product team will
be better help you solve this issue.
If you submit it, please share me the link here, I will help you vote it. I think we could get the latest information
from the product team experts. Of course, if I get any latest useful information, I will update it here.
Thanks for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to run an executable from command-line
I'm learning how to use the Terminal and I got stuck in a silly thing (I suppose it is). How can I run an executable file from command-line in Terminal?
For example: I have a file named "Hello" in the folder /sample. If I use the ls command (ls sample), I can see the file Hello. Then I move to the directory (cd /sample) and try to run the file Hello (typing "Hello") but I got "command not found" message.
If I drag the Hello file from Finder to Terminal and hit Return, it runs perfectly. And if I type the full path to the file (even if I'm already inside its directory), it also runs.
So, my doubt is if there is any command to run an executable from command-line.
ThanksKJK555 wrote:
Hi VK:
Can you enlighten me on why it's neccessary to do the "./" thingy in OS X when in unix/linux
I never had to resort to doing that?
Kj
I took the trouble of reading *man bash* and it explains the issue. to add the current directory to PATH you need to add an empty path to PATH like this
PATH=$PATH::
you can add it to ~/.bash_profile so that it's executed automatically when you start bash. I suspect the linux system you are talking about had this set up by default or had it added to PATH in /etc/profile which defines PATH globally. -
How to run Endeca Graphs from command Line
Hi,
I would like to know if there is any way to run Endeca Graphs from command line in Windows.
Thank you,The correct way to execute a graph using the command line in windows is.......
Execute the following command from the project folder:
C:\Oracle\Endeca\Discovery\3.1.0\IntegratorETL\configuration\org.eclipse.osgi\bundles\5\1\.cp\lib\bin\clover.bat -plugins "/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/5/1/.cp/lib/plugins;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/6/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/9/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/14/1/.cp/lib/plugins/;C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/21/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/23/1/.cp/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/plugins/com.endeca.latitude_1.0.0/lib/plugins/;/C:/Oracle/Endeca/Discovery/3.1.0/IntegratorETL/configuration/org.eclipse.osgi/bundles/358/1/.cp/lib/plugins/" -noJMX graph\graph_name.grf
Our costumer needed to run some ETL process from ODI and once it finished start a Clover ETL process (automatically). So we created a .bat file witth the above command and then in ODI we created a package with all ETL interfaces and the last step of the package was a OScommand component that excecuted the .bat script from the Endeca's project folder.
Hope you find this post helpfully. -
Running Oracle Scripts from Command Line
Hi,
How can i run Oracle scripts from command line.
Actually i need to run these scripts from MSBuild before running Unit test projectsC:\>sqlplus @myscript
That would be the easiest variation
C:\>sqlplus user/passwd@tns_alias @myscript
would be an often used variation
And then there is of course the version with parameter passing:
C:\>sqlplus user/passwd@tns_alias @myscript param1 ... paramx
Dunno about MSBuild -
Running report from command line with multiple value for same parameter
Hey,
I know how to run a report from the command line specifying parameters values each time but I was wondering if someone could tell me how I would go about running the same report multiple times in a batch program but specifying a list of values to pass to a parameter each time.
So for example if a parameter was 'School Number', how could I run a report in a batch program that would pass a school number to the report as a parameter using a list of school numbers generated for a sql statement or something. So if I had 300 school numbers in my list then I would get 300 different reports when the batch program finished.
This leads me to another question. How can I dynamically change the name of the report generated by the batch to use the school number value passed in, so for example if the value 3 was passed in the name would be something like School 3.pdf, if 4 was passed in the name would be School 4.pdf....etc
Any help on this?
ThanksHello,
Bursting and Distribution may help you ....
37 Bursting and Distributing a Report
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_dist.htm
Regards -
How to run Report Builder Report from Command line
Hello,
Can Oracle Report Builder Report (run time report) run from Command line ( SQL prompt or Shell script).
Quick response will be appreciated.
Thanks,
AtifHi Atif,
please see Note 74648.1 on Metalink.
Monica -
Crystal reports from command line
Post Author: DrewJ
CA Forum: General
Hi,
I need to run Crystal reports from the command line.
Does anyone know how to pass parameter arguments when launching the application?
I have tried cr32w.exe c:\reports\report.rpt arg="099909"
(which launches the right report, but does not pass in the arg)
Is it possible?
Thanks in advance,
Drew JohnstonHi,
Thanks for the reply. The application would not be on the same server as the machine. So if I used the command that you gave me would that actually run the report (ie refresh the data and then save the report ,as instructed in the settings, on to the network location). Or would it just open up the report. Also, how would I send parameters to the report, eg Dates or Status.
This is the scenario. At the moment a user would input data on to database via an external applicaion. After inputting all the data, they would then have to log into Crystal Infoview. Navigate to the report. They would then click on the Schedule hyperlink. They would change the parameters eg Start Date and End Date. And then press the Schedule button. The report would then refresh the data, and as specified in the Destination, it would write out to a network location.
So we want the external app to write a command line prompt, so that the user did not have to log onto Crystal at all. The application would send the relevant parameters and run the crystal report automatically without the user having to log into Crystal at all.
Regards,
Prakash -
Running FlexUnit tests from command line
Sorry if that has been posted before: I searched best I could and nothing came up.
I am interested in building and running my unit tests from the command line so we can add it to a nightly build process.
I am *very* new to all this: basically I picked up Adobe Flash Builder 4 a month ago and I have done *everything* inside that IDE: writing code, building, testing, running.
I looked into at least how to build something from the command line, I found this:
http://help.adobe.com/en_US/flashbuilder/using/WSbde04e3d3e6474c4-59108b2e1215eb9d5e4-8000 .html
Can't get past this error:
Buildfile: /Users/dbanks/build_test.xml
BUILD FAILED
Target "FlexUnitApplication" does not exist in the project "null".
Total time: 0 seconds
Adobe Flash Builder 4:
An error has occurred. See the log file
/Users/dbanks/Documents/Adobe Flash Builder 4/.metadata/.log.
Plus, even if I got this going, I am just building the swf. I also want to run it and capture the output in some meaningful way that can be read/evaluated/acted on.
FWIW, the script/xml I am using to try to build:
build_test.xml:
<?xml version="1.0"?>
<project default="main">
<target name="main">
<fb.exportReleaseBuild project="NightclubMogul" />
</target>
</project>
execute_build_test.sh:
WORKSPACE="$HOME/Documents/AdobeFlashBuilder4"
# works with either FlashBuilder.app or Eclipse.app
"/Applications/AdobeFlashBuilder4" \
--launcher.suppressErrors \
-noSplash \
-application org.eclipse.ant.core.antRunner \
-data "$WORKSPACE" \
-file "/Users/dbanks/build_test.xml" FlexUnitApplication
I am not clear what in here is actually supposed to point to where my project lives: it's off in some directory somewhere. I see that I am pointing to a workspace (Documents/AdobeFlashBuilder4) but when I poke around in there I don't see anything connecting back to the directories where the code lives.
Any help would be great: getting the tests to build from command line, then getting them to run.C:\>sqlplus @myscript
That would be the easiest variation
C:\>sqlplus user/passwd@tns_alias @myscript
would be an often used variation
And then there is of course the version with parameter passing:
C:\>sqlplus user/passwd@tns_alias @myscript param1 ... paramx
Dunno about MSBuild -
Running Unit Test from test manager that run bat file from command line
Hi ,
I am trying to run Jsystem (java framewotk) from command line using runScenario.bat thru unit test that i associated to test in test manager.
the idea is that when i ran the automated test from MTM - it will run the the unit test that will run the appropriate test case in java.
i wrote the code like this :
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject3
[TestClass]
public class UnitTest1
[TestMethod]
public void TestMethod1()
try
String command = "c:\\JSYSTEM\\runner\\runScenario.bat
c:\\Users\\ryeshua\\Source\\Workspaces\\Auto1\\my-tests-project\\target\\classes scenarios\\feature1 RoeySetup.xml ";
System.Diagnostics.ProcessStartInfo procStartInfo =
new System.Diagnostics.ProcessStartInfo("cmd", "/c " + command);
procStartInfo.RedirectStandardOutput = true;
procStartInfo.UseShellExecute = false;
//procStartInfo.CreateNoWindow = true;
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo = procStartInfo;
proc.Start();
string result = proc.StandardOutput.ReadToEnd();
Console.WriteLine(result);
catch (Exception objException)
// Log the exception
and when i ran it from visual studio it worked perfect. and update the Jsystem logs of the junit test in the jsystem/runner/log folder.
but when i added it to associated test and ran it from MTM - it pass but it does not update the logs in jsystem folder.
the problem that i dont know what is not working. i cant see the output of it when i ran from mtm but can see when i ran from VS.
i am using VS 2013 Pro with MTM 2013.
please advice
RoeyHi Roey,
Thank you for posting in MSDN forum.
Based on your issue, could you please tell me how you generate the log file under the jsystem folder?
Generally, I know that when we run unit test from VS IDE, the file will be saved into the local machine. But when we run unit test from MTM, the unit test method will be run on the test agent machine, so the file will be saved into the test agent machine.
Therefore, I suggest you could check if you did not see the updated logs file in jsystem folder on the test agent machine.
In addition, I suggest you could try to copy this unit test project on this test agent machine and then run the unit test method using mstest.exe in command line and then check if you can update the logs file.
https://msdn.microsoft.com/en-us/library/ms182489.aspx?f=255&MSPPError=-2147217396
If you have any updated message about this issue, please tell me.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
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,
SreedharHi,
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 -
NIMAX generate report from command line
Dear users,
I would like to generate MAX report ("MAX Generate Report.vi") from command line. Does nimax.exe have this capability, or do I have to write a wrapper to vi ?
Regards.
Solved!
Go to Solution.Dear ramjeev
to solve your problem you can try two aproaches
1. instal new verzion of MAX
you can download the newest verzion of MAX from the link
http://joule.ni.com/nidu/cds/view/p/id/2328/lang/en
This distribution includes the following products:
NI System Configuration 1.2.0
NI Measurement & Automation Explorer 4.8.0
NI Network Browser 1.1.0
2. clean up corrupted max database and start with new one
you have a step by step solution on the link
http://digital.ni.com/public.nsf/allkb/86256F0E001DA9FF86256FFD005B827C?OpenDocument
Hope it will help you. -
[solved]can't run java apps from command line
Every Java program that i've tried to run from command line gives me a error message like this:
augusto java% java Test
Exception in thread "main" java.lang.NoClassDefFoundError: Test
Caused by: java.lang.ClassNotFoundException: Test
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Test. Program will exit.
`java Test.class` doesn't work too.
but, the exact same code work from eclipse, am I missing something?
Some info:
% ls Test*
Test.class Test.java Test.java~
% cat Test.java
public class Test{
public static void main(String[] args){
System.out.println("doesn't work");
% echo $PATH
/home/augusto/.bin:/home/augusto/.bin:/home/augusto/GNUstep/Tools:/opt/GNUstep/Local/Tools:/opt/GNUstep/System/Tools:/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/bin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin
Last edited by hack.augusto (2009-10-27 00:57:53)also make sure that you current directory is in your classpath.
eg
export CLASSPATH=".:$CLASSPATH"
java Test
your issue is more likely to be classpath related, as java doesn't read the path variable, and the java executable is found
Last edited by bruce (2009-10-27 01:02:51) -
Access MS-Access using JDBC ODBC bridge from Sun AMD64
Hi,
We are trying to configure a communication channel using the JDBC adapter. We are setting the driver to the JDBC-ODBC bridge driver and trying to access an MS Acess database from the PI server(sun amd64). When we set the driver to the JDBC-ODBC bridge, the J2EE engine tries to restart immediately and does not start. The std_server.out contains the following error:
Service com.sap.aii.adapter.jdbc.svc started. (234 ms).
1016 sun.io.CharToByteASCII::convert (370 bytes)
1017 ! com.sap.sql.jdbc.common.CommonPreparedStatement::close (119
bytes)
ld.so.1: jlaunch: fatal: relocation error:
file /usr/j2se/jre/lib/amd64/libJdbcO
dbc.so: symbol SQLAllocEnv: referenced symbol not found
Has anybody been able to configure the JDBC-ODBC bridge driver for MS Access? Also, has anybody used the database vendor(MS) drivers? If so, where are they available.
Thanks in advance
VipinHi
Please go through below links that would be helpful to you
SAP Network Blog: Connecting to MS Access using receiver JDBC Adapter (Without DSN)
/people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
If required Try the following driver. I havent used it but its available.
HXTT Access is such a type 4 driver at http://www.hxtt.net/en/software/access/document.html .
Thanks
Swarup
Maybe you are looking for
-
Financial Reporting 11.1.2.507 - pages from a report
Hello, I was designing a report on Financial Reporting Studio, but dimensions from pages are shown separates by commas in only one combo box. What I need is to have one combo box per each dimension. Please, We will appreciate your valuable response.
-
Error when submitting time in CATS regular
when trying to submit time in CATS regular (ESS Time Entry standard application) I get the following error: "Personnel number 00090339 does not exist or you do not have authorization Erroneous records exist. Navigation is not possible " any idea wh
-
My iPhone has just stopped working and I only had since August 2013
My iPhone 5 has just stopped working it had 70% charge in it and I've tried recharging and nothing it's just dead.
-
Can somebody confirm avchd file sizes for me
According to a FAQ I found at http://shedworx.com/?q=volmac-faq "How big are the output files? AVCHD files are about 120Mb per minute of footage. The converted output file will be about four times the size of the input. This is because AVCHD is a hig
-
Photos moved from an external HDD to another: Search and replace paths?
Hi everyone, I've been using iPhoto for a few years now and today I have iPhoto '09. I never let iPhoto copy my photos in its library when importing them, since I have most of them stored on an external hard drive. (Also, if the folders within the li