home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / bit / listserv / sasl / 3831 < prev    next >
Encoding:
Text File  |  1992-08-20  |  4.1 KB  |  91 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!uvaarpa!darwin.sura.net!paladin.american.edu!auvm!ESPRESSO.BOEING.COM!OLDENKMP
  3. Message-ID: <9208210046.AA03144@espresso.bcs.eca>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Thu, 20 Aug 1992 17:46:48 PDT
  6. Reply-To:     "P. Oldenkamp 5-4481" <oldenkmp@ESPRESSO.BOEING.COM>
  7. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. From:         "P. Oldenkamp 5-4481" <oldenkmp@ESPRESSO.BOEING.COM>
  9. Subject:      Re: Help needed: positions of windows and looping
  10. Comments: To: SAS-L@uga.cc.uga.edu, ggu@CHPC.ORG
  11. Lines: 78
  12.  
  13. ----------------------------------------------------------------------
  14. CONTENT:  Reply
  15. REL/PLTF: 6.07.02/SunOS
  16. E-ADDR:   oldenkmp@ESPRESSO.boeing.com
  17. NAME:     Paul OldenKamp
  18. PHONE:    206-865-4481
  19. ----------------------------------------------------------------------
  20. Gary G. Gu posted:
  21.  
  22. > My friend thought I'm a programmer so I ought to be able to fix her
  23. > SAS problems. I failed and I'm turning to the net for help.
  24. >
  25. > 1. How do I control the positions of the windows under X. I'm using a
  26. > DEC 3100 running Motif window manager. I've tried using SAS global
  27. > command `wsave all', but when I start SAS from scratch, the windows
  28. > still showed up in random places (well, places Mwm generated). Why can't
  29. > I use the .Xdefault resource file to inform SAS my preference? What
  30. > are the names of the resources? SAS technical people, please help.
  31. >
  32.  
  33. I thought I had a quick and easy answer for Gary this morning but it turns
  34. out that the answer I posted and that Bob Snyder had gotten from tech
  35. support doesn't work for him.  I would like to know myself if there is something
  36. different that one has to do on a DEC that I have don't have to do under
  37. SunOS to save window information and it seems like someone who actually
  38. does this on a DEC needs to respond.
  39.  
  40. > 2. My limited experience using SAS in helping my friend tells me that
  41. > IF-THEN and GOTO statements work only inside the DATA step. How do I
  42. > control the execution of procedures? For example, how do I ask SAS
  43. > to execute:
  44. >   proc print;
  45. > a number of times? I'd like to say:
  46. >    do i=1 to 10;
  47. >      proc print;
  48. >      run;
  49. >    end;
  50. > I'm spoiled with a general programming langauge like C or Lisp where
  51. > the programmer has a lot of control. SAS seems to offer very limited
  52. > control structures. I hope I'm wrong.
  53. >
  54. The way to control the execution of PROC's is with the SAS Macro Language.
  55. Unfortunatly, it is a whole computer language of its own that is only
  56. somewhat related to the SAS Data Step syntex and it is quite an effort
  57. to learn the Macro Language.
  58.  
  59. > 3. How do I send a variable to a title? I need to have to title to
  60. > say "this is histogram 1" and next time "this is histogram 2". It
  61. > seems there is no way to make title take a variable.
  62. >
  63. The only way to do this before the new version 6.07 came out was again
  64. with the Macro Language.  Now one can use the #byval for some types of
  65. this substitution.  RTFM in Tech. Rep. P-222, "Changes and Enhancements to
  66. Base SAS Software", pp 44-45.
  67.  
  68. > 4. Is there a FAQ for this group that I can get on the net? I am afraid
  69. > that since I'm new to SAS, I must be asking questions people have asked
  70. > years ago. I'd save you a lot of time if I can consult the FAQ file first.
  71. >
  72. I'm unfamiliar with 'FAQ' but I think you are asking about the SAS-L Archives.
  73. Perhaps someone has an on-line copy of the instructions they could send you
  74. or tell you how to get the information on accessing it.  You will find the
  75. archives very useful but don't worry about posting questions that have appeared
  76. before because the answers keep changing ;-) as time goes on.
  77.  
  78. > Thank you and your help will be greatly appreciated.
  79. >
  80.  
  81. ----------------------------------------------------------------------
  82.            //  Paul OldenKamp
  83.           //   BCS Research and Technology          .
  84.          //    P. O. Box 24346, MS 7L-21            |\
  85.         //     Seattle, WA   98124-0346             | \____oo_
  86.        //==========================================((__|  /___>
  87.       //       ___ ___ ___ ___     __                  | //
  88.      //       /__//  //__  /  /\ //  _                 |//
  89.     //       /__//__//__ _/_ /  //__/                  ''
  90.        //
  91.