Save aspects of the current state to a command file.
XSPEC> save <option> <filename>
If no <file name> is given, then the file savexspec.xcm is created. If you don't give the extension to the file name the default is .xcm. The values of <option> allowed are model, files and all. The model option writes out commands to recreate the current model and parameter values, the files option writes out commands to read-in the current data sets, and the all option does both of the above. The default option is model. To recover the saved context use the command source filename.