|
I made a service program with this prototype:
/IF NOT DEFINED(SERVICE)
d xnamfields 10 dim(500)
d xposfields 5i 0 dim(500)
d xlenfields 5i 0 dim(500)
d xnbrfields 10i 0 inz
/ENDIF
d mgetfields pr 10i 0 extproc('MGETFIELDS')
d xnomefile 10 const
d xnomelibr 10 const
d xnamfields 10 dim(500)
options(*OMIT:*NOPASS)
d xposfields 5i 0 dim(500)
options(*OMIT:*NOPASS)
d xlenfields 5i 0 dim(500)
options(*OMIT:*NOPASS)
and the RPG compiler didn't notice that I forgot the S in
the field definitions between the IF DEFINED and ENDIF, the
RPG/SQL compiler spotted the error.
Marco
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
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.