Given that there is no LOC=64 option for GETMAIN,
I was thinking that maybe what I can do is alter the
meaning of LOC=RES, at least for when an executable
is running on MVS/380.

And focus not on where it resides (much more convenient
for it to reside BTL), but instead what AMODE I am running
in. That way my executables - even if running BTL - so long
as they are AM64, they can get memory above 4 GiB.

And if they are running AM31/32 they can get memory above
16 MiB but below 2 or 4 GiB.

And this still won't be a problem on z/OS. Simply mark the
executable as RM31 and you will get memory above 16 MiB.

And if IBM ever decides to allow GETMAIN to obtain memory
above 4 GiB - hey presto, mark your 64-bit executable RM64.

BFN. Paul.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to