KEEP and DROP Subcommands (SAVE MODEL command)
KEEP
and DROP
allow you to save a subset of models.
By default, all currently active models are saved.
-
KEEP
specifies models to be saved in the model file. -
DROP
specifies models that are not saved in the model file. - Models can be specified by using individual model
names or the names of the procedures that created them. To use procedure
names, you must specify
COMMAND
on theTYPE
subcommand. - Model names are either the default MOD_n names or the names that are assigned
with
MODEL NAME
. - If you specify a procedure name on
KEEP
, all models that are created by that procedure are saved; onDROP
, any models created by that procedure are not included in the model file. - Model names and procedure names cannot be mixed on
a single
SAVE MODEL
command. - If more than one
KEEP
orDROP
subcommand is specified, only the last subcommand is executed. - You can specify the keyword
ALL
onKEEP
to save all models that are currently active. This setting is the default.
Example
SAVE MODEL OUTFILE='ACFCCF.DAT'
/KEEP=ACF1 ACF2.
- In this example, only models ACF1 and ACF2 are saved in model file ACFCCF.DAT.