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



Robert,

This does not directly answer your question, but may be of help.

There is a utility preprocessor - /copybook - available which allows you to
copy selectively from a source member, by specifying from and to line
numbers or from and to labels. In your scenario, prototypes can now exist
in the same library/file/members as the modified sources.

Available at rpglanguage.com/copybook.

Its free and it was created by yours truly.


Regards,
John McKay mba

Original Message:
-----------------
From: Robert Rogerson rogersonra@xxxxxxxxx
Date: Fri, 7 May 2010 08:21:27 -0400
To: RPG400-L@xxxxxxxxxxxx
Subject: Using prototypes...


In the shop I'm currently at Prototypes are are copied into programs at
compile time.

The programs are compiled in batch so the library list is defined in the
COMPILES JOBD. This library list does not contain the source library.
Basically the library list is:
modified_files
modified_objects
base_files
base_objects

So the prototypes file (which contains the members for the /copy) is in the
modified_objects library.

My question is, is this normal practice or shouldn't the prototypes file be
in the modified_source library and the library list in the COMPILES JOBD be
changed to add modified_source as the last library list entry?

Thanks,

Rob

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.