|
Zak, >From my post on sending MQ message great than 32K, David George shared with me via a private email how to handle terabyte space and provided a sample of the code to do it. Since I did not have the requirement for terabyte code, I did not save, the attachment he sent me was RPG-ILE code. I am copying Dave on this email so perhaps he can post it here, or send it to you via a private email. cjg Carl J. Galgano EDI Consulting Services, Inc. 600 Kennesaw Avenue, Suite 400 Marietta, GA 30060 (770) 422-2995 - voice (419) 730-8212 - fax mailto:cgalgano@xxxxxxxxxxxxxxxxx http://www.ediconsulting.com AS400 EDI, Networking, E-Commerce and Communications Consulting and Implementation http://www.icecreamovernight.com Premium Ice Cream Brands shipped Overnight Visit our website to subscribe to our FREE AS/400 Timesharing Service -----Original Message----- From: Scott Klement [mailto:klemscot@xxxxxxxxxxxx] Sent: Thursday, March 25, 2004 1:06 PM To: Midrange Systems Technical Discussion Subject: Re: Teraspace Hi Zak, [SNIP] > CRTRPGMOD and CHGMOD don't seem to have any way to change the storage > model to *TERASPACE. How do I do it? There are two different things here: TERASPACE-ENABLED: This means that the program is able to work with memory allocated in teraspace. Pointers are allowed to address it, etc. You can use the TS_malloc() API and similar APIs to allocate & work with teraspace memory. This is an "always on" feature in ILE RPG at V4R2 and later, in ILE CL at V5R1 and later, etc. ILE C can enable or disable this with the TERASPACE option on the CRTCMOD command. TERASPACE-STORAGE-MODEL: This means that the compiler uses teraspace for the all of the normal variables in your program (as opposed to BASED variables that you allocate the memory for yourself.) Doing this would allow you to have, for example, a data structure that's total size is larger than 16mb. AFIAK, only ILE C supports the teraspace storage model. You can enable it with the STGMDL(*TERASPACE) option on the CRTCMOD command. HTH _______________________________________________ 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 mailing list archive is Copyright 1997-2025 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.