|
I'd like to start prototyping my *ENTRY parms in my RPGLE programs, but am having some difficulties with the following:
Currently:
d Psc000 e ds ExtName(Oeps00)
d Psc001 e ds ExtName(Oeps01)
d Psc002 e ds ExtName(Oeps02)
c *Entry Plist
c Parm Psc000
c Parm Psc001
c Parm Psc002
I'm not sure how to prototype these externally defined data structures.
I'm not sure what I'm doing incorrectly when I do the following:
d Psc000 e ds ExtName(Oeps00) Based(pPsc000)
d Psc001 e ds Extname(Oeps01) Based(pPsc001)
d Psc002 e ds Extname(Oeps02) Based(pPsc002)
d Oe1007ri10 pr ExtPgm('OE1007RI10')
d OePsc000 Like(Psc000)
d OePsc001 Like(Psc001)
d OePsc002 Like(Psc002)
d Oe1007ri10 pi
d OePsc000 Like(Psc000)
d OePsc001 Like(Psc001)
d OePsc002 Like(Psc002)
d pPsc000 s * Inz(%Addr(Oepsc000))
d pPsc001 s * Inz(%Addr(Oepsc001))
d pPsc002 s * Inz(%Addr(Oepsc002))
The compilation error message states:
Msg id Sv Statement Message text
*RNF7306 20 007700 The initial value for pointer field PPSC000 is not valid.
*RNF7306 20 008200 The initial value for pointer field PPSC001 is not valid.
*RNF7306 20 008500 The initial value for pointer field PPSC002 is not valid.
Any help is appreciated,.... TIA.
Regards,
Jon A. Erickson
Sr. Programmer Analyst
800.COM Inc.
1516 NW Thurman St
Portland, OR 97209-2517
Direct: 503.944.3613
Fax: 503.944.3690
Web: http://800.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.