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



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?

For me, it's a naming standard thing. I might have a program and a file and
a command that all share the same name. (Less likely now in the age of
modules, but still might). Some people like to have a naming convention
that indicates what type of object it is, but - heck - doesn't the system
already do that? I like this convention, but it's one that I came up with
and I've stuck with for oh so many years. (Except as a consultant I often
no longer have the luxury.)


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?

Hear hear!

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.

My current client sends source to Production as a part of the object
promotion process. It's one of the settings that the Softlandings TURNOVER
product allows and over the years they have become comfortable with it. One
justification: Source in two places means less chance of loss. (Production
and Development are also widely separated geographically.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"The direct use of force is such a poor solution to any problem, it is
generally employed only by small children and large nations."
-- David Friedman



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.