Date: Tue, 18 Nov 2003 23:08:33 -0500
Reply-To: "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Subject: Re: Interactively using %include
"Ramesh" <ramesh.govindarajulu@nhtsa.dot.gov> wrote in message
news:f957f124.0311181405.8bb1d0a@posting.google.com...
> Hi all,
>
> I was trying to use the %include statement in the interactive or
keyboard-entry
> mode. I am actually trying to get some input from the user thru the
terminal.
> I read the SAS language reference manual and tried using the sample
program
> listed. But everytime I ran the program my session stalled. Could someone
give
> me a simple example of using %include to get inputs from the user
interactively
> during run time. If there are other methods I will be happy to know them
too.
>
> thanks and regards,
> Ramesh.
I've never used command mode myself.
What operating system?
Which sample ?
What kind of inputs ?
Describe stalled... does the window title bar indicate something is running
? Is the mouse and keyboard unresponsive ?
There are many ways to allow users to add their input. Here are some:
macro - %window / %display
data step - window / display
proc fsview - enter 'data' in tabluar manner
proc fsedit - enter 'data' in single record manner
dm 'vt dataset' - use view table to 'enter data'
SAS/AF - sophisticated gui way to get inputs via all manner of controls
The nature of the input and level of error checking is one factor in
choosing which interactive technique to use.
--
Richard A. DeVenezia
http://www.devenezia.com/downloads/sas/macros