Server Guide
For your code to access programs that run below the 16-megabyte line,
your code must allocate storage that is below the 16-megabyte line before
passing parameters or otherwise accessing the program.
To allocate storage below the 16-megabyte line you can use the class
methods callocBelow and callocBelow:, which the
MvsWorkstationBaseApp adds to the OSPtr class by
extension. The callocBelow and callocBelow:
methods work the same way as the calloc and
calloc: class methods in OSPtr. Thus, the
methods do the following:
- callocBelow
- Allocates operating system memory large enough to contain one data element
of the size described by the receiver. callocBelow answers a
new instance of the receiver with indirection level one, initialized to
reference the data element in the allocated memory.
- callocBelow: anInteger
- Allocates operating system memory large enough to contain
anInteger number of data elements of the size described by the
receiver. callocBelow: answers a new instance of the
receiver with indirection level one, initialized to reference the first data
element in the allocated memory. The parameter you specify for
anInteger must be one (1) or greater.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]