Date: Wed, 10 Apr 2002 15:54:58 +0100
Reply-To: Peter Crawford <peter.crawford@DB.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Peter Crawford <peter.crawford@DB.COM>
Subject: Re: (MAR) RE: Newbie questions
Content-type: text/plain; charset=iso-8859-1
Hi Mike
If you miss the syntax coloring provided by winXX sas enhanced editor
issue command syncolor in the program editor (or any other editor)
You should get color support for invalid keywords, broken quoted strings,
plus many other features
these may be discovered and configured via the synconfig command
dialog
There are many other features in the enhanced editor
that have not yet made it to the regular editors, but
just highlighting unbalanced quotes and comment blocks
is a very major step in the right direction.
I recommend it to you
Kind Regards
Peter Crawford
Datum: 10.04.2002 15:11
An: SAS-L@LISTSERV.UGA.EDU
Antwort an: Michael Raithel <RAITHEM@WESTAT.COM>
Betreff: (MAR) RE: Newbie questions
Nachrichtentext:
Dear SAS-L-ers,
Rich posted the following questions:
>Hi, I am a newbie to running SAS under UNIX. Jut have a couple of
>simple questions ( I think).
>
>1. How to submit part of the program to run, say line 6 to line 10?
>2. Why the whole program disappeared after I submit the program? And I
>had to use "Recall Last Submit" to get them back.
Rich welcome aboard; isn't Unix a gas?!?!? As you have found out, there
_ARE_ some differences with the behavior of the SAS Display Manager under
Unix, as opposed to Windows. But, a after a little bit of playing around
will not even notice them. Here is my take on your questions.
1. Position your cursor to line 6. Click on EDIT on the top Menu Bar, and
then click on SELECT. With your cursor or keys, highlight lines 6 through
10. Click on EDIT on the top Menu Bar (again) and this time select COPY.
Now simply click on RUN on the top Menu Bar and then click on SUBMIT
CLIPBOARD. You are then good-to-go, your selected lines have been
submitted! (You will also see the SUBMIT N LINES option in the RUN
drop-down menu. This might also be of help to you).
2. This is a question for the SAS Institute's "SAS in the Unix Environment"
development team. Unfortunately, it is the default behavior on Unix, which
has a "Program Editor", but not an "Enhanced Editor" like Windows. (We are,
of course, talking about SAS 8.2 on Unix and on Windows). I find it helpful
to have a PF key coded to recall my program in the Program Editor window.
So, I have PF12 coded this way: clear log;clear output;program;recall; Once
I have perused my SAS Output window (because I never make programming
mistakes, I never need to peruse the SAS Log), I simply hit PF12 to get my
program back.
Rich, best of luck to you as you get your SAS applications up and running in
that trickiest of operating environments that we call: Unix!
I hope that this suggestion proves helpful now, and in the future!
Of course, all of these opinions and insights are my own, and do not reflect
those of my organization or my associates. All SAS code and/or
methodologies specified in this posting are for illustrative purposes only
and no warranty is stated or implied as to their accuracy or applicability.
People deciding to use information in this posting do so at their own risk.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Michael A. Raithel
"The man who wrote the book on performance"
E-mail: MichaelRaithel@westat.com
Author: Tuning SAS Applications in the MVS Environment
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...you made the wine, now you drink the cup... - Electric Light Orchestra
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.