>> Can someone refresh my memory on the MRT value for RPG II
programs.  Was this a value on the H spec?  Running on an AS/400,
what impact does it have?  As I remember, MRT stood for Multiple
Requestor Terminal(s) and defined how many terminals can be running the
program.  Is this correct?

What would the maximum value be?  How can it be changed if it has any
effect on the AS/400? <<

The MRT value is a parameter on the RPGC command. On the AS/400 it is
still available on the CRTS36RPG command. On the S/36, it used to
determine how many copies of the private variables (the SAVEDS and the
saved indicators) were created at compile time. This was important
because it had a major impact on the size of the internal data space
(and the program object). On the AS/400, in the S36EE, RPG emulates this
behavior, but since the program's data space is not really in the
program object, the implementation is quite a bit different. The
challenge becomes providing interprocess communication for the shared
variables. I've done something similar with user spaces, but I have no
idea how RPG 2 does it. In order to change the number of requestors, you
need to recompile the program. Sorry, I don't know what the maximum
number of requestors is.

Pete


--
 - Pete Hall peteh@earth.inwave.com
http://www.inwave.com/~peteh/

+---
| 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
+---


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].