Next: , Previous: , Up: System and Portable File IO   [Contents][Index]


9.8 SYSFILE INFO

SYSFILE INFO FILE=’file_name’ [ENCODING=’encoding’].

SYSFILE INFO reads the dictionary in a system file and displays the information in its dictionary.

Specify a file name or file handle. SYSFILE INFO reads that file as a system file and displays information on its dictionary.

PSPP tries to automatically detect the encoding of string data in the file. Sometimes, however, this does not work well, especially for files written by old versions of SPSS or PSPP. Specify the ENCODING subcommand with an IANA character set name as its string argument to override the default, or specify ENCODING='DETECT' to analyze and report possibly valid encodings for the system file. The ENCODING subcommand is a PSPP extension.

SYSFILE INFO does not affect the current active dataset.