Base SAS 9.1 Procedures Guide, Volumes 1, 2, 3 and 4

See: CIMPORT Procedure in the documentation for your operating environment.

PROC CIMPORT destination = libref < libref .> member- name < option(s) >;

PROC CIMPORT Statement

PROC CIMPORT destination = libref < libref .> member-name < option(s) >;

To do this

Use this option

Identify the input transport file

 
 

Specify a previously defined fileref or the filename of the transport file to read

INFILE=

 

Read the input transport file from a tape

TAPE

Select files to import

 
 

Exclude specified entry types from the import process

EET=

 

Specify entry types to import

ET=

Control the contents of the transport file

 
 

Import a SAS file without changing the created and modified date and time

DATECOPY

 

Specify whether to extend by 1 byte the length of short numerics (less than 8 bytes) when you import them

EXTENDSN=

 

Specify that only data sets, only catalogs, or both, be moved when a library is imported

MEMTYPE=

Enable access to a locked catalog

FORCE

Create a new catalog for the imported transport file, and delete any existing catalog with the same name

NEW

Import SAS/AF PROGRAM and SCL entries without edit capability

NOEDIT

Suppress the importing of source code for SAS/AF entries that contain compiled SCL code

NOSRC

Required Arguments

destination = libref < libref. > member-name

Options

DATECOPY

EET=( etype(s) )

ET=( etype(s) )

EXTENDSN=YES NO

FORCE

INFILE= fileref filename

MEMTYPE= mtype

NEW

NOEDIT

NOSRC

TAPE

EXCLUDE Statement

Excludes specified files or entries from the import process.

Tip: There is no limit to the number of EXCLUDE statements you can use in one invocation of PROC CIMPORT.

Interaction: You can use either EXCLUDE statements or SELECT statements in a PROC CIMPORT step, but not both.

EXCLUDE SAS file(s) catalog entry(s) </ MEMTYPE= mtype ></ ENTRYTYPE= entry-type >;

Required Arguments

SAS file(s) catalog entry(s)

Options

ENTRYTYPE= entry-type

MEMTYPE= mtype

SELECT Statement

Specifies individual files or entries to import.

Tip: There is no limit to the number of SELECT statements you can use in one invocation of PROC CIMPORT.

Interaction: You can use either EXCLUDE statements or SELECT statements in a PROC CIMPORT step, but not both.

Featured in: Example 2 on page 221

SELECT SAS file(s) catalog entry(s) </ MEMTYPE= mtype ></ ENTRYTYPE= entry-type >;

Required Arguments

SAS file(s) catalog entry(s)

Options

ENTRYTYPE= entry-type

MEMTYPE= mtype

Категории