home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / bit / listserv / sasl / 5005 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.6 KB  |  42 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!stanford.edu!bcm!convex!darwin.sura.net!paladin.american.edu!auvm!NIHCU.BITNET!HIS
  3. Message-ID: <SAS-L%92111016104692@UGA.CC.UGA.EDU>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Tue, 10 Nov 1992 16:09:52 EST
  6. Reply-To:     Howard Schreier <HIS@NIHCU.BITNET>
  7. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. From:         Howard Schreier <HIS@NIHCU.BITNET>
  9. Subject:      VIEWs & RENAMEs
  10. Lines: 30
  11.  
  12. CONTENT:  Question/Comment
  13. SUMMARY:  Problem with DATA step VIEWs and RENAMEs
  14. REL/PLTF: 6.07 MVS
  15.  
  16. I encounter some strange results involving  the  interaction
  17. of KEEPs and RENAMEs pertaining to a DATA step VIEW.  Here I
  18. create a view which should return one  observation  and  one
  19. variable:
  20.  
  21. 12            data view (keep = newname) / view=view;
  22. 13            rename oldname = newname;
  23. 14            oldname = 1;
  24. NOTE: DATA STEP view saved on file WORK.VIEW.
  25. NOTE: The DATA statement used 0.01 CPU seconds and 3575K.
  26.  
  27. But when I try to print it, nothing is there:
  28.  
  29. 15            proc print;
  30. NOTE: No variables in data set WORK.VIEW.
  31.  
  32. I get the expected results if I leave off the VIEW option or
  33. if  I  use  a  KEEP statement (KEEP OLDNAME;) instead of the
  34. KEEP data set option.
  35.  
  36. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  37. \   Howard Schreier, U.S. Dept. of Commerce, Washington    /
  38. /                     MVS 5.18 & 6.07                      \
  39. \   Voice: (202) 377-4180        BITNET: HIS@NIHCU         /
  40. /   Fax:   (202) 377-4614      INTERNET: HIS@CU.NIH.GOV    \
  41. \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
  42.