home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / statl / 2413 next >
Encoding:
Text File  |  1993-01-21  |  1.3 KB  |  42 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!FREUD.SBS.UTAH.EDU!SOCHX
  3. X-Envelope-to: STAT-L@MCGILL1.BITNET
  4. Receipt:  Return Receipt requested.
  5. XGW-Version: IMail SMTP Gateway v1.54 1/16/92
  6. XGW-To:   STAT-L@MCGILL1.BITNET
  7. Message-ID: <B396E8624C014A1D@CC.UTAH.EDU>
  8. Newsgroups: bit.listserv.stat-l
  9. Date:         Thu, 21 Jan 1993 01:25:00 MST
  10. Sender:       STATISTICAL CONSULTING <STAT-L@MCGILL1.BITNET>
  11. From:         Haiyi Xie <SOCHX@FREUD.SBS.UTAH.EDU>
  12. Subject:      How to skip variables in SAS
  13. Lines: 27
  14.  
  15. HI all,
  16.  
  17. For the following SAS file, is there any thort cut for me to skip some
  18. variables (e.g. I just want to read pop71 pop75-pop77 and pop85).
  19.  
  20. ++++++++++++++++++++++++++++++++++++
  21.  
  22.   data class;
  23.    INFILE soc631.dat lrecl=320;
  24.    INPUT  #1   CNAM1  $26.
  25.           #2    (POP70-POP85)     (16*20.)
  26.           #3    (GNP70-GNP85)     (16*20.)
  27.           #4    (GDP70-GDP85)     (16*20.)
  28.           #5    (EXP70-EXP85)     (16*20.)
  29.           #6    (IMP70-IMP85)     (16*20.)
  30.           #7    (GGC70-GGC85)     (16*20.)
  31.           #8    (TTI70-TTI85)     (16*20.)
  32.           #9    (LTI70-LTI85)     (16*20.)
  33.           #10   (CAB70-CAB85)     (16*20.)
  34.           #11   (FDI70-FDI85)     (16*20.)
  35.           #12   (IMR70-IMR85)     (16*20.)
  36. ++++++++++++++++++++++++++++++++++++++++++++++++++++
  37.  
  38. Many thanks
  39.  
  40. H. Y. Xie
  41. (801) 581-7922
  42.