Previous Page | Next Page

Functions for NLS

VTRANSCODEX Function



Returns a value that indicates whether transcoding is enabled for the specified argument.
Category: Variable Information

Syntax
Arguments
Details
Comparisons
Examples
See Also

Syntax

VTRANSCODEX (var)


Arguments

var

specifies any SAS character expression that evaluates to a character variable name.

Restriction: The value of the specified expression cannot denote an array reference.

Details

The VTRANSCODEX function returns 0 if transcoding is off, and 1 if transcoding is on.

By default, all character variables in the DATA step are transcoded. You can use the TRANSCODE= attribute of the ATTRIB statement to turn transcoding off.


Comparisons


Examples

Statements Result

----+----1----+
attrib x transcode = yes;
attrib y transcode = no;
rc1 = vtranscodex('y');
put rc1=;
rc1=0


See Also

Functions:

VTRANSCODE Function

Statements:

ATTRIB in SAS Language Reference: Dictionary

Previous Page | Next Page | Top of Page