Date: Mon, 14 May 2007 10:13:09 -0700
Reply-To: "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Subject: Re: Simple user input window example?
In-Reply-To: A<267252DC5C00DE49A1789984F6BB74A70106CC2A@JHMS20.phibred.com>
Content-Type: text/plain; charset="us-ascii"
Hi Steve,
SAS A/F is one avenue, there is an alternative
for popup messages and/or building a form to ask
for several fields which you can then act upon.
There are datastep and macro versions of
WINDOW and DISPLAY, %WINDOW and %DISPLAY.
Check our archives, here are few samples:
http://listserv.uga.edu/cgi-bin/wa?A2=ind0111C&L=sas-l&P=R1555
http://listserv.uga.edu/cgi-bin/wa?A2=ind0307C&L=sas-l&P=R25498
http://listserv.uga.edu/cgi-bin/wa?A2=ind0507A&L=sas-l&P=R1066
Hope this is helpful.
Mark Terjeson
Senior Programmer Analyst, IM&R
Russell Investment Group
Russell
Global Leaders in Multi-Manager Investing
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Wall, Steven
Sent: Monday, May 14, 2007 9:47 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Simple user input window example?
SAS-L:
Let's say I have two datasets ONE and TWO. Both contain a variable
named ENV with multiple levels like NORTH SOUTH EAST and WEST (and NW,
SW, etc). How can I use SAS/AF to create a simple user input window
that would have two drop-down selection lists, one for each dataset,
that would just show all the unique levels of ENV and allow the user to
select one from each dataset. Those selections would then be passed on
to the rest of the code.
Seems like this wouldn't be difficult, but I don't know AF at all and I
can't seem to find a good example to hack from. Can anybody send me a
quick example that might work?
Thanks.
Steve
(Using PC-SAS V9.1.3 and Windows XP)
This communication is for use by the intended recipient and contains
information that may be Privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender by
return e-mail and delete this e-mail from your system. Unless explicitly
and conspicuously designated as "E-Contract Intended", this e-mail does
not constitute a contract offer, a contract amendment, or an acceptance
of a contract offer. This e-mail does not constitute a consent to the
use of sender's contact information for direct marketing purposes or for
transfers of data to third parties.
Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean
http://www.DuPont.com/corp/email_disclaimer.html