|
I have only two sourcefiles a QDDSSRC to DB2 definitions
and a QSRC for the rest
Why separate these things? What's so different about DDS that it
cannot also go in your primary source file?
And why name your source
file with a Q? I notice that happens a lot and I've never understood
it. Fine to use QCLSRC, QDDSSRC, QCMDSRC, etc. simply to avoid having
to retype the file name on the various compiler commands but if you're
going to bother creating your own source names then why use a prefix
that indicates it is an IBM object?
and all source is grouped by a
4-8 character prefix and the sourcefiles resides in the
same lib as the objects they correspond.
I always keep source separate from the objects simply because the
objects are what gets shipped and the source stays private. Note that
"shipped" in this case could mean a program product but also might
mean what is promoted to production. I've never seen the need for
source on a production system unless that is your only system and even
then I've never seen the need for it to be in a general "production"
library.
As an Amazon Associate we earn from qualifying purchases.
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.