>> 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 firstname.lastname@example.org 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: email@example.com +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.