|
> Many people use list API's incorrectly. Instead of using the general > header area, and header entries, which contain offsets to > where other data > elements are stored. Often they calculate the offset > manually. This way > they'll be defeated when new offsets occur. Might this be what you've > done? No, actually .. it was the length that screwed me up. My buffer was only 508 bytes long, but the new API returned 3995 bytes. I didn't realize the buffer size had changed. When I changed the QUSRTVUS call to only give me 508 bytes, it worked exactly as I expected. david -- David Gibbs Sr. Software Engineer Mortice Kern Systems US, Inc. 2500 S. Highland Ave., Suite 200 Lombard, IL 60148 phone: (630) 495-2108 x5004 http://www.mks.com mailto:dgibbs@mks.com Need a laugh: http://www.userfriendly.org/static +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.