|
Jim, don't know if this applies, or whether it will help you, but on my V3R2 box, QSPRWTRI is a *PGM object in QSYS. Perhaps you need to look at the "is not of the same data or procedure type as the reference" part of the error. Just a thought. Dan Bale IT - AS/400 Handleman Company 248-362-4400 Ext. 4952 ------------------ Original Message ------------------ V3R7M0 I'm trying to write an interface to the QSPRWTRI API (Retrieve Write Information). This is my prototype: D RtvWtrInf PR ExtProc(QSPRWTRI) D RWI_RcvVar 289A D RWI_RcvLength 9B 0 D RWI_FmtName 8A D RWI_PrtName 10A D RWI_ErrCode 16A I compile this with a DFTACTGRP(*NO) and BNDDIR(QC2LE) It compiles without errors, but I get a message at the end of the listing: Errors were found during the binding step. See the job log for more information. Checking the joblog: From module . . . . . . . . : QBNBSYMR From procedure . . . . . . : QBNBSYMR__UnresolvedReferenceIterator Statement . . . . . . . . . : 31 To module . . . . . . . . . : QBNBSYMR To procedure . . . . . . . : QBNBSYMR__SignalUnresolvedReferences Statement . . . . . . . . . : 8 Message . . . . : Definition not found for symbol 'QSPRWTRI'. Cause . . . . . : No definition was found for reference QSPRWTRI in *MODULE object SDGWRKSPL in library QTEMP. The definition either does not exist or is not of the same data or procedure type as the reference. Recovery . . . : Try the Create Program (CRTPGM) command again, supplying an object that contains a definition for symbol QSPRWTRI. Any clues? Regards, Jim Langston +--- | 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 +--- +--- | 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.