How to run exe file using oracles procedure (ASAP) ?
i am finding difficulties in running an exe file using an oracle procedure.I need this for a pure .NET application
I want the solution for both,An Oracle stored procedure cannot generally run an executable on the client machine. Stored procedures run on the server and have no access to your client machine. You could potentially do something convoluted like run a web server on the client with an ASP page that called the executable and have the stored procedure make a UTL_HTTP call to the ASP page, but that's generally not an option.
If the executable is on the server and it's only available as an executable, you could write a Java stored procedure that called out to the command line and invoked the executable (assuming the operating system user running the Oracle database has permission to do so). If the Oracle database is on Windows and you've got 10.2, you may also be able to write a .Net stored procedure that would do the same sort of thing.
If you can expose the functionality as a DLL, a more elegant solution would be to use an external procedure.
Justin
Similar Messages
-
How to run .exe files using SAP
Hi,
How can I run my .exe files using ABAP/4 language? How can I pass parameters to my executable? Is there any documentation related with my question?
Thanks.Here is how you can run a .exe from your ABAP. I don't know how you would pass parameters.
report zrich_0001
no standard page heading
line-size 300.
data:
ifile_table type table of file_table,
xfile_table type file_table,
return type i..
parameters: p_app type file_table-filename
default 'C:'.
at selection-screen on value-request for p_app.
clear ifile_table. refresh ifile_table.
call method cl_gui_frontend_services=>file_open_dialog
exporting
window_title = 'Get App'
multiselection = space
changing
file_table = ifile_table
rc = return
exceptions
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
others = 4.
read table ifile_table into xfile_table index 1.
if sy-subrc = 0.
p_app = xfile_table.
endif.
start-of-selection.
data: app type string.
app = p_app.
call method cl_gui_frontend_services=>execute
exporting
application = app.
Regards,
Rich Heilman -
How to run exe files using peoplecode?
How to run .exe extension files using peoplecode. It should execute on clicking a button.can anyone provide sample peoplecode for the same.
where do i place the exe files ? Local workstation or Server or FTP?
can i use the same peoplecode if i'm using a button on grid.1. You can use function Exec in PeopleCode to run any exe file
2. You can use ViewContentURL function in PeopleCode to view any .pdf or .doc documents
Jayaprakash Tedla -
How to run .exe files with Virtual PC for Mac
Hey Guys, I'm new around here and with mac technology as well. Anyway, I have an iMac OS X 10.5.1 Leopard and I've recently purchased the Virtual PC for Mac 7.0.2 software. So I'd like to know how to use this program properly, because I need to run some executable files in my computer. It is confusing for me because I don't know how to get started, and I only get to the part when it says "OS not found, Install an OS on this hard drive".
Honestly I've no idea of what an OS is or where do I get that. So I'd really appreciate if one of you guys could tell me, step by step, what to do to use Virtual PC properly, and finally learn how to run .exe files on mac.
Thanks in advance!
Have a nice day!Always nice to see new faces
Honestly I've no idea of what an OS is or where do I get that.
This brings up the second part of your problem. The first part is setting up either a proper Virtual Machine program like Parallels or VMfusion, or setting up a Boot Camp partition on your drive.
http://www.parallels.com/
http://www.vmware.com/products/fusion/
OS stands for Operating System. You are running Leopard 10.5.7 as an operating system on your Mac (MacOS X).
The second part of your problem - You will need a copy of Windows XP or Vista if you want to run Windows on your Mac.
There is at least one other solution for running Windows programs on a Mac. It's called "CrossOver" by a company named 'Codeweavers'. It's based on a project for "Wine" to be able to run PC programs on a Mac or Linux, without having to buy or install Windows. It works with a narrow subset of Windows programs so you would want to make sure the program you want to run is compatible with CrossOver before you buy it.
http://www.codeweavers.com/products/cxmac/
In addition to all the above information, you need to upgrade your Mac to the latest 10.5.7 from 10.5.1. "Software Update" is located under the black Apple icon in the Menu Bar at the top left corner of your monitor. After you are updated you will want to update your Profile here so that it shows the proper OS version.
With your level of experience with MacOS X and the Windows OS's you should probably get some help from a local Apple store. They have an appointment system and do offer many types of help and training, and they can offer assistance with choosing the proper programs for you to purchase for your machine.
You are also welcome to continue to ask questions here, of course. You will want to ask your questions with different issues that come up in different threads so that the answers stay focused on the title of the thread.
Message was edited by: dechamp to try to be more accurate with a fairly complicated issue... -
How to run batch file from oracle forms 9i
Hi everyone.
i have a data in csv file. i want to upload it to my database. i am using sql loader for it.
i have made a batch file which run the sql loader and transfer my data to database.
How to run batch file from oracle forms 9i.
when i press the button, nothing uploads in my database. (when i simply run the batch file it works).
here is my code
Begin
HOST('C:\temp\batchfile.bat');
message('done');
end;
Thanks in advance
regards
sajidthis is my log file, when i run manually.
SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 1 23:27:53 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: file_to_upload.ctl
There are 2 data files:
Data File: sk.csv
Bad File: sk.bad
Discard File: none specified
(Allow all discards)
Data File: sk1.csv
Bad File: sk1.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table KHAN, loaded from every logical record.
Insert option in effect for this table: APPEND
Column Name Position Len Term Encl Datatype
SR FIRST * , O(") CHARACTER
DATES NEXT * , O(") CHARACTER
AGENT NEXT * , O(") CHARACTER
COUNTRY NEXT * , O(") CHARACTER
TRANSACTIONS NEXT * , O(") CHARACTER
PKR NEXT * , O(") CHARACTER
USD NEXT * , O(") CHARACTER
BANK NEXT * , O(") CHARACTER
Table KHAN:
11088 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 132096 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 11088
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Thu Jul 01 23:27:53 2010
Run ended on Thu Jul 01 23:27:54 2010
Elapsed time was: 00:00:00.63
CPU time was: 00:00:00.17 -
How to run .exe files in mac pro?
how to run .exe files in mac pro?
i am looking for this to play games in my mac pro.
if someone got a answer, just let me know
cheers.mailking wrote:
And I fail to see why you are attacking me...
My comment is Valid... " .exe files will not run natively on Mac OS X..."
I am sorry. I had the false impression that it was commonly known that .exe files did not run on Mac OSX natively and failed to see any constructive critique you were bringing. Maybe I am wrong. Again deepest apologies.
Unfortunately... these days... not every one is aware of this .exe fact..
Apology accepted.. and Thank You.. -
How to run .exe files on macbook pro
Just bought my first macbook pro the other day. I absolutely love it. Much better than the windows boxes. I wanted to run some '.exe' files on my new laptop but was not successful finding anything on the market to use without purchasing a full OS version of Windows. Is there any software out there that I can use to run '.exe' files without purchasing a full Windows OS to do so. I know about parallels for MAC but that seems to require purchasing Windows OS? Any help is greatly appreciately.
Here are the specs on my Macbook Pro.
2.2GHz quad core i7
4GB RAM
500GB HDDSome Windows software -- not all, by a long shot -- will run on a Mac without installing Windows, with the aid of the CrossOver Mac emulator:
http://www.codeweavers.com/products/cxmac/
Games generally won't. For those, you need Windows installed through Boot Camp so you can run Windows natively. -
How to run .exe files with DAQ on a target PC?
Hi,
I want to run LabVIEW executable files on a target PC, where there is no LabVIEW installed. These files are used to do measurement using DAQ devices.
In order to run these .exe file, I guess that I should install both LabVIEW Runtime Engine and NI-DAQmx on the target PC. Is it right?
I'm wondering if it is mantatory to install NI-DAQmx on the target PC. I tried running .exe files without NI-DAQmx installed, but there was an error: nilvaiu.dll couldn't be found. Shouldn't this file be included automatically when building the executable files?
Thanks,
QifuNo, none of the hardware drivers are included in the LabVIEW exe that you build. You have to install DAQmx. With LabVIEW 8.x, you can include the DAQmx driver with the installer that you create. You also have the option to install different versions of DAQmx. These different versions are smaller than the full DAQmx install (i.e. you may choose to install documentation, MAX. etc.). When you create the installer, you also inclue the LabVIEW run-time and you should also choose to install the hardware configureation that is in MAX.
-
Hi all,
Can anybody give me proper way to run exe file in
coldfusion. I have tried with cfexecute tag but it is not
working...
Thanks,
Manojtclaremont wrote:
> Are you trying to run an executable on the server, or on
the client machine?
> Does the CF service have execute permissions on the
directory in question? What
> does your error log say with regard to the attempted
execution?
>
To add to all these valuable questions, what executable are
you trying
to run, what kind of parameters does it need? It can be a bit
tricky to
pass complex parameters through the <cfexecute ...>
tag. -
How to run .exe file by labview?
Dear All,
I want to use Labview to run a .exe file, but I don't know how to do? who can tell you? Thanks!
Best regards,
JimmyTry the attached VI (LV v7.1.1). It uses the System Exec function:
(from the LV Help file):
"System Exec
Executes a system command. UNIX You can use wildcards, pipes, and shell meta-characters. Mac OS To use this VI on Mac OS, you must have the Macintosh Programmer's Workshop installed. Refer to the Apple Developer Connection Web site for information about downloading the MPW.
To launch an executable with options using the syntax filename.exe -option1 -option2, create a filename.bat file that calls the executable with the options syntax and use this VI to call the filename.bat file. "
Attachments:
Run Program.vi 30 KB -
How to run batch file using trigger?
Hi, i am trying run a batch file using a trigger on a table.
say i have a table XYZ(col_1 varchar2 primary key, col_2 varchar2)
the values of col_2 keeps changing and col_1 are constant
whenever the value of col_2 in any row changes from "on" to "off" i want to run a batch file C:\Users\ABC\Desktop\test.bat
i did some searching but couldn't find any solution. Thanks in advance
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production>
the script will be started around 60-70 times a day
>
No - as marwim said the script will be executed every time the trigger is fired. And that trigger, depending on how it is written, might be fired several times for the same transaction.
And if the trigger is fired the script will be executed even if the transaction that caused the trigger to fire issues a ROLLBACK.
Triggers are non-transactional. You need to clearly define the business rules for when the script should run. Should it run only when the transaction is COMMITTED? Or should it run if the transaction executes even if the transaction performs a ROLLBACK?
A trigger is the wrong solution for your problem.
Please clarify what the business rules are that should control the execution of the script. -
How to run Exe file through Sql server agent job
Hello All
i have 2 servers
1.Application Server
2.Database server
Application server has a .exe file so i wanted to run this exe file through SQL server agent job from database server.
What is the process for run this Exe file
Can you plz suggest me step by step process
KamalWhile i'm trying to implement this below method
Step1 : Right Click SQL Server Agent. Select New -> Job. This will open a wizard to schedule a new
job.
Step2 : Select Steps from options given on the left side of wizard. This is the main place to set your
exe\program as a running step. Give some name to this step, Select Operating System (cmdexec) for the Type and give the full path of exe in Text box for Command.
ex:\\10.11.00.98(your application serverIP)\ch.exe
Thanks vanchan-Please
mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
I got this below error
Message
Executed as user:NJROSJ345\SYSTEM. The process could not be created for step1 of job
(Reason:Access is Denied)The step failed.
But i have sys admin rights on the both the servers
Kamal -
How to run exe file from inside java
I wan to run an exe file from inside java code. How can I do it?
ThanksHi Oakam
This is very simple. Just go through the given code below
in place of FILEANDPATHNAME just give the exe's path and name
Note :- adding ".exe " is not necessary
public class exep
public static void main(String args[])
Runtime r = Runtime.getRuntime();
Process p = null;
try{
p = r.exec("FILEANDPATHNAME");
catch(Exception e)
Give ur feedback
Thanx
Ottran -
How to execute ".exe" files using java
Hi,
This is guruvulu,
I have a problem in executing ".exe" files.For Example InternetExplorer.Hi,
You can execute .exe files in JAVA using the following code.
Runtime rt1 = Runtime.getRuntime();
Process pc = rt1.exec("someexe.exe");
you can get the output of the executed exe file in
in = pc.getInputStream(); //this returns a InputStream
hope this solves your problem.
regards,
P.Venkat -
Any recommendation for how to run exe files in mac os!?
I have an external hard drive which has a password that is a exe file. I figured if I could find an app that opens exe files it would be the best idea, but since I upgraded to mountain lion that app doesn't support mountain lion!
any syggestiin guys?http://winebottler.kronenberg.org
Maybe you are looking for
-
Time Machine Migration Assistant HELP!
My MacBook Air has a whole lot of storage that is being used for who knows what. I am going to back up my mac, erase it, and reinstall the backup because that seems to work. But, I have no idea what the differences and similarities in Time Machine an
-
"itunes library cannot be read; created by newer version of itunes" message
My son clicked a message when he was downloading something the other day (he can't remember exactly what it said), but since doing so, if we try to open itunes we get the message: "the file "iTunes Library.itl" cannot be read because it was created b
-
Displaying a data error when NOT in use...
So the phone is in my pocket and as I'm listening to some MP3s this error pops up. It happens randomly and usually when the phone is in my pocket. So if I'm in a meeting and it vibrates... I'm inclined to pick it up and see if it's a text or somethin
-
Hi All, I need to display outstanding list of operations for an area of a plant,for which I am using IW49 t-code.In input parameters,I am using functional location to map the area,date range(early star date) is for 1 wk only.But system is taking too
-
Adding second HD - software RAID?
I need to add a large drive (250 GB) to my MDD G4 running 10.4.6. The machine has one factory installed 76GB IBM drive. Will I need a new controller card? Will I need to set the new drive as a slave? If using the on board controller is limiting I mig