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



for more clarification:-

In this ideal file I expect all the source members names distinguishly
mentioned (with respect to their source code present in corresponding
source physical files and libraries. ) along with their source code across
entire IBM I system.








On Mon, Jul 3, 2023, 23:48 Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On 7/3/2023 1:48 PM, Patrik Schindler wrote:
Hello Buck,

Hallo Patrik!

Am 03.07.2023 um 18:02 schrieb Buck Calabro <kc2hiz@xxxxxxxxx>:

Is it possible to have all the source code placed in a single file for
all the source members which are present there in different libraries in to
corresponding source physical files?

Yes, for a programmer this is possible.
But why would one?

Because then sources are in one place. Fits my workflow much better than
things being scattered around more or less arbitrarily by type.

For Joe's benefit:
The traditional source arrangement is aligned with the compiler defaults
like
LIB1/QCLSRC
--hundreds of members
--each member having variable number of LOC
LIB1/QDDSSRC
--hundreds of members
--each member having variable number of LOC
LIB1/QRPGLESRC
--hundreds of members
--each member having variable number of LOC
...etc



I'm familiar with organising source like
LIB1/QSRC
--hundreds of members
--each member having variable number of LOC
LIB2/QSRC
--hundreds of members
--each member having variable number of LOC
LIBn/QSRC
--hundreds of members
--each member having variable number of LOC



I understood that Joe wanted:
QGPL/QSRC
--one member
--that one member having millions of LOC - all of the source lines
from every member, source file, and library on the system in one,
SQL-able place, ie select * from qgpl.qsrc;

...but perhaps I was mistaken. It is this last arrangement that I could
not understand. I think it is doable with a pair of tables; one a
'master' table holding source PF attributes and a surrogate key, and the
other being the source keyed by that key. As I think about it some more,
now I wonder if he's thinking of keeping the many default QxyzSRC files
in all of the libraries, but building a separate index that points to
them all? It depends on whether he wants to search over the 50 character
member text, or the actual lines of source.

--
--buck

http://wiki.midrange.com
Your updates make it better!


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.