-
Interface with Mainframe and VB
I have an VB application which downloads files from
a mainframe and loads it into and an SQL databse. This downloads
procedure has to be started up through a dialog box manually.
I need to write a Java App which will trigger the VB downloder automatically
at certain times. Either by executing a .BAT file or executing the VB app
directly.
Does anyone know how to do make a call to an App outside of Java.
Koketso Mabusela
Analyst Programmer
Nedcor
KoketsoM@Nedcor.com
-
Re: Interface with Mainframe and VB
You use one of the Runtime.getRuntime().exec() methods.
PC2
"kOKETSO " <KoketsoM@Nedcor.com> wrote in message
news:3d469647$1@10.1.10.29...
>
> I have an VB application which downloads files from
> a mainframe and loads it into and an SQL databse. This downloads
> procedure has to be started up through a dialog box manually.
>
> I need to write a Java App which will trigger the VB downloder
automatically
> at certain times. Either by executing a .BAT file or executing the VB app
> directly.
>
> Does anyone know how to do make a call to an App outside of Java.
>
> Koketso Mabusela
> Analyst Programmer
> Nedcor
> KoketsoM@Nedcor.com
>
-
Re: Interface with Mainframe and VB
Since Paul answered the question I guess it it my turn to pose the question
- Why do you need a Java app to do this???
A better way to handle this whole process is to use a tool like MQ Series.
-
Re: Interface with Mainframe and VB
Or since we're opening up alternatives, to run the VB program at certain
times doesn't need a Java app either, just a scheduler that you probably
already have on your system.
PC2
"MarkN" <java.@127.0.0.1> wrote in message news:3d47dd88$1@10.1.10.29...
>
> Since Paul answered the question I guess it it my turn to pose the
question
> - Why do you need a Java app to do this???
>
> A better way to handle this whole process is to use a tool like MQ Series.
>
>
-
Re: Interface with Mainframe and VB
i think you should use
Runtime.getRuntime().exec()
or use JNI for call native interface
but you using VB COM Object you can use COM Bridge of IBM which it use for
java proxy connect with COM technology
good luck sir
Mr. Nicky
(Sun Certified Java Programmer)
nick_atl2000@hotmail.com
"kOKETSO " <KoketsoM@Nedcor.com> wrote in message
news:3d469647$1@10.1.10.29...
>
> I have an VB application which downloads files from
> a mainframe and loads it into and an SQL databse. This downloads
> procedure has to be started up through a dialog box manually.
>
> I need to write a Java App which will trigger the VB downloder
automatically
> at certain times. Either by executing a .BAT file or executing the VB app
> directly.
>
> Does anyone know how to do make a call to an App outside of Java.
>
> Koketso Mabusela
> Analyst Programmer
> Nedcor
> KoketsoM@Nedcor.com
>
-
Re: Interface with Mainframe and VB
"kOKETSO " <KoketsoM@Nedcor.com> wrote:
>Dear kOKETSO;
Its too easy:
you can (execute) the application by using the exec(..) method of the Runtime
class, for more info see the API for Runtime and Process classes.
Also, to call the application at a specific times, you can use the timer
in the swing package.
I hope you find this useful
Note: If you have any question then send me
Salaaaaaaaaam
BR
Ahmad Q. K.
>I have an VB application which downloads files from
>a mainframe and loads it into and an SQL databse. This downloads
>procedure has to be started up through a dialog box manually.
>
>I need to write a Java App which will trigger the VB downloder automatically
>at certain times. Either by executing a .BAT file or executing the VB app
>directly.
>
>Does anyone know how to do make a call to an App outside of Java.
>
>Koketso Mabusela
>Analyst Programmer
>Nedcor
>KoketsoM@Nedcor.com
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks