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



Hi Darryl ,
That's an intriguing question.
Unfortunately, I don't have a solution ready to use, but that's my 5 cents.

Recently I had to compare PF and LF record formats to ensure they match
their sources; objects and source members were on the same system.
To do this I created a program that gets the object definition directly
from the system catalog, then creates in QTEMP the same object from its
corresponding source file member, and finally, compares the first object
definition with that retrieved from the object in QTEMP. I used SQL to read
the system catalogs and to make comparisons.

But if you need to compare source members themselves it's useless.

To use an SQL procedure you need to connect one system to the other, using
the "CONNECT" statement, but then you need to read every single member and
AFAIK you should use the "ALIAS" concept, creating an alias for every
single member.
I was able to execute some SQL select statements connecting 2 different
systems addressing each table in the form rdbname.schema.table, but I know
little about which conditions this method works under.

If you don't disregard other than SQL, why don't you use FTP to transfer a
source member from one system to the other, and then make the comparison on
one of the 2 systems, deleting the copied source member (or the whole file)
at the end of the process?

I am sure others on the mailing list will come up with more interesting
solutions.

Lucia


Il giorno gio 11 ago 2022 alle ore 21:57 a4g atl <a4ginatl2@xxxxxxxxx> ha
scritto:

I need to compare source members on 2 systems, a production and development
system.

I want to create a procedure to compare the source.

I tried setting up a DDM file, but source compare does not work using DDM.

Hopefully, I will not have to invent the wheel.

TIA, Darryl Freinkel.
--
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.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com




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.