SAVE CODEPAGE
In Unicode mode, SAVE CODEPAGE
produces a data file in
the specified locale character encoding.
SAVE CODEPAGE
/OUTFILE='filespec'
[/ENCODING={LOCALE** }]
{'encoding'}
[/UNSELECTED=[{RETAIN}]
{DELETE}
[/KEEP={ALL** }] [/DROP=varlist]
{varlist}
[/PASSPROTECT PASSWORD={'password'} [ENCRYPTEDPW={NO**}] ]
{NONE** } {YES }
**Default if the subcommand is omitted.
This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.
Syntax for the SAVE
CODEPAGE
command can be generated from the Save Data As dialog box.
Release history
Release 23.0
- Command introduced.
Example
SAVE CODEPAGE
/OUTFILE='/data/empl.sav'
/ENCODING='de_DE.windows-1252'.