|
As stated earlier, the suffix on files help to differentiate between the program name and a file name when you replace *entry plist. Now I am all for keeping source in one physical file. Well, at least all program source. I am starting to lean towards keeping all file source in one file also. I, too, think the suffix on a program is a waste of space. And if you kept your program source in QPGMSRC it wouldn't matter to those who forget to do a DSPPGM to see if they have to look in QRPGLESRC or QCLSRC. This would also avoid the problem in which compiling a program of one language blows away a program of another language. Why am I starting to lean towards keeping file source in one source file also? If some of your files are defined with SQL and some with DDS (using RUNSQLSTM) who wants to search all over for that? However, on a production machine (excluding strange banking rules) often the source is not put on the production machine. Then if there were some RUNSQLSTM for purging records, etc., I can see maybe a separate source file for that. Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "Bartell, Aaron L. (TC)" <ALBartell@xxxxxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 03/26/2003 03:11 PM Please respond to RPG programming on the AS400 / iSeries To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> cc: Fax to: Subject: Naming conventions - was ->RE: Replacing *entry plist I have thought about the names of my source members and objects a lot in the past couple of weeks, and being that there is such a huge limitation on the amount of chars you can use to name something I am wondering why we even use a suffix when we have the object type to do that for us?? Of course you would have to put your source in different source members like QDDSSRC, QDSPSRC, QMODSRC, QSRVSRC, QPNLSRC, QRPGLESRC, etc so they wouldn't collide in the source physical file. I wonder if that limitation (max of 10 characters for names) is ever going to get better?? Aaron Bartell -----Original Message----- From: Joel Fritz [mailto:JFritz@xxxxxxxxxxxxxxxx] Sent: Wednesday, March 26, 2003 1:41 PM To: 'RPG programming on the AS400 / iSeries' Subject: RE: Replacing *entry plist I like ending both physical and printer file names with "P." I'd add a smiley, but I've seen it a lot. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.