Chapter Contents |
Previous |
Next |
The TRANTAB Procedure |
Alias: | REP |
Tip: | To save edits, you must issue the SAVE statement. |
Featured in: | Creating a Translation Table , Editing by Specifying a Decimal Value for Starting Position , and Editing by Using a Quoted Character for Starting Position |
REPLACE position value-1<...value-n>; |
Required Arguments |
replace 'a' 'ABC';
This is useful when you want to locate alphabetic and numerical characters when you do not know their actual location. If the quoted character is not found, PROC TRANTAB displays an error message and ignores the statement.
To edit positions 256 through 511 (table two), follow this procedure:
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.