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
- as400 Iseries Tips
- Creating an as400 Query
- Contact Us
- What is QZHQSSRV job?
- Ten CSS tricks you may not know : evolt.org, Code
- QUSRJOBI API (Retrieve Job Information) as400
- Daniel Dan Carter Beard's Outdoor Handy Book or American Boy's Book of Sport - October 15, 1896
- iReport - OpenSource Java Reporting Tool
- AS400 APIs
- Using QCLRDTAQ to clear data queues in CL and RPG
No comments:
Post a Comment