Usage Note 24450: Removing the command line from a SAS/AF® Frame entry
The technique you use to prevent the command line from displaying in a SAS/AF Frame entry depends on your SAS environment. If you are executing SAS in the Microsoft Windows environment and the status bar is displayed, you must set the bannerType attribute for _FRAME_ to "None". If you are executing SAS in the UNIX environment or in the Microsoft Windows environment and the status bar is not displayed, you must turn pmenus on and hide the command line through a pmenu.
To remove the command line through the bannerType attribute, you can set this attribute in the Properties window or programmatically.
To set the bannerType attribute in the Properties window, follow these steps:
- Open your Frame entry with PROC BUILD
- Right-click in the Frame entry and select "Properties" from the pop-up menu
- In the tree view pane on the left, perform these tasks:
- Expand the node for _FRAME_
- Expand the node labeled Attributes
- Select the node labeled Appearance
- In the table on the right, assign the value "NONE" to the
bannerType attribute.
To set the bannerType attribute programmatically, execute the following statement in the INIT section of the Frame's SCL entry:
_frame_.bannerType='none';
|
To hide the command line through a pmenu, you must have pmenus turned on and a pmenu you want to display. To turn pmenus on, you can either execute the PMENU ON command via the CALL EXECCMDI routine in SAS Component Language (SCL) or set the forcePmenuOn attribute for _FRAME_ to "Yes". If you prefer to use a pmenu that does not display any buttons, you can create one with the following PROC PMENU code:
proc pmenu catalog=sasuser.mypmenus;
menu nobuttons;
item '' selection=blank;
selection blank '';
run;
quit;
|
Operating System and Release Information
| SAS System | SAS/AF | OS/2 | 8.1 TS1M0 | |
| Microsoft Windows 95/98 | 8.1 TS1M0 | |
| Microsoft Windows 2000 Advanced Server | 8.1 TS1M0 | |
| Microsoft Windows 2000 Datacenter Server | 8.1 TS1M0 | |
| Microsoft Windows 2000 Server | 8.1 TS1M0 | |
| Microsoft Windows 2000 Professional | 8.1 TS1M0 | |
| Microsoft Windows NT Workstation | 8.1 TS1M0 | |
| Microsoft Windows XP Professional | 8.1 TS1M0 | |
| Windows Millennium Edition (Me) | 8.1 TS1M0 | |
| ABI+ for Intel Architecture | 8.1 TS1M0 | |
| AIX | 8.1 TS1M0 | |
| HP-UX | 8.1 TS1M0 | |
| IRIX | 8.1 TS1M0 | |
| OpenVMS Alpha | 8.1 TS1M0 | |
| Solaris | 8.1 TS1M0 | |
| Tru64 UNIX | 8.1 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> SCL (SAS Component Language)
|
| Date Modified: | 2009-06-25 15:30:46 |
| Date Created: | 2005-10-27 14:06:42 |