MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » May 1999

Same field names


  • Subject: Same field names
  • From: Rob Berendt <rob@xxxxxxxxx>
  • Date: Tue, 4 May 1999 9:46:24 -0500

fixed

Not to start a holy war, but here goes...

Our accounting package uses the same field names in all of their files.  For 
example in the 
files EMPNAM, EMPJOB, etc, the employee number field is EMPLY.  Prior to RPG 
ILE, this was 
a minor pain because you had to rename all the fields by hand.  With ILE RPG 
you just use 
the PREFIX keyword and the rename is done quick.  But, here is the cool part.  
Query the 
file QADBIFLD on your system and you can see every file containing this field.  
Since this 
file is 1.4GB on our system I thought I'd might as well use it.

So what do you think of using the same names?  How about requiring database 
field names be 
limited to 7 or 8 characters so the PREFIX keyword is cleaner?
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact