27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MULTIPUNCH Column binary file.<br />

IMAGE Binary file consisting of fixed-length records.<br />

360 EBCDIC data file.<br />

Example<br />

FILE HANDLE 565<br />

FILE HANDLE ELE48 /NAME=’OSPS:[SPSSUSER]ELE48.DAT’ /MODE=MULTIPUNCH.<br />

DATA LIST FILE=ELE48.<br />

• FILE HANDLE defines ELE48 as the handle for the file.<br />

• The MODE subcommand indicates that the file contains multipunch data.<br />

• The file specification on NAME conforms to VMS convention: the file ELE48.DAT is<br />

located in the directory OSPS:[SPSSUSER].<br />

• The FILE subcommand on DATA LIST refers to the handle defined on the FILE HANDLE<br />

command.<br />

RECFORM Subcommand<br />

RECFORM specifies the record format and is necessary when you specify 360 on MODE.<br />

RECFORM has no effect with other specifications on MODE.<br />

FIXED Fixed-length record. All records have the same length. Alias F. When FIXED<br />

is specified, the record length must be specified on the LRECL subcommand.<br />

VARIABLE Variable-length record. No logical record is larger than one physical block.<br />

Alias V.<br />

SPANNED Spanned record. Records may be larger than fixed-length physical blocks.<br />

Alias VS.<br />

LRECL Subcommand<br />

LRECL specifies the length of each record in the file. When you specify IMAGE under UNIX,<br />

OS/2, or Microsoft Windows, or 360 for IBM360 EBCDIC data files, you must specify<br />

LRECL. You can specify a record length greater than the default (8192) for an image file, a<br />

character file, or a binary file. Do not use LRECL with MULTIPUNCH.<br />

Example<br />

FILE HANDLE TRGT1 /NAME=’OSPS:RGT.DAT’<br />

/MODE=IMAGE LRECL=16.<br />

DATA LIST FILE=TRGT1.<br />

• IMAGE is specified on the MODE subcommand. Subcommand LRECL must be specified.<br />

• The file handle is used on the DATA LIST command.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!