iSeries / AS400 FAQ : (Category) Programming : I used EXPORT(*ALL) and now I have to recompile my programs. Why?
Q. I created a RPG IV source module containing several procedures which are exported. I compiled the source and used CRTSRVPGM with EXPORT(*ALL) to create a service program. Subsequently I needed to make modifications to the service program, so I recompiled the source and used UPDSRVPGM to update. In my limited knowledge of service programs, I understand that the system is generating an ‘export signature’ which is used by programs calling the service program procedures. The problem is that I get signature errors unless I recompile the programs that use the service program procedures. A. Run, don’t walk to the ILE Concepts manual! http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c4156066.pdf You can find it “by hand” by navigating through the V5R2 Infocenter, Programming, RPG. The Infocenter can be found at http://www.iseries.ibm.com/infocenter Use the V5R2 version even if you are on an earlier release; the navigation is better, I think, and the concepts are the same for all vers
Related Questions
- iSeries / AS400 FAQ : (Category) Programming : I used EXPORT(*ALL) and now I have to recompile my programs. Why?
- iSeries / AS400 FAQ : (Category) Programming : (Category) SQL : How do I access a specific member with SQL?
- iSeries / AS400 FAQ : (Category) Programming : How can I recursively delete an IFS directory?