× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The run() method of CommandCall and ProgramCall is synchronous.  When you
call run(), that Java thread is held while the iSeries command/program
runs.  Control is returned to the Java thread when the iSeries
command/program completes.  The iSeries job does not die, but it should go
idle waiting for the next request from the client.  To end the job you need
to end the comm link using AS400.disconnectService(AS400.COMMAND).

David Wall
553-5329
Toolbox for Java
iSeries ODBC Driver for Linux




                      "Mike Silvers"
                      <msilvers@HBS-INC        To:       
<java400-l@midrange.com>
                      .COM>                    cc:
                      Sent by:                 Subject:  Using Java to run a 
program on the 400
                      java400-l-admin@m
                      idrange.com


                      05/29/2002 08:06
                      AM
                      Please respond to
                      java400-l





I am using the CommandCall class to change a library list and call a
program
on the 400.  When I end the Java class as I am debugging, the server jobs
on
the 400 keep running.  The server job on the 400 is QZRCSRVS.  Is there a
way to stop these jobs from running when the Java class is ended?

My problem is that I am taking a large portion of the CPU with these jobs
as
I debug the Java...

Thanks

Mike

================================
Mike Silvers
AS/400 Senior Programmer/Analyst
AS/400 IBM Certified RPG IV Developer
AS/400 IBM Certified Solutions Expert
Hainey Business Systems
8 E. Canal St
Dover, PA 17315
Branch Office:  (410) 397-8739
Phone:  (800) 932-3380 ext. 237
Fax:  (717) 292-9474
Web: http://www.hbs-inc.com
________________________________
Providing E-Commerce, EDI, AS/400
Development, Java Development,
and related services nationwide.
================================


_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.








As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.