home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / c / codebk11.zip / TESTDATA.COD < prev    next >
Text File  |  1990-12-21  |  3KB  |  44 lines

  1. Example codebook TESTDATA.COD for TESTDATA.DAT        Field descriptions:
  2. Quoting|MissingValue|BeginColumn|EndColumn|FieldWidth|VariableName|Comment
  3. pos.1! |pos.>1 opt. ,required   ,required ,optional  ,optional    ,optional
  4. space'"|any text/num,pos.int.   ,pos.int. ,integer   ,no sp/comma ,free text
  5.  
  6.  -9,1,2,2,A_Number with some meaning
  7.  -1,3,4,2,Another_Nr,with whatever meaning
  8.  unknown,11 16 6 THIRD_NR, this is the third variable
  9.  9,17 17 1 NumberFour ─────────────────────────────────┐
  10. │                    │  1=meaning of value 1           │
  11. │ These lines are    │  2=   "    "    "   2           │
  12. │ comment lines and  │  3=   "    "    "   3           │
  13. │ are NOT interpre-  │  4=   "    "    "   4           │
  14. │ ted by CODEBOOK,   │  5=   "    "    "   5           │
  15. │ but may be used    │  6=   "    "    "   6           │
  16. │ for the user's     │  7=   "    "    "   7           │
  17. │ own purpose        │  8=   "    "    "   8           │
  18. │                    │  9=   "    "    "   9           │
  19. └────────────────────┴─────────────────────────────────┘
  20. ""not known",18,32,0,Address street & house number, discriminated below
  21.  ,18 29 0 Street
  22.  ???,30 32 3 HouseNr
  23.  ,33,41,0,Residence,name of place
  24.  ***,8,10,3,
  25.     MisVal   , 5, 7, 3, Col5to7, I don't know the meaning of this variable.
  26.     "MisV"   , 1, 4, 4, Col1to4, these columns are already read by the first two variables, but may be reread unlimitedly.
  27.  MissingValue, 1 10 10  Col1to10 being another variable example thought of.
  28.  
  29. Variable Names as well as Missing Values in Fixed Formatted and Report Type
  30. output files always are right justified within the fields. If there is not
  31. enough space to print the whole name or value the leftmost characters are
  32. removed.
  33. Note that in the examples above both the Variable Name and the Missing Value
  34. may actually be wider than the field width for the variable. The whole name or
  35. value is converted into Blank or Comma delimited files and to Report files in
  36. which there is enough space between the variables to print the extra characters.
  37.  
  38. Centrum voor Medische Informatica TNO       <Email>              |  |  |\/|
  39. TNO Center for Medical Informatics | GROENEVELD@CMI.TNO.NL  |  \_/  |  |  |
  40. ( CMI-TNO )    | Y. Groeneveld     | GROENEVELD@CMIHP1.UUCP | Jim Groeneveld
  41. P.O.Box 124    | Wassenaarseweg 56 | GROENEVELD@TNO.NL      | Schoolweg 14
  42. 2300 AC Leiden | 2333 AL Leiden    | ...@HDETNO51.BITNET    | 8071 BC Nunspeet
  43. Nederland.     | (+31|0)71-181810  | Fax (+31|0)71-176382   | 03412-60413
  44.