ALTER TYPE
Converts variables between numeric and string types or changes string width, reporting any values that cannot be converted.
Syntax
Section titled “Syntax”ALTER TYPE varlist (A20|F8.2|…) [/ varlist (…)].Synopsis
Section titled “Synopsis”| Kind | Data management |
| Body | repeated groups separated by / |
| Changes data | yes, undoable |
Examples
Section titled “Examples”ALTER TYPE zip (A5).ALTER TYPE code (F4.0).- Values that do not convert become system-missing (numeric) or are truncated (string); the number affected is reported.
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.