|
Numerous ways. 1) Send email from your iSeries to that user. Determining what user to send the email to can be a challenge - but if it were easy we wouldn't be here. 2) Send a completion message and monitor that completion message queue and send an email to whomever should get email from that message queue. We have people who don't ever do DSPMSG anymore - all messages are rerouted via email. 3) A separate program on the PC could monitor the iSeries message queue and pop new messages out in a window. 4) Put the cmd in a batch file and at the end of the batch file have it pop up a window. You might even be able to do some crude if the command executed logic. My PC batch file programming skills are a little rusty but I think there was something like %error or some such animal that even the old PC Support updated. 5) Write the whole durn thing to use a stored procedure and get a result set that would even help to indicate success or failure. Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "Mark Villa" <mvilla@xxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 04/23/2003 10:18 AM Please respond to Midrange Systems Technical Discussion To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx> cc: Fax to: Subject: Job control on SBMJOB using CAE Activex When using the CAE command object in the form: cmd.Run to submit a job, how can you tell the user the job is completed? The ways I have thought of off the top are: 1)Keep monitoring the message queue for a completion message. 2)Set a flag in a file Has anyone on the list had to tackle this? How did you do this? I am open to any suggestions, will post a solution. Thanks, Mark Villa, Lyles Data Systems, Inc. (843) 225-5253 http://www.egs.cc http://www.lylesdata.com _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.