|
This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] I know this has been asked and answered frequently, but bare with me. I am writing a "daemon-type" process in Java. I want to be able to detect when an operator ends the job or subsystem and close down gracefully. I have followed the suggestions of checking the job end status and generally speaking this does work. The problem is a logistical one. I submit my Java job to a subsystem, this yields two jobs, the job I submitted that does the RUNJVA and the QJVACMDSRV job where the Java is actually executing. The Java is using the ProgramCall class to call a program. This is another job running in QSYSWRK, and this is the job that has to be ending for it all to work. I thought, wrongly, that using the native optimizations would cause the program call to run in the same job, but this is not the case. So given all of the above, how has anyone been able to accomplish this? Thanks Mark
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.