updated
DB2000V3 Tutorial
Data File Format

DB2000 maintains two internal data tables. Members and Enhanced Members.
Members is generally used for screen display.
Enhanced members (listed below as Enh Membs) is used for queries.
The output file format .cvs can be input by word processors, spreadsheets and other databases.

In the tables below, the ' Loc ' column shows the screens where the data can be viewed or changed.

R = Roster : G = Grade : H = History : C = Comm : B = Boats : U = User

USPS Maintained Squadron Maintained Locally Stored Hidden

Roster, Comm and User screens fields
Field NameLocData
Type
Field
Length
Notes
(Members)(Enh Membs).cvs
Mem_ID   Long4See note14
 Mem_ID  String16See note14
 SquadronSquad No. String4 
  Squad. Code String4 
Squadron Squad. DescRString30 
 DistrictDist No String2 
Last NameLastLast NameRString25 
First NameFirstFirst NameRString16 
Certificate NumberCertCertificateRString7X123456
TagTag  T/F1See note
HQ RankRankHQ RankRString8(see rank.html)
SQ RankSquadRankSQ RankRString8(see rank.html)
GradeGradeGrade RString2S/P/AP/JN/N/SN
DASB_StatusDARString1Dual Address
SwapSB_WhereH/ART/F1Home/Away
Address 1AddressAddress 1RString30 
Address 2Address2Address 2RString30 
CityCityCityRString30 
StateStateStateRString2 
Zip CodeZIPZip CodeRString1001234-6789
Telephone TelephoneRString12see note11
Birthday BirthdayRString8MMDDCCYY
 BirthdayBirthday Date/Time8 
SexMemsexMemsexRString1M/F
SpouseSpouseSpouseRString30 
Spo. CertSpoCertSpo Cert.RString7X123456
Spo. SexSposexSpo SexRString1M/F
WeddingWeddingWeddingRString8MMDDCCYY
AffiliationxAffiliationRString? 
Grade/Education(see Grade table below)
History(see History table below)
Home PhoneHome PhonePhoneCString12AAAEEENNNN
Fax PhoneFax PhoneFaxCString12AAAEEENNNN
Email AddressE-MailEmailCString40 
Bus PhoneBus. PhoneBusPhoneCString12AAAEEENNNN
ExtExtBusExtCString5Work extension
OKOKPhoneTagCString1Call work Y/N
Cell PhoneCell PhoneCellPhoneCString12AAAEEENNNN
Boat Information(see Boat table below)
Squadron Field 1Squad1Squadron 1UString30 
Squadron Field 2Squad2Squadron 2UString30 

History
Field NameLocData
Type
Field
Length
Notes
(Members)(Enh Membs).cvs
Cert DateCertDate HString50 
 CertDateCert. Date Date/Time8 
Prim CertPCertPrim.CertHString7X123456
Original SquadronOSOrg.SqdHString4(see sqd.html)
Original DistrictODOrg.DstHString2(see sqd.html)
Previous SquadronPSPre.SqdHString4(see sqd.html)
Previous DistrictPDPre.DstHString2(see sqd.html)
Total Years MemberTotYrsTot.YearsHLong4 
Last BDU ChangeLastBDULast BDUHString8CCYYMMDD
Last HQ ChangeLastHQLast HQHString8CCYYMMDD
Type/Status DescMemTypeStatType / Stat CodeHString4(see member.html)
Type/Status DescMemTypeStatType / Stat DescHString4(see member.html)

Grade
Course, Test Dates and Awards
Loc
Field NameLocData
Type
Field
Length
Notes
(Members)(Enh Membs).cvs
GradeGradeGradeGString2S/P/AP/JN/N/SN
MMGH_MeritMMGString2NN
SeniorGH_SeniorSeniorGString4CCYY
LifeGH_LifeLifeGString4CCYY
EdproGH_EdproEdproGString4CCYY
EdAchGH_EdachEdAchGString4CCYY
SGH_SSGString6CCYYMM
PGH_PPGString6CCYYMM
APGH_APAPGString6CCYYMM
JNGH_JNJNGString6CCYYMM
NGH_NNGString6CCYYMM
CPGH_CPCPGString6CCYYMM
EMGH_EMEMGString6CCYYMM
MEGH_MEMEGString6CCYYMM
WXGH_WWGString6CCYYMM
IQGH_IQIQGString6CCYYMM
ITGH_ITITGString6CCYYMM
IAGH_IAIAGString6CCYYMM
SAGH_SAILSAILGString6CCYYMM
OTGH_OTOTGString6CCYYMM
SE_000CSE_000CSE_000CGString8CCYYMMDD
  SE_001CGString8CCYYMMDD
  SE_002CGString8CCYYMMDD
PI_000CPI_000CPI_000CGString8CCYYMMDD
PI_000OPI_000OPI_000OGString8CCYYMMDD
AP_000CAP_000CAP_000CGString8CCYYMMDD
AP_000OAP_000OAP_000OGString8CCYYMMDD
JN_000CJN_000CJN_000CGString8CCYYMMDD
JN_000OJN_000OJN_000OGString8CCYYMMDD
JN_000SJN_000SJN_000SGString8CCYYMMDD
NA_000ONA_000ONA_000OGString8CCYYMMDD
NA_000CNA_000CNA_000CGString8CCYYMMDD
NA_000SNA_000SNA_000SGString8CCYYMMDD
SA_001CSA_001CSA_001CGString8CCYYMMDD
WX_101CWE_101CWE_101CGString8CCYYMMDD
WX_102CWE_102CWE_102CGString8CCYYMMDD
  WE_000CGString8CCYYMMDD
VSC_01VSC_01VSC_01GString8CCYYMMDD
  CP_000CGString8CCYYMMDD
  EM_000CGString8CCYYMMDD
  EM_101CGString8CCYYMMDD
  EM_102CGString8CCYYMMDD
  ME_000CGString8CCYYMMDD
  IQ_101CGString8CCYYMMDD

Boat Information
Field NameLocData
Type
Field
Length
Notes
(Members)(Enh Membs).cvs
Boat NameBoatNameBoat NameBString30 
Boat TypeBoatTypeBoat TypeBString30P/S
Home PortBoatPortBoat PortBString30 
OALBoatOALOALBString6 
BeamBoatBeamBeamBString6 
DraftBoatDraftDraftBString6 
PowerBoatDraftPowerBString15 
Fuel CapBoatFuelCapFuel CapacityBString10 
SpeedBoatSpeedSpeedBString10 
RangeBoatRangeRangeBString10 
ClearanceBoatClearanceClearanceBString6 
BerthsBoatBerthsBerthsBString15 


Notes:
  1. All fields are separated by a comma (,).
  2. String values are always enclosed in double-quotes (").
  3. Field length given is maximum characters allowed for the field.
  4. Unknown, empty, or otherwise invalid strings may be the empty string, all spaces, or zero-filled.
  5. Integer values might contain leading zeros, particularly when used to represent dates.
    (This applied to months and days from 1-9.Use 01-09 to obtain the required 6 or 8 digits.)
  6. Birth and Wedding dates are entered DDMMCCYY but stored CCYYMMDD.
  7. Unknown, empty, or otherwise invalid integers are represented by 0.
    (This applies to older versions. Presently they have a NULL value.)
  8. Zip codes will require leading zeros to correctly format 5-digit and zip-plus-4 codes.
    (This applies to older versions. Presently Zip and Zip+ fields are combined.)
  9. Zip-plus-4 notation using a plus-4 of all zeros (-0000) is not valid - use the 5-digit instead.
    (This applies to older versions. Presently there is no Zip+ field.)
  10. Previous versions of DB2000 kept membership type and membership status in separate field. In the present version they are combined.
  11. Telephone is not the same field as Home Phone
    Telephone is available on the Roster screen. Home Phone is on the Comm screen. However, an entry in either field will fill both fields. Phone numbers are entered AAAEEENNNN with no spaces. Punctuation is displayed by the program
  12. Tag - this field is set to FALSE unless the record is tagged
  13. BDUChange - this field is set to FALSE unless the record has been changed
  14. Mem_ID - This field is internally generated/maintained and is of no use for queries or displays. It simply refers to the record order in the table.
The list maintained on the National web site is quite incomplete, obsolete and inaccurate. After months of requesting this page be updated and sending updated pages, nothing has been done.


Hidden fields displayed in the Members Query
Field Name Data
Type
Field
Length
Notes
(Members) (Enh Membs)
Displayed
on Roster
screen if
Dual Address
option
is used
SB_AddressString30Snow Bird
Fields
SB_Address2String30
SB_CityString30
SB_StateString2
SB_ZIPString10
SB_FaxString12
SB_PhoneString12
SB_BusPhoneString12
SB_BusExtString5
SB_BusOKString1
SB_EmailString40
SB_StatusT/F1
SB_WhereString1
SB_CellPhoneString12
BDUChangesee note13
 OtherMemberPossible Affiliation
option

© 2003 DWS Marketing & Consulting.   All Rights Reserved.