Procedure features: |
PROC CPORT statement option:
|
TRANTAB statement option:
|
|
This example shows how to apply a customized translation table to the
transport file before PROC CPORT exports it. For this example, assume that
you have already created a customized translation table called TTABLE1.
|
libname source 'SAS-data-library';
filename tranfile 'transport-file'
host-option(s)-for-file-characteristics; |
|
proc cport catalog=source.formats file=tranfile;
trantab name=ttable1 type=(format);
run; |
NOTE: Proc CPORT begins to transport catalog SOURCE.FORMATS
NOTE: The catalog has 2 entries and its maximum logical record length is 104.
NOTE: Entry REVENUE.FORMAT has been transported.
NOTE: Entry DEPT.FORMATC has been transported.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.