@display
MATCH FILES
- /BY var_list
/@{FILE,TABLE@}=@{*,'filename'@}
/DROP=var_list
/KEEP=var_list
/RENAME=(src_names=target_names)@dots{}
/IN=var_name
+
+ /BY var_list
/FIRST=var_name
/LAST=var_name
/MAP
The BY subcommand specifies a list of variables that are used to match
records from each of the system files. Variables specified must exist
in all the files specified on FILE and TABLE. BY should usually be
-specified. If TABLE is used then BY is required.
+specified. If TABLE or IN is used then BY is required.
Specify FILE with a system file as a file name string or file handle
(@pxref{FILE HANDLE}), or with an asterisk (@samp{*}) to
files.
Any number of FILE and TABLE subcommands may be specified. Each
-instance of FILE or TABLE can be followed by DROP, KEEP, and/or RENAME
-subcommands. These take the same form as the corresponding subcommands
-of @cmd{GET} (@pxref{GET}), and perform the same functions.
+instance of FILE or TABLE can be followed by any sequence of DROP,
+KEEP, or RENAME subcommands. These have the same form and meaning as
+the corresponding subcommands of @cmd{GET} (@pxref{GET}), but apply
+only to variables in the given file.
+
+Each FILE or TABLE may optionally be followed by an IN subcommand,
+which creates a numeric variable with the specified name and format
+F1.0. The IN variable takes value 1 in a case if the given file
+contributed a row to the merged file, 0 otherwise. The DROP, KEEP,
+and RENAME subcommands do not affect IN variables.
Variables belonging to files that are not present for the current case
are set to the system-missing value for numeric variables or spaces for
string variables.
-IN, FIRST, LAST, and MAP are currently not used.
+FIRST, LAST, and MAP are currently ignored.
@cmd{MATCH FILES} may not be specified following @cmd{TEMPORARY}
(@pxref{TEMPORARY}) if the active file is used as an input source.
/@{COMPRESSED,UNCOMPRESSED@}
/DROP=var_list
/KEEP=var_list
+ /VERSION=version
/RENAME=(src_names=target_names)@dots{}
@end display
file to
be written to a system file.
-FILE is the only required subcommand. Specify the system
+OUTFILE is the only required subcommand. Specify the system
file to be written as a string file name or a file handle (@pxref{FILE
HANDLE}).
the active file. DROP, KEEP, and RENAME only affect the system file
written to disk.
+The VERSION subcommand specifies the version of the file format. Valid
+versions are '3' and '3x'. Version 3x system files are identical to
+version 3 files, except that variable names greater than 8 bytes will
+be truncated. The default version is 3. The VERSION subcommand is
+optional. There is no need ever to use it.
+
@cmd{SAVE} causes the data to be read. It is a procedure.
@node SYSFILE INFO, XSAVE, SAVE, System and Portable Files
@display
XSAVE
- /FILE='filename'
+ /OUTFILE='filename'
/@{COMPRESSED,UNCOMPRESSED@}
/DROP=var_list
/KEEP=var_list