ALTER TYPE

ALTER TYPE can be used to change the fundamental type (string or numeric) or format of variables, including changing the defined width of string variables.

ALTER TYPE varlist([input format = ] {output format    }) [varlist...]
                                     {AMIN [+ [n[%]]   } 
                                     {AHEXMIN [+ [n[%]]}
  [/PRINT {[ALTEREDTYPES**] [ALTEREDVALUES]}]
          {NONE                            }

** Default if subcommand omitted.

Release History

Release 16.0

  • Command introduced.

Example

ALTER TYPE StringDate1 to StringDate4 (Date11).
ALTER TYPE ALL (A=AMIN).