|
Jodi, I can point you to another example of Scope messages from a tech tip published by Midrange Computing. You can find it here: http://www.midrangecomputing.com/ftp/prog/99/990507.txt It sounds like you may be storing information that is not directly related to the job in qtemp. I suspect that this may not be the only problem that exists, rather than fight this, why not just use a temporary object in a real library? David Morris >>> midrangel@black-and-blue.com 09/14/00 05:26AM >>> There's an interesting little feature of OS400 that will help you, called Scope messages. If you send a Scope message, it's like doing a call QCMDEXC that runs when the job ends (either normally or abnormally). We use it all the time for batch jobs that must always be active. You can check it in the manuals or use an example from our 'toolkit' at http://www.black-and-blue.com There is a RUNJOBECMD that will run your command whether the user signs off or disconnects the session..... Brendan > my proposed resolution: > as the session is being disconnected from the 400, check the QTEMP > file to see if there are any records in it, if so, then call the > program to process those records and then allow the session > to finish > the disconnect process - or some variation thereof. maybe copy the > file contents to a dataq, and process from there, whatever. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.