| File Format-Specific Reference for the IMPORT and EXPORT Procedures |
| JMP Files Essentials |
A JMP file is a file format that the JMP software program creates. JMP is an interactive statistics package that is available for Microsoft Windows and Macintosh. For more information about a JMP concept or term, see the JMP documentation that is packaged with your system.
A JMP file contains data that is organized in a tabular format of fields and records. Each field can contain one type of data, and each record can hold one data value for each field.
Variable names can be up to 31 characters in length. When you are reading a JMP file, any embedded blank or special character in a variable name is replaced with an underscore (_). This is noted in the log.
See Example 1: EXPORT a SAS Data Set to a JMP File .
| JMP Missing Values |
JMP supports a single missing value in all variable types other than character. When you are reading a JMP file, JMP missing value maps to SAS missing value. When you are writing a JMP file, all SAS missing values maps to the single JMP missing value.
| JMP Data Types |
Every field in a JMP file has a name and a data type. The data type indicates how much physical storage to set aside for the field and the format in which the data is stored. This list describes each data type.
| Importing and Exporting Data in JMP Files |
SAS IMPORT|EXPORT utilities provide two components for accessing JMP files.
| JMP File Formats (DBMS=JMP) |
This IMPORT| EXPORT component uses JMP file formats to access data in JMP files on Linux, UNIX, and Microsoft Windows operating platforms. It imports data from JMP files saved with any version of JMP formats. It exports data to JMP files with V5 formats. This component does not provide any additional statements; use the the IMPORT procedure and the EXPORT procedure syntax to access your JMP data. |
| PC Files Server (DBMS=PCFS) |
This IMPORT|EXPORT component uses the client server model to access data in JMP files on Microsoft Windows from Linux, UNIX, or Microsoft Windows 64-bit operating environments. This component requires running the PC Files Server on Microsoft Windows. |
| Supported Syntax by the IMPORT Procedure and the EXPORT Procedure |
When importing a JMP file, this saves value labels to the specified SAS format catalog. When importing a SAS data set to a JMP file, this writes the specified SAS format catalog to the JMP file. User-defined formats.
When importing a JMP file, this saves JMP metadata information to the specified SAS metadata set. When exporting a SAS data set to a JMP file, this writes the specified SAS metadata information to the JMP file.
| Alias: | metadata |
This example exports a SAS data set named SDF.CUSTOMER to a JMP file named customer.jmp on a local system.
LIBNAME SDF V9 "&sasdir"; PROC EXPORT DATA=SDF.CUSTOMER FILE="&tmpdir.customer.jmp" DBMS=JMP REPLACE; RUN;
This example imports a SAS data set named CUSTOMER from a JMP file named customer.jmp on a local system.
PROC IMPORT OUT=WORK.CUSTOMER FILE="&jmpdir.customer.jmp" DBMS=JMP REPLACE; RUN;
This example exports a SAS data set named SDF.CUSTOMER to a JMP file named customer.jmp. Note that SAS is running on the UNIX operating platform and the JMP file is loaded on Microsoft Windows where a PC Files Server is running.
LIBNAME SDF V9 "&sasdir"; PROC EXPORT DATA=SDF.CUSTOMER FILE="&cstmpdir.customer.jmp" DBMS=PCFS REPLACE; SERVER=&server; PORT=8621; RUN;
This example imports data from a JMP file named customer.jmp to a SAS data set named CUSTOMER. Note that SAS is running on a UNIX platform and the JMP file is located on Microsoft Windows where a PC Files Server is running.
PROC IMPORT OUT= WORK.CUSTOMER FILE="&csjmpdir.customer.jmp" DBMS=PCFS REPLACE; SERVER=&server; PORT=8621; RUN;
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.