SAS Component Language Dictionary |
Returns the name of the current window
-
name
-
contains the four-level name of the
current window.
Type: Character
The SCREENNAME function returns the name
of the current window. For example, assume that there are two PROGRAM entries
named SURVEY and NEWMAP in a catalog named MYLIB.TESTS. When SURVEY is executing,
SCREENNAME returns MYLIB.TESTS.SURVEY.PROGRAM. When NEWMAP is executing,
SCREENNAME returns MYLIB.TESTS.NEWMAP.PROGRAM.
In the FSEDIT and FSVIEW procedures, SCREENNAME returns
the name of the SCREEN or FORMULA entry that the application is currently
using.
Display the window name on the message
line:
_msg_=screenname();
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.