Chapter Contents

Previous

Next
The CPORT Procedure

TRANTAB Statement


Specifies translation tables for characters in catalog entries you export.

Tip: You can specify only one table for each TRANTAB statement, but there is no limit to the number of TRANTAB statements you can use in one invocation of PROC CPORT.
Featured in: Applying a Translation Table .
See also: The TRANTAB Procedure


TRANTAB NAME=translation-table-name
<option(s)>;


Required Arguments

NAME=translation-table-name
specifies the name of the translation table to apply to the character data in the SAS file you export. The translation-table-name is the name of a catalog entry in either the SASUSER.PROFILE catalog or the SASHELP.HOST catalog. PROC CPORT prints an error message in the SAS log if it cannot find the translation table.

Note:   The translation takes place before PROC CPORT writes to the transport file.  [cautionend]


Options

OPT=
specifies how to apply the translation table. Use one of the following values for the OPT= option:

DISP
applies the translation table to all the DISPLAY window text.

SRC
applies the translation table to all the SCL text.

(DISP SRC)
applies the translation table to all the DISPLAY window text and SOURCE window text.

Default: PROC CPORT applies all options to the specified translation table.

TYPE=(target-list)
applies the translation table only to the specified targets. If the target-list is a single target, then you can omit the parentheses. The target-list can be one of the following types:

etype-list
applies the translation table only to the entries with the catalog entry type you specify.

CATDESC
applies the translation table to the description of each exported catalog entry.

DATASET
applies the translation table to the observations, the data set label, and the variable labels in each exported data set.

Default: PROC CPORT applies the translation table to all entries and data sets in the specified catalog.
Featured in: Applying a Translation Table .


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.