Previous Page | Next Page

The CPORT Procedure

Example 5: Exporting Entries Based on Modification Date


Procedure features:

PROC CPORT statement options:

AFTER=

FILE=


This example shows how to use PROC CPORT to transport only the catalog entries with modification dates equal to or later than the date you specify in the AFTER= option.


Program

 Note about code
libname source 'SAS-data-library';
filename tranfile 'transport-file'
                   host-option(s)-for-file-characteristics;
 Note about code
proc cport catalog=source.finance file=tranfile
           after='09sep1996'd;
run;

SAS Log

 Note about figure
NOTE: Proc CPORT begins to transport catalog SOURCE.FINANCE
NOTE: The catalog has 5 entries and its maximum logical record length is 866.
NOTE: Entry LOAN.FRAME has been transported.
NOTE: Entry LOAN.HELP has been transported.

Previous Page | Next Page | Top of Page