× 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: Submiting an interactive job
  • From: booth@xxxxxxxxxxxx
  • Date: Sat, 22 Jul 2000 16:02:22 GMT

Why not send messages to the program or to the user's message queue 
instead?  That's easier to do and then you can send the message to the 
user or whomever you wish.  If SNDPGMMSG isn't what you want, use SNDMSG. 
For the TOUSR parm use the User's name from the SDS.

Here's an example of how I did it:

  C             Eval      ErrMsg = 'Your message goes here.' 
   * Send  error Message: 
  C             Eval      Tmpxx= 'SNDPGMMSG' + ' ' + ErrMsg 
  C             Call (E)  'QCMDEXC' 
  C             Parm                    Tmpxx          1024 
  C             Parm      1024          parm2            15 5 
 
_______________________
Booth Martin
Booth@MartinVT.com
http://www.MartinVT.com
_______________________




"kd" <kdziub@idom.com.pl>
Sent by: owner-rpg400-l@midrange.com
07/22/2000 03:59 AM
Please respond to RPG400-L

 
        To:     <RPG400-L@midrange.com>
        cc: 
        Subject:        Submiting an interactive job
Hi everyone,
 
 
Did anybody try with success to submit an display program in a batch ? 
Normally a break message 'Device *REQUESTER not found while opening the 
display file XXX' can be seen if the interactive application is running in 
batch. The application I am interested in just displays some texts on the 
screen and doesn't wait for the user input. So submiting it in batch seems 
quite reasonable.
 
 
 
Thanks,
 
 
K. Dziubinski
 
 


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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 ...


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.