Discussion:
[hercules-os380] GETMAIN LOC=64
kerravon86@yahoo.com.au [hercules-os380]
2018-10-28 15:54:24 UTC
Permalink
I'm thinking that we can use the top
reserved bit in SVC 120 to represent
LOC=64 rather than LOC=32, so that
we can write 64-bit programs that
run on both MVS/380 and z/OS, and
on z/OS they get normal LOC=ANY
memory while on MVS/380 they have
access to memory above 4 GiB.

An intercept can be written for z/OS
to convert the LOC=64 requests to
IARV64 to get more memory.

A normal LOC=ANY would get memory
between 2 GiB and 4 GiB on MVS/380
if the program is running in AM32/64,
otherwise it would get LOC=31 memory
if running AM31 or LOC=24 memory if
running AM24.

BFN. Paul.
kerravon86@yahoo.com.au [hercules-os380]
2018-10-28 15:57:14 UTC
Permalink
Post by ***@yahoo.com.au [hercules-os380]
I'm thinking that we can use the top
reserved bit in SVC 120 to represent
LOC=64 rather than LOC=32, so that
we can write 64-bit programs that
run on both MVS/380 and z/OS, and
on z/OS they get normal LOC=ANY
memory while on MVS/380 they have
access to memory above 4 GiB.
An intercept can be written for z/OS
But without the intercept, a GETMAIN for
a size of 4 GiB or more would not work
properly on z/OS, as the length would be
truncated.

BFN. Paul.

Loading...