Chapter Contents |
Previous |
Next |
LETTER |
Category: | Utility |
Syntax | |
Details | |
Examples | |
See Also |
Syntax |
CALL LETTER(letter-entry<,open-mode<,table-name>>); |
Type: Character
'BROWSE'
'EDIT'
'PRINT'
PRINT
mode is valid only when the specified entry is a letter.'SEND'
Type: Character
Specify ''
to use the
_LAST_ table. If no _LAST_ table exists, the program halts.
You can add a list of SAS data set options following the table name. The list must be enclosed in parentheses. Valid data set options include DROP, KEEP, RENAME, WHERE, and CNTLLEV. See SAS Language Reference: Dictionary for a list of data set options and their descriptions.
Type: Character
Details |
The LETTER routine displays the FSLETTER window or sends a letter.
Note: The FSLETTER window is not displayed if a PRINT argument is used.
If the value supplied for letter-entry is a three- or four-level name, the user is returned to the calling application when the FSLETTER window is closed. If a one- or two-level name is supplied, the user is returned directly to the calling application when the SAS Explorer window is closed.
SAS data set options can be specified by enclosing them within parentheses immediately following the table-name argument, as in the following example:
call letter('my.letters.subscrib','print', 'personal(where=(name="John"))');
Examples |
call letter('my.letters.subscrib');
rc=filename ('myfile',fname); call execcmdi('prtfile myfile'); call letter('my.letters.subscrib','print','subscrib.data');
call letter('my.letters.subscrib','send','subscrib.data');
SEND
mode for the letter
SUBSCRIB accepts user
input.
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.