|
At 09:13 01/17/2003, Dan wrote:
I'm not sure if it's technically accurate, but conceptually, /INCLUDE is exactly like /COPY, except that it is ignored by the precompiler. It's a work-around that allows you to achieve the same functionality that you can get with nested /COPY statements, even though the SQL precompiler can't support them. You can use /INCLUDE in place of /COPY anywhere SQL doesn't need to know about it. In practice, it doesn't seem to have much impact on what you can do with RPG copybooks, although it does mean you some times need to make minor accommodations.Pete, I am very much a neophyte in SQL and SQLRPG. But I thought I heard someone mention that /INCLUDE is like a /COPY but has more SQL precompiler functionality. You probably already know about this, but just in case.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.