|
Hi, The creation of the server jobs is controlled by the use of an 'AS400' class object which is required by every instance of a class that accesses an AS400 for example Program call or JDBC. You have the ability to control the time of connection programatically via this AS400 object, see: connect(String) or connect(int) ), or allow the connection to be made automatically when you utilize the connection class object(e.g. JDBC). Each AS400 object will represent a separate job on the AS/400. You can either share one or use seperate ones for seperate jobs. You can programmatically end the connection via: disconnectService(int) or disconnectAllServices(). These will end the AS400 jobs. The AS400 jobs will terminate when the connection to the client ends, i.e. the JVM terminates. See http://publib.boulder.ibm.com/pubs/html/as400/v4r4/ic2924/info/java/rzahh/toolbox.htm for a good description of the AS400 object and access classes. --- "AnanthaRamaiah, Gururaja (CTS)" <AGururaj@chn.cts-corp.com> wrote: > Hi, > I have a very basic doubt. I want to know when > exactly the AS400 server Job > gets created for JDBC and program Call classes. Also > when will they get > ended?.. Does the system takes care of ending it > automatically or can we end > it programatically?.. > > what happens when if the program ends abnormally.. > or it waits for resource > for a long time. > > Can anyone help me out in getting my doubt > cleared... > > Thanks in advance, > Gururaj > +--- > | This is the JAVA/400 Mailing List! > | To submit a new message, send your mail to > JAVA400-L@midrange.com. > | To subscribe to this list send email to > JAVA400-L-SUB@midrange.com. > | To unsubscribe from this list send email to > JAVA400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner: > joe@zappie.net > +--- __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.