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



One of my /COPY is text near top of all RPG that have SQL embedded.

A reminder about naming conventions to avoid, because of the naming system
reserved for what SQL creates, remember that in SQL you have to define
things earlier in the program than where SQL uses them, and the identity of
a README where SQL programming techniques are written up.

We have had code that came with some application where the license gave
permission to modify. So I copied useful code chunks into my development of
new programs, from this application. Then management decided not to renew
something because the perceived ROI was below the annual renewal fees.

Suddenly we no longer had permission not only to use the application, but
also any programs that had code chunks derived from that application.

What was really needed, at that point, was a directory of all places using
code from that source. Fortunately, I had included a copyright statement
identifying where derivative code came from, so it was a matter of searching
for all programs that contained that copyright notice.

Al Mac Wheel wrote
I am a one-person shop with approx 30 users, and maybe 40% of my
time satisfying the needs of 2 managers in particular.

Many years ago, long before me on 400, I had extensive programming
standards, that evolved over time & as I learned more. Today I have
some SEU/PDM "documents" with various directories of programming
techniques, that point at various programs & query definitions.

If you have forgotten how to do string searching ... here's programs
that do that, and queries (LIKE operation). If you have forgotten
how to sort output by absolute value ... here's how. If it has been
a while since you used RPG matching ... here's programs that do
that. The IBM manual has 3 ways to link files in query/400 ...
here's a query definition that has figured out a 4th way. If date-
math bombs due to invalid date, reminder how to locate the
responsible record.

The "doc" has both a brief explanation of the technique, and pointer
to some software that is using that technique. The programming
goals sorted by name of goal.


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.