The storage model is on the CRTPGM command and nowhere else that I know of. You create modules, then link them using CRTPGM. Even when there is only one module.

The CRTBNDxxx commands are meant to work like the OPM CRTxxxPGM commands, so I would expect them to assume the original single level storage model. And I would not expect the ability to change storage model on a compiled object.

HTH
Vern

At 06:53 AM 5/26/2005, you 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'.


DSPPGM SMZV/TVUEP shows:



Teraspace storage enabled PEP  . . . . . . . . :   *YES

Teraspace storage enabled modules  . . . . . . :   *ALL

Storage model  . . . . . . . . . . . . . . . . :   *SNGLVL



But there is no STGMDL(Storage Model) option in command CHGPGM,

Or commands CRTRPGMOD, CRTRPGPGM, CRTBNDRPG.



Regards,



Zvi


__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.