|
I've experienced the same problem - you can't allocate the full amount that the manual says you should be able to, and it doesn't look like the amount of memory already used or available is the trouble. It smells of a bug to me, especiall y since the message suggests the system thinks the amount requested is negative. Pete ----- Original Message ----- From: "Buck" <buck.calabro@xxxxxxxxxxxx> To: <rpg400-l@xxxxxxxxxxxx> Sent: Thursday, July 03, 2003 4:04 PM Subject: Re: CEE0808 error on %alloc > > i'm getting an error when trying to allocate space > > in a program.it's CEE0808: > > D Buffer S * > > D BuffSize S 10I 0 INZ(16776704) > > > > C eval Buffer=%alloc(BuffSize) > > I see the same issue at V5R2. Perhaps this is a PTF? It works if you grab > 16770018 bytes though. I thought it was related to the amount of storage > already allocated to the program, but adding dome character variables didn't > change the limit any. Nor did allocating several 16770018 byte buffers. > --buck > > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > > >
As an Amazon Associate we earn from qualifying purchases.
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.