× 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.


  • Subject: RE: How to end the command that is running interactively in a user's session?
  • From: Martin Rowe <martin@xxxxxxxxxx>
  • Date: Sun, 30 Jul 2000 11:19:29 +0100
  • Organization: Jamaro

On Sun, 30 Jul 2000, Rajeev_Asthana@noida.tcs.co.in wrote:
<snipped>
> Following are other options we tried:
> 1. Doing ENDJOb -  But it ends the session (and it should cause it's the same
> job)
> 2. ENDRSQ - But it's not job wise, it kills the job from which it's
> submitted.(Is there a way to do this job wise?)
> We have got very less time to implement it, don't know where to proceed.

We've used a break handling program with the user's message delivery set
to break. The break program checks for a message with a specific ID - if
it's found, it executes the message data as a command. This is run from
inside the user's job & call stack. I use it for things like copying
QTEMP files to somewhere I can look at the contents. It might work for an
ENDRQS. If you want to try I can put the code up on my site (see sig).

Regards, Martin
-- 
martin@dbg400.net / jamaro@firstlinux.net
http://www.dbg400.net DBG/400 - DataBase Generation utilities 
Free test environment tools for the AS/400
+---
| 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 thread ...

Replies:

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.