If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Java calling a AS400 Command to run DB2 stored procedures

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-04, 20:18
gaitchis gaitchis is offline
Registered User
 
Join Date: Sep 2004
Posts: 3
Java calling a AS400 Command to run DB2 stored procedures

I have noticed on many bulleting boards that there are a number of solutions for calling Java Programs using the SBMJOB scheduler or other internal command.

What I am looking to do is the reverse, which I have not seen too much info about. I am looking at using a command on the AS400 to execute a stored procedure to create tables on a DB2 database. This Java will be a swing app whereby I can select various parameters to pass onto the stored procedure.

The reason why I am looking this way is that there are a number of stored procs that may take >24 hours to run. Now we can run the stored proc stright from java but if the box that the java app is down, which apparently does happen, then the connection is lost and so forth. Now if we can utilise a method whereby we place the power onto the AS400, then it relieves the reliance of the java connectivity to the AS400. All that we need to do is check for when the job has completed on the AS400. Maybe there is a mechanism to fire the completion back.

Is there anyone who can assist with this problem?


Regards,
Ged Aitchison.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On