|
Sounds like one or more of the parm pointers is getting overlaid. Maybe the buffer length field you're passing to the API is greater than the length of the buffer. You could tell by debugging and displaying the pointers before the second call. I tried a test pgm, invalidating one of the parm pointers (by redefining it as a char field and moving data to the field) before a second call to the API and got the same error. --Dave On Wednesday 30 October 2002 10:32 am, jamesl@hb.quik.com wrote: >To: mi400@midrange.com >Reply to: mi400@midrange.com >Date: Wed, 30 Oct 2002 18:31:45 AST >X-Mailer: EMUmail >Subject: CPF24B4 in QCLRPGAS > >Fellow MI geeks and gurus: > >I hava a program using the QCLRPGAS API >repeatedly to access its own associated >space. The first time it makes the >call, everything works fine. The second >time, though, it fails with a >CPF24B4 in the error parameter. > >Any idea what I could be doing >wrong? > >The parameters are all SPPs init'ed to point to AUTO variables of >the >appropriate >type. > >-- >JHHL
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.