|
Thanks everyone for their aid. I changed it to ExtPgm, put quotes around it, changed it from 4B 0 to 10U 0, then changed it to a procedure with P, and also changed some variables to Const. Next step will be putting it in it's own file and creating my own binding directory. Regards, Jim Langston bmorris@ca.ibm.com wrote: > > >Date: Tue, 03 Oct 2000 12:47:18 -0500 > >From: Jim Langston <jimlangston@conexfreight.com> > > > >D RtvWtrInf PR ExtPgm(QSPRWTRI) > >D RWI_RcvVar 289A > >D RWI_RcvLength 9B 0 > >D RWI_FmtName 8A > >D RWI_PrtName 10A > >D RWI_ErrCode 16A > > Jim, to make this prototype more useful, you should code the > CONST keyword for any parameter documented as "Input". That > will allow you to code literals for those parameters, like > 'SPRW0100' and %size(Rcvr), rather than variables. For this > API, you probably only need 2 variables: the receiver and the > error-code. > > Barbara Morris +--- | 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.