Previous Page | Next Page

The CIMPORT Procedure

Example 2: Importing Individual Catalog Entries


Procedure features:

PROC CIMPORT statement options:

INFILE=

SELECT statement


This example shows how to use PROC CIMPORT to import the individual catalog entries LOAN.PMENU and LOAN.SCL from the transport file TRANS2, which was created from a single SAS catalog.


Program

 Note about code
libname newlib 'SAS-data-library';
filename trans2 'transport-file'
                 host-option(s)-for-file-characteristics;
 Note about code
proc cimport catalog=newlib.finance infile=trans2;
   select loan.pmenu loan.scl;
run;

SAS Log

NOTE: Proc CIMPORT begins to create/update catalog NEWLIB.FINANCE
NOTE: Entry LOAN.PMENU has been imported.
NOTE: Entry LOAN.SCL has been imported.
NOTE: Total number of entries processed in catalog NEWLIB.FINANCE: 2

Previous Page | Next Page | Top of Page