× 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: Adding commands to stack (F9)?
  • From: Roger Vicker <rvicker@xxxxxxxx>
  • Date: Tue, 28 Oct 1997 20:04:19 -0600
  • Organization: Vicker Programming

Vern,

I think it has something to do with if the message has been marked as
received.
If you get a key on the SNDMSG command and then do a RCVMSG using that
key there
is a parm that allows you to mark it used.

There is a way to send the message as a *RQS type and then when you call
QCMD it
is executed.

I wrote a menu system years ago on the S/38 that did most of this but a
little
different so that it became a "request processor" so that it could be an
INLPGM
and options could be CNLRQS'd with control returned to the menu program.

Roger Vicker, CCP

Vern Hamberg wrote:

> At 08:50 PM 10/27/97, Mark Lazarus wrote:
> >David,
> >
> >>Does anyone know of a way to add a command to the commandline stack
> >>so that pressing F9 will retreive it?
> >>
> >>I'd like to create a program that will build a command line and push
> >>it onto the stack so that the user just has to press F9 to retrieve
> >>it.
> >
> > I haven't tried this, but I think that it's the *EXT msgq (or is it the
> >*PGM), msg type *RQS.
>
> I just tried this. It's interesting. When I specified *PRV or *SAME, the
> command showed up in the history, but F9 did not retrieve it. When I
> specified *EXT, the command showed up in the history but could not be
> retrieved until I called QCMD, which executed it. It appears that the
> command has to have been executed to be retrieved, although this is not the
> behavior exhibited when you prompt a command and press F3/F12. These
> commands, although never "run", can be retrieved.
>
> Hmmmmmm!
>
> Vernon Hamberg
> Systems Software Programmer
> Old Republic National Title Insurance Company
> 400 Second Avenue South
> Minneapolis, MN 55401
> (612) 371-1111 x480
>



--
*** Vicker Programming and Service *** Have bits will byte ***
One of the advantages of being disorderly, is that one is constantly
making
exciting discoveries. -- Bob Moawad


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| 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.