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
- Using QCLRDTAQ to clear data queues in CL and RPG
- UDATE and *DATE in AS400 RPG
- AS400 Job Scheduler
- Creating an as400 Query
- Adobe Flex 2.0 Beta
- ibm as400 manuals v5r4
- Using as400 QRCVDTAQ api to retrieve a message / entry from a dataqueue
- Privacy Policy
- IBM WebSphere Developer Technical Journal: Maintain continuous availability while updating WebSphere Application Server enterprise applications
- Encrypt Data on as400 (QC3ENCDT, Qc3EncryptData)
No comments:
Post a Comment