Chapter Contents

Previous

Next
The TRANTAB Procedure

Procedure Syntax


Tip: Supports RUN-group processing

PROC TRANTAB TABLE=table-name <NLS>;
CLEAR <ONE|TWO|BOTH>;
INVERSE;
LIST <ONE|TWO|BOTH>;
LOAD TABLE=table-name <NLS>;
REPLACE position value-1<...value-n>;
SAVE <TABLE=table-name> <ONE|TWO|BOTH>;
SWAP;

To do this Use this statement
Set all positions in the translation table to zero CLEAR
Create an inverse of table one INVERSE
Display a translation table in hexadecimal representation LIST
Load a translation table into memory for editing LOAD
Replace the characters in a translation table with specified values REPLACE
Save the translation table in your SASUSER.PROFILE catalog SAVE
Exchange table one with table two SWAP

Note:   

PROC TRANTAB is an interactive procedure. Once you submit a PROC TRANTAB statement, you can continue to enter and execute statements without repeating the PROC TRANTAB statement. To terminate the procedure, submit a QUIT statement or submit another DATA or PROC statement.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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