|
Jim Langston said: > If possible I would like to get a copy of this structure > without violating IBM's copyright > on the source code. Barbara, Hans, any solutions? Or am I > just going to have to write it > from scratch? Jim, The QSYSINC includes are an optional (but free) feature of OS/400; option number 13, "System Openness Includes". I'm 97% certain that the ones you need exist at V3R7, and no doubt some of the several other replies you're bound to get will confirm or deny this. > I'm attempting to write an API interface for the QSPRWTRI > API. So far I have coded the > parameter specs, but then I get to the Error Code which is a > pointer character to an error I don't think any of the APIs return actual pointers, though frequently they return an "offset" to data in the structure they return. I wonder if you're referring to the manuals' use of "*" in the length column of many fields? If so, the asterisk in this case does not mean "pointer data type", but "variable possible lengths depending on other conditions". The error structure, for example, can return a greater or lesser amount of information depending on how big a field you give it to use (and how big a field you tell it you've given it). HTH Cheers, Martin. +--- | 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-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.