Chapter Contents

Previous

Next
SAS/FSP Software Procedures Guide

Procedure Environment Commands

DEBUG <ON | OFF>
turns the SAS Component Language source-level debugger on or off. If you use the DEBUG command without an argument, the debugger is turned on. You cannot turn the debugger off while a debugger command is active.

The SCL debugger is a tool for identifying and correcting problems in SAS Component Language programs and FSVIEW formulas. Refer to SAS Component Language: Reference for information on using the SCL debugger.

MSG
opens the LOG window or makes the LOG window the active window if it is already open. Error and warning messages that are generated by the procedures in SAS/FSP software are written to the LOG window.

SETCR <STAY | HTAB | VTAB | NEWL | CMPDN RET | NORET MOD | NOMOD>
defines the behavior of the ENTER key. You can use the command without arguments to report the current settings. If you specify arguments, you must supply one from each of the following three groups:

Cursor Movement
determines the behavior of the cursor when the ENTER key is pressed.
STAY The cursor does not move.
HTAB The cursor moves to the next unprotected field on the current line. If there are no more unprotected fields on the current line, the cursor moves to the first unprotected field on a line below the current field.
VTAB The cursor moves to the next unprotected field below the current field.
NEWL The cursor moves to the first unprotected field on a line below the current line.
CMPDN The cursor moves to the command line.

Control Passing
determines whether control passes to the application when the ENTER key is pressed.
RET Control returns to the application.
NORET Control does not return to the application.

Field Modification
determines whether a field is marked as modified when the ENTER key is pressed while the cursor is on the field, even if the field value has not been changed.
MOD The field is marked as modified.
NOMOD The field is not marked as modified unless the field value is changed.

SETHELP <libref.catalog-name.>entry-name<.entry.type>
identifies the source of Help information for the current window. When you issue the HELP command in a window, the SAS System opens a HELP window and displays information from a catalog entry of type HELP or CBT. The SETHELP command assigns a particular HELP or CBT entry to the current window.

If you omit the libref and catalog-name arguments, the procedure looks for the specified entry first in the current catalog (if a catalog is currently open), then in your personal PROFILE catalog (SASUSER.PROFILE or WORK.PROFILE), and finally in the system catalog SASHELP.FSP. The entry-type value can be either CBT or HELP. If you omit the type, the procedure looks for an entry of type CBT.

You can use the BUILD procedure in SAS/AF software to create custom Help entries for SAS/FSP windows. You can create either HELP or CBT entries, depending on the level of interactivity you want to provide. HELP entries provide only text. CBT entries can provide more sophisticated assistance, including topic selection lists and nested windows. Refer to SAS/AF Software Procedure Guide for more information on creating HELP and CBT entries.

SETPMENU <libref.catalog-name.>menu-name
identifies the source of menu definitions for the current window. Characteristics of menu bars and pull-down menus are stored in catalog entries of type PMENU. The SETPMENU command associates a particular PMENU entry with the current window.

If you omit the libref and catalog-name arguments, the procedure looks for the PMENU entry first in the current catalog (if a catalog is currently open), then in your personal PROFILE catalog (SASUSER.PROFILE or WORK.PROFILE), and finally in the system catalog SASHELP.FSP.

You can use the PMENU procedure in base SAS software to create custom menu bars and pull-down menus for SAS/FSP windows. Refer to SAS Procedures Guide for more information about the PMENU procedure.

The SETPMENU name only associates a PMENU entry with the current window. It does not turn on menus if they are not currently active. Use the PMENU ON command to turn on menus for all SAS System windows, or use the COMMAND command to replace the command line of the current window with a menu bar.

SETWDATA data-text
specifies additional text to display on the window's title bar following the window title and separated from the title by a dash (-).

SETWNAME title-text
specifies a custom title for the current window.

SHOWTYPE <entry-type | ALL>
selects the type of catalog entry that is listed in catalog directories. By default, catalog directories list all entries in the current catalog. You can use the SHOWTYPE command to show only one type of entry in the listing.

Use the SHOWTYPE ALL command to restore the default behavior. To display the currently selected type on the window's message line, use the SHOWTYPE command without arguments.

TYPE <entry-type>
specifies the entry type that the procedure assumes when the type is not explicitly specified in a command. Each procedure that uses catalog entries has a different default type. You can use the TYPE command to change the default type to suit your needs.

To a display the current default type on the window's message line, use the TYPE command without arguments.

WSIZE
displays the size and position specifications of the current window. You can use the WSIZE command to determine the current window specifications before you execute a WDEF or WREGION command.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.