|
Lim, Create a message queue in a library that all the jobs can access. When you submit the jobs use the MSGQ parameter on the SBMJOB command to point to that message queue. Have your process check that message queue for completion messages. Check which message is received to determine if the job completed normally or abnormally. You could also create one message queue for each submitted job and then your process has to check multiple message queues. By default these messages usually go to the user profile's message queue so instead of creating a message queue you could also check the user profile message queue. However, you'll have to deal with other messages on the user profile message queue. Paul
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.