SQL/MP Reference Manual
HP NonStop SQL/MP Reference Manual—523352-013
S-2
SAVE Command
SAVE Command
SAVE is an SQLCI command that saves in a file the values of one or more session 
attributes in command format. The file can be executed later with an OBEY command.
ALL
saves all the session attributes: environmental parameters, DEFINEs, user-defined 
parameters, session options, layout options, style options, current report formatting 
commands, and the most recent SELECT command.
ENV
saves the environmental attributes: SYSTEM, VOLUME, CATALOG, OUT, LOG, 
and, OUT_REPORT.
DEFINES
saves the current =_DEFAULTS DEFINE as an ALTER DEFINE command and 
saves all other current DEFINEs as ADD DEFINE commands.
{ [ PARAM ] param-name [, param-name ] ... }
{ PARAM * }
saves user-defined parameters as SET PARAM commands; param-name is the 
name of a user-defined parameter. You can specify a list of parameter names to 
SAVE {ALL }
 {ENV  }
 {DEFINES  }
 {  }
 { { [ PARAM ] param-name [, param-name ] ... } }
 { { PARAM *  } }
 {  }
 { { [ LAYOUT ] layout-opt [,layout-opt ] ... } }
 { { LAYOUT *  } }
 {  }
 { [ SESSION ] { session-opt [, session-opt ]...}}
 { {* }}
 {  }
 { { [ STYLE ] style-opt [, style-opt ] ...} }
 { { STYLE *  } }
 {  }
 { REPORT { report-cmd [, report-cmd ] ... } }
 { { *  } }
 {  }
 { COMMAND { "command-string"} }
 { { number }  }
 { { -number } }
 TO file [ ( section-name ) ] [ CLEAR ] ;










