| SAS Component Language Dictionary |
| Category: | Window |
| Syntax | |
| Details | |
| Example |
Syntax |
| CALL SAVESCREEN(); |
| Details |
SAVESCREEN copies the current values of all window variables in a PROGRAM entry into the user's profile for later restoration. The values are stored for recall across invocations of SAS software in a catalog entry named SASUSER.PROFILE.entry.AFPGM, where entry is the name of the SAS/AF entry whose values are saved. This is similar to the SAVE command in the SAS/AF program window.
The saved values can be reloaded either with the RECALL command in the application window, or with the AUTORECALL=YES option in the AF command that invokes the application.
SAVESCREEN is valid only for PROGRAM entries.
| Example |
Save the final contents of the fields in an application window:
TERM: call savescreen(); return;
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.