Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

iSeries / AS400 FAQ : (Category) Programming : I used EXPORT(*ALL) and now I have to recompile my programs. Why?

0
Posted

iSeries / AS400 FAQ : (Category) Programming : I used EXPORT(*ALL) and now I have to recompile my programs. Why?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123