If you get RNF3751 'External procedure on prototype for main procedure is not the same as actual external name' when trying to call an RPG using free format, check you procedure interface. Your PR and your PI need to match!
eg
For program myrpg01
d myrpg01 pr
d parm 1A
d myrpg01 pi
d parm 1A
then to call
either CALLP myrpg01('MYPARM');
or just
myrpg01('MYPARM');
Friday, September 18, 2009
Subscribe to:
Post Comments (Atom)
Popular Posts
- Make del.icio.us bookmarks
- Three Languages For Java Programmers to Learn
- 10 Really as400 Helpful APIs
- Four Hundred Guru--Admin Alert: Moving Libraries Between i5/OS Partitions, Part 1
- as400 commands and APIs you'll use for handling messages
- Free AS400 & iSeries Software Tools & Utilities Downloads
- Common Gateway Interface (CGI) on the as400 / iSeries
- Recommended PHP reading list
- Difference between SFLINZ and SFLCLR keyword?
- AS400 Job Scheduler
No comments:
Post a Comment