× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



rob@xxxxxxxxx wrote:
> 
> In the V5R3 version of the precompiler supposedly they fixed all bad
> issues regarding /copy (like nested copies now work).  And they now treat
> /include just like /copy.

Rob, with RPGPPOPT(*NONE), and RPGPPOPT(*LVL1), /include is ignored. 
It's only with RPGPPOPT(*LVL2) that /include is treated like /copy.

Help for RPGPPOPT:

    Specifies if the RPG compiler will be called to preprocess the
source  
    member before the SQL precompile is run.  Preprocessing the SQL
source 
    member will allow some compiler directives to be handled before the
SQL
    precompile.  The preprocessed source will be placed in file QSQLPRE
in 
    QTEMP.  This source will be used for the SQL
precompile.               
   
*NONE                                                                  
        The compiler is not called for
preprocessing.                      
   
*LVL1                                                                  
        The compiler is called for preprocessing to expand /COPY and
handle
        the conditional compilation directives except the
/INCLUDE         
       
directive.                                                         
   
*LVL2                                                                  
        The compiler will be called for preprocessing to expand /COPY
and  
        /INCLUDE and handle the conditional compilation
directives.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.