We have a "Program.exe" which we are running manually and has two files as inputs i.e., MS-DOS>Program.exe input1.txt, input2.txt and we had installed .NET 2.0 to run this batch file since it is written in C sharp. This is all done on local windows computer where we have .NET installed.
But now we are trying to automate this step and for automation we are using Autosys and also running some DataStage jobs through shell scripting.
All we are looking is for a solution where we can run this "Program.exe" in our automated job flow either using Autosys or Unix shell scripting. So if any one has ideas of how we can do this that would be really great.
Thanks in advance.
Running .exe program through Unix Command Prompt
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I assume Ray is correct. You need to run a Windows program from UNIX. You can install UNIX utilities on Windows and run a remote shell like rsh. You can create an autosys process which waits for a file to show up in a directory. I also assume autosys is on both machines. So it waits for a UNIX file to show up and then runs your DOS program. Next autosys deletes the file when it is done.
Mamu Kim