ILE RPG has long had its /COPY directive to include other members at compile time. However, if those members define host structures (or other artificacts) that the SQL precompiler needs, /COPY doesn't work as you might expect with the CRTRPGSQLI command. This article explains how to resolve that issue.

Read the full technical article on