SET SAVE
Documentation | Blog | Demos | Support
SET SAVE
5 out of 5 stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Saves the current global application settings in their current state for later use.
Syntax
SET SAVE
Comments
The SET SAVE command records the current state of all global settings, and pushes the group of settings onto a stack of previously saved settings (if any).
The SET RESTORE command pops the top group of settings off the stack, thus restoring the values saved in that group.
The global application settings saved to the stack by SET SAVE include
SET AUTORETRY | NOT APPLICABLE | SET CHECKNULLS |
SET COLUMNSPACING | SET CURSOR | SET DELIMITER |
SET DOCLINELENGTH | SET EOFVALUE | SET ERRORS |
SET ESCAPECHAR | SET HEADINGS | SET INFORMATION |
SET INPUT FORMAT | SET INPUT TIMEOUT | SET MEMBERCOUNT |
SET MEMBERINTERVAL | SET MESSAGES | SET MESSAGES WINDOW |
SET MOUSE | SET NULLVALUE | SET OUTPUT |
SET OUTPUT FIELDLISTWIDTH | SET OUTPUT FORMAT | SET OUTPUT MASKFIELD |
SET OUTPUT TRIM | SET OUTPUT VIRTUALFIELD | SET PAGESIZE |
SET PAGEWIDTH | SET PAUSE | SET SPECIALSCAN |
SET STRATEGY | SET TEXTDELIMITER | SET TIMEOUT |
SET TRACE OUTPUT | SET TRANSACTION FLOW | SET WARNINGS |
The SET SAVE command does not record the state of the following settings:
SET BREAKABLE | SET CHECKSETS | SET CURRENTSET |
SET DEPENDENCY | SET EXCEPTION | SET FLOW |
SET LEXTRACE | SET QUOTING | SET RUNTIME |
SET SELECTIVITY | SET SINGLESTEP | SET SIZE |
SET STOP ERRORS | SET TRACE | SET XREF |
Example
set save
set output MyDoc
set headings off
set pause off
set pagewidth 100
set pagesize 100
list all Employees
set restore
In the preceding example, SET SAVE saves the current state of the global settings before OUTPUT, HEADINGS, PAUSE, PAGEWIDTH, and PAGESIZE are adjusted to send data to an application document. SET RESTORE then returns the settings to their previous values.
See Also
5 out of 5 stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |