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');
Showing posts with label free format. Show all posts
Showing posts with label free format. Show all posts
Friday, September 18, 2009
Subscribe to:
Posts (Atom)
Popular Posts
- AS400 Job Scheduler
- What is LANSA
- What is RPGsp (RPG Smart Pages)
- Common Gateway Interface (CGI) on the as400 / iSeries
- AS400 APIs
- Encrypt Data on as400 (QC3ENCDT, Qc3EncryptData)
- Formatting and sorting dates in Displaytag
- Trying to find out as400 library size
- Need to access MS SQL databases from the as400. Use Microsofts JDBC driver
- AS400 Jobs: Do you have a job at the moment?