SERVICE Data Set

DATA Step That Creates the SERVICE Data Set

data service;
   input @1 name $10. @12 address $17. @30 city $7.
         @38 state $2. @41 zipcode $5. @47 date mmddyy8.
         @55  workdone $15. @71 hours 4.1 /
         cartype & $25. parts;
datalines;
Bert Allen 1803 Knollton Ct. Bristol NC 29345 07012005 oil change      0.5
Jeep Cherokee 2000  18.00
Bert Allen 1803 Knollton Ct. Bristol NC 29345 01102006 replace brakes  2.0
Jeep Cherokee 2000  45.00
Bert Allen 1803 Knollton Ct. Bristol NC 29345 02202006 rotate tires    1.0
Jeep Cherokee 2000  20.00
Bert Allen 1803 Knollton Ct. Bristol NC 29345 02202006 transmission    5.5
Jeep Cherokee 2000  50.00
Bert Allen 1803 Knollton Ct. Bristol NC 29345 10192005 oil change      0.5
Ford F-150 1998  18.00
Bert Allen 1803 Knollton Ct. Bristol NC 29345 01102006 replace belts   1.5
Ford F-150 1998  0  35.00
Sara Jones 202 Stargate Dr.  Dart    NC 29445 12072005 align frontend  1.5
Chrysler Voyager 2003  20.00
Sara Jones 202 Stargate Dr.  Dart    NC 29445 12072005 rotate tires    1.0
Chrysler Voyager 2003  20.00
Joe Smith  1991 Cohansey St. New Ulm NC 29545 01192006 oil change      0.5
Ford F-150 1998  18.00
Joe Smith  1991 Cohansey St. New Ulm NC 29545 02252006 rotate tires    1.0
Ford F-150 1998  0  20.00
;;;;

Figure A.13. Partial PROC CONTENTS Output of the SERVICE Data Set
                                    The CONTENTS Procedure

        Data Set Name        WORK.SERVICE                     Observations           10
        Member Type          DATA                             Variables              10
        Engine               V9                               Indexes                0
        Created              Thu, Feb 03, 2005 04:35:48 PM    Observation Length     112
        Last Modified        Thu, Feb 03, 2005 04:35:48 PM    Deleted Observations   0
        Protection                                            Compressed             NO
        Data Set Type                                         Sorted                 NO
        Label
        Data Representation  WINDOWS_32
        Encoding             wlatin1  Western (Windows)


                          Alphabetic List of Variables and Attributes

                                  #    Variable    Type     Len

                                  2    address     Char      17
                                  9    cartype     Char      25
                                  3    city        Char       7
                                  6    date        Num        8
                                  8    hours       Num        8
                                  1    name        Char      10
                                 10    parts       Num        8
                                  4    state       Char       2
                                  7    workdone    Char      15
                                  5    zipcode     Char       5

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.190.182