× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The ILE C teraspace storage model program is probably expecting 8-byte pointers as inputs.

"Teraspace enabled" means the program is allowed to process teraspace addresses (that distinction was needed because old programs created before teraspace had been invented could not always correctly process teraspace addresses).

"Teraspace storage model" means that static, automatic and heap allocations come from teraspace, and constants can be referenced through teraspace.

16-byte pointers can point to any space (e.g. static storage, automatic storage, user space, teraspace) but 8-byte pointers can only point to teraspace.

ILE RPG programs (created for v4r4 or later) can process teraspace addresses but always use 16-byte pointers.

C and C++ support teraspace storage model and the choice of 8 or 16-byte pointers for pointing to teraspace. The DTAMDL parameter on the C/C++ CRT commands controls whether pointers declared without an explicit length are to be considered 8 or 16-byte pointers.

Please see ILE Concepts chapter 4 for more detail.
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm


Paul Godtland
IBM
Rochester, MN


Zvi Kave wrote:

I call a Teraspace ILE C program from RPGLE in V5R3.
As declared in ILE Concepts, RPGLE is Teraspace enabled by default from V4R4.

But I got an error:

Space address is not a teraspace storage address

Application error. MCH0609 unmonitored by TVQSC at statement *N,

instruction X'0000'.

RPG status 00202 caused procedure TVUEP in program SMZV/TVUEP to stop.

Application error. RNX9001 unmonitored by TVUEP at statement *N, instruction X'0000'.

<other text deleted>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.