IF Subcommand (OMS command)
The IF
subcommand
specifies particular output objects of the types determined by SELECT
. Without an IF
subcommand, all objects of the specified types are
selected. If you specify multiple conditions, only those objects that
meet all conditions will be selected.
Example
OMS
/SELECT TABLES
/IF COMMANDS = ['Regression']
SUBTYPES = ['Coefficients']
/DESTINATION FORMAT = SAV
OUTFILE = '/mydir/regression_coefficients.sav'.
This OMS
command
specifies that only coefficient tables from the REGRESSION
command will be selected.