× 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.



Steve Landess wrote:
> ...
> Since the JDE shops I have worked in write code to stay consistent with the
> existing JDE RPG/400 code, I took a hybrid
> approach.  I wrote a compile command that allows you to maintain the code as
> RPG/400, but compiles it like this:
> 
> 1) It first uses CVTRPGPGM to convert the base source member from RPG/400 to
> RPGLE source type in a temporary source file.
> 
> 2) An RPG program reads thru the converted source in the temporary source
> file, looking for the source members named in the /COPY statements and
> converting _them_ to RPGLE source format in a temporary source file.
> 
> 3) Updates the /COPY statements in the source member created in (1) to point
> at the RPGLE  /COPY members in the temporary RPGLE source file for copy
> books.

Steve, you can skip steps 2 and 3 by specifying EXPCPY(*YES) on the
first CVTRPGSRC.


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.