home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / bit / listserv / sasl / 5486 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.6 KB  |  49 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!!WRESTLER,
  3. Message-ID: <9212291914.AA23207@tin.monsanto.com>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Tue, 29 Dec 1992 13:14:18 -0600
  6. Reply-To:     "Jeffery M Karp, database wrestler,
  7.               x7588" <karp@SKCLA.MONSANTO.COM>
  8. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  9. From:         "Jeffery M Karp, database wrestler,
  10.               x7588" <karp@SKCLA.MONSANTO.COM>
  11. Subject:      1/2 answer about date informats
  12. Comments: To: SAS-L@uga.cc.uga.edu@tin.monsanto.com
  13. Comments: cc: KARP@tin.monsanto.com
  14. Lines: 33
  15.  
  16. ----------------------------------------------------------------------
  17. CONTENT:  1/2 answer to question about SAS informats
  18. SUMMARY:  RTFM with an example in code of mmddyyyy
  19. REL/PLTF: 6.07 VAX VMS
  20. E-ADDR:   karp@skcla.monsanto.com
  21. NAME:     Jeffery Karp
  22. PHONE:    708 982 7588
  23. ----------------------------------------------------------------------
  24.  
  25.   I found this informat in the FM SAS language (SAS Language Version 6 First
  26. Edition, pg 653.  An example of tested usage follows:
  27.  
  28.  
  29. /* reading date format into sas for 06231984 */
  30.  
  31. data dates;
  32.         infile 'twodate.dat';
  33.         informat d1 mmddyy8.;
  34.         input d1 ;
  35. run;
  36.  
  37.  
  38. Looked but couldn't find anything on MMYY.  I did try to use the equivalent
  39. FORMAT but that didn't work.  I'm not one of the major experts on the net tho
  40. so my failure doesn't mean that you have to read them in the hardway and
  41. process the second kind of date, but that's what I would do.
  42.  
  43.  
  44.  
  45. Hope this helps,
  46.  
  47.  
  48. Jeffery
  49.