/usr/share/doc/pspp/pspp.html/SET.html is in pspp 1.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for GNU PSPP version 1.0.1,
software for statistical analysis.
Copyright (C) 1997, 1998, 2004, 2005, 2009, 2012, 2013, 2014, 2016 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License". -->
<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SET (PSPP)</title>
<meta name="description" content="SET (PSPP)">
<meta name="keywords" content="SET (PSPP)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<link href="index.html#Top" rel="start" title="Top">
<link href="Function-Index.html#Function-Index" rel="index" title="Function Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Utilities.html#Utilities" rel="up" title="Utilities">
<link href="SHOW.html#SHOW" rel="next" title="SHOW">
<link href="PRESERVE-and-RESTORE.html#PRESERVE-and-RESTORE" rel="prev" title="PRESERVE and RESTORE">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<a name="SET"></a>
<div class="header">
<p>
Next: <a href="SHOW.html#SHOW" accesskey="n" rel="next">SHOW</a>, Previous: <a href="PRESERVE-and-RESTORE.html#PRESERVE-and-RESTORE" accesskey="p" rel="prev">PRESERVE and RESTORE</a>, Up: <a href="Utilities.html#Utilities" accesskey="u" rel="up">Utilities</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Function-Index.html#Function-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="SET-1"></a>
<h3 class="section">16.20 SET</h3>
<a name="index-SET"></a>
<div class="display">
<pre class="display">SET
(data input)
/BLANKS={SYSMIS,’.’,number}
/DECIMAL={DOT,COMMA}
/FORMAT=<var>fmt_spec</var>
/EPOCH={AUTOMATIC,<var>year</var>}
/RIB={NATIVE,MSBFIRST,LSBFIRST,VAX}
/RRB={NATIVE,ISL,ISB,IDL,IDB,VF,VD,VG,ZS,ZL}
(interaction)
/MXERRS=<var>max_errs</var>
/MXWARNS=<var>max_warnings</var>
/WORKSPACE=<var>workspace_size</var>
(syntax execution)
/LOCALE=’<var>locale</var>’
/MEXPAND={ON,OFF}
/MITERATE=<var>max_iterations</var>
/MNEST=<var>max_nest</var>
/MPRINT={ON,OFF}
/MXLOOPS=<var>max_loops</var>
/SEED={RANDOM,<var>seed_value</var>}
/UNDEFINED={WARN,NOWARN}
/FUZZBITS=<var>fuzzbits</var>
(data output)
/CC{A,B,C,D,E}={’<var>npre</var>,<var>pre</var>,<var>suf</var>,<var>nsuf</var>’,’<var>npre</var>.<var>pre</var>.<var>suf</var>.<var>nsuf</var>’}
/DECIMAL={DOT,COMMA}
/FORMAT=<var>fmt_spec</var>
/WIB={NATIVE,MSBFIRST,LSBFIRST,VAX}
/WRB={NATIVE,ISL,ISB,IDL,IDB,VF,VD,VG,ZS,ZL}
(output routing)
/ERRORS={ON,OFF,TERMINAL,LISTING,BOTH,NONE}
/MESSAGES={ON,OFF,TERMINAL,LISTING,BOTH,NONE}
/PRINTBACK={ON,OFF,TERMINAL,LISTING,BOTH,NONE}
/RESULTS={ON,OFF,TERMINAL,LISTING,BOTH,NONE}
(output driver options)
/HEADERS={NO,YES,BLANK}
/LENGTH={NONE,<var>n_lines</var>}
/MORE={ON,OFF}
/WIDTH={NARROW,WIDTH,<var>n_characters</var>}
/TNUMBERS={VALUES,LABELS,BOTH}
/TVARS={NAMES,LABELS,BOTH}
(logging)
/JOURNAL={ON,OFF} [’<var>file_name</var>’]
(system files)
/COMPRESSION={ON,OFF}
/SCOMPRESSION={ON,OFF}
(miscellaneous)
/SAFER=ON
/LOCALE=’<var>string</var>’
(obsolete settings accepted for compatibility, but ignored)
/BOXSTRING={’<var>xxx</var>’,’<var>xxxxxxxxxxx</var>’}
/CASE={UPPER,UPLOW}
/CPI=cpi_value
/HIGHRES={ON,OFF}
/HISTOGRAM=’<var>c</var>’
/LOWRES={AUTO,ON,OFF}
/LPI=<var>lpi_value</var>
/MENUS={STANDARD,EXTENDED}
/MXMEMORY=<var>max_memory</var>
/SCRIPTTAB=’c’
/TB1={’<var>xxx</var>’,’<var>xxxxxxxxxxx</var>’}
/TBFONTS=’<var>string</var>’
/XSORT={YES,NO}
</pre></div>
<p><code>SET</code> allows the user to adjust several parameters relating to
<small>PSPP</small>’s execution. Since there are many subcommands to this command, its
subcommands will be examined in groups.
</p>
<p>For subcommands that take boolean values, <code>ON</code> and <code>YES</code> are synonymous,
as are <code>OFF</code> and <code>NO</code>, when used as subcommand values.
</p>
<p>The data input subcommands affect the way that data is read from data
files. The data input subcommands are
</p>
<dl compact="compact">
<dt>BLANKS</dt>
<dd><a name="SET-BLANKS"></a><p>This is the value assigned to an item data item that is empty or
contains only white space. An argument of SYSMIS or ’.’ will cause the
system-missing value to be assigned to null items. This is the
default. Any real value may be assigned.
</p>
</dd>
<dt>DECIMAL</dt>
<dd><a name="SET-DECIMAL"></a><p>This value may be set to <code>DOT</code> or <code>COMMA</code>.
Setting it to <code>DOT</code> causes the decimal point character to be
‘<samp>.</samp>’ and the grouping character to be ‘<samp>,</samp>’.
Setting it to <code>COMMA</code>
causes the decimal point character to be ‘<samp>,</samp>’ and the grouping
character to be ‘<samp>.</samp>’.
If the setting is <code>COMMA</code>, then ‘<samp>,</samp>’ will not be treated
as a field separator in the <code>DATA LIST</code> command (see <a href="DATA-LIST.html#DATA-LIST">DATA LIST</a>).
The default value is determined from the system locale.
</p>
</dd>
<dt>FORMAT</dt>
<dd><p>Allows the default numeric input/output format to be specified. The
default is F8.2. See <a href="Input-and-Output-Formats.html#Input-and-Output-Formats">Input and Output Formats</a>.
</p>
</dd>
<dt>EPOCH</dt>
<dd><a name="SET-EPOCH"></a><p>Specifies the range of years used when a 2-digit year is read from a
data file or used in a date construction expression (see <a href="Date-Construction.html#Date-Construction">Date Construction</a>). If a 4-digit year is specified for the epoch, then
2-digit years are interpreted starting from that year, known as the
epoch. If <code>AUTOMATIC</code> (the default) is specified, then the epoch begins
69 years before the current date.
</p>
</dd>
<dt>RIB</dt>
<dd><a name="SET-RIB"></a>
<p><small>PSPP</small> extension to set the byte ordering (endianness) used for reading
data in IB or PIB format (see <a href="Binary-and-Hexadecimal-Numeric-Formats.html#Binary-and-Hexadecimal-Numeric-Formats">Binary and Hexadecimal Numeric Formats</a>). In <code>MSBFIRST</code> ordering, the most-significant byte appears at
the left end of a IB or PIB field. In <code>LSBFIRST</code> ordering, the
least-significant byte appears at the left end. <code>VAX</code> ordering is like
<code>MSBFIRST</code>, except that each pair of bytes is in reverse order. <code>NATIVE</code>,
the default, is equivalent to <code>MSBFIRST</code> or <code>LSBFIRST</code> depending on the
native format of the machine running <small>PSPP</small>.
</p>
</dd>
<dt>RRB</dt>
<dd><a name="SET-RRB"></a>
<p><small>PSPP</small> extension to set the floating-point format used for reading data in
RB format (see <a href="Binary-and-Hexadecimal-Numeric-Formats.html#Binary-and-Hexadecimal-Numeric-Formats">Binary and Hexadecimal Numeric Formats</a>). The
possibilities are:
</p>
<dl compact="compact">
<dt>NATIVE</dt>
<dd><p>The native format of the machine running <small>PSPP</small>. Equivalent to either IDL
or IDB.
</p>
</dd>
<dt>ISL</dt>
<dd><p>32-bit IEEE 754 single-precision floating point, in little-endian byte
order.
</p>
</dd>
<dt>ISB</dt>
<dd><p>32-bit IEEE 754 single-precision floating point, in big-endian byte
order.
</p>
</dd>
<dt>IDL</dt>
<dd><p>64-bit IEEE 754 double-precision floating point, in little-endian byte
order.
</p>
</dd>
<dt>IDB</dt>
<dd><p>64-bit IEEE 754 double-precision floating point, in big-endian byte
order.
</p>
</dd>
<dt>VF</dt>
<dd><p>32-bit VAX F format, in VAX-endian byte order.
</p>
</dd>
<dt>VD</dt>
<dd><p>64-bit VAX D format, in VAX-endian byte order.
</p>
</dd>
<dt>VG</dt>
<dd><p>64-bit VAX G format, in VAX-endian byte order.
</p>
</dd>
<dt>ZS</dt>
<dd><p>32-bit IBM Z architecture short format hexadecimal floating point, in
big-endian byte order.
</p>
</dd>
<dt>ZL</dt>
<dd><p>64-bit IBM Z architecture long format hexadecimal floating point, in
big-endian byte order.
</p>
<p>Z architecture also supports IEEE 754 floating point. The ZS and ZL
formats are only for use with very old input files.
</p></dd>
</dl>
<p>The default is NATIVE.
</p></dd>
</dl>
<p>Interaction subcommands affect the way that <small>PSPP</small> interacts with an
online user. The interaction subcommands are
</p>
<dl compact="compact">
<dt>MXERRS</dt>
<dd><p>The maximum number of errors before <small>PSPP</small> halts processing of the current
command file. The default is 50.
</p>
</dd>
<dt>MXWARNS</dt>
<dd><p>The maximum number of warnings + errors before <small>PSPP</small> halts processing the
current command file.
The special value of zero means that all warning situations should be ignored.
No warnings will be issued, except a single initial warning advising the user
that warnings will not be given.
The default value is 100.
</p></dd>
</dl>
<p>Syntax execution subcommands control the way that <small>PSPP</small> commands
execute. The syntax execution subcommands are
</p>
<dl compact="compact">
<dt>LOCALE</dt>
<dd><p>Overrides the system locale for the purpose of reading and writing
syntax and data files. The argument should be a locale name in the
general form <code><var>language</var>_<var>country</var>.<var>encoding</var></code>, where <var>language</var>
and <var>country</var> are 2-character language and country abbreviations,
respectively, and <var>encoding</var> is an <acronym>IANA</acronym> character set name.
Example locales are <code>en_US.UTF-8</code> (UTF-8 encoded English as
spoken in the United States) and <code>ja_JP.EUC-JP</code> (EUC-JP encoded
Japanese as spoken in Japan).
</p>
</dd>
<dt>MEXPAND</dt>
<dt>MITERATE</dt>
<dt>MNEST</dt>
<dt>MPRINT</dt>
<dd><p>Currently not used.
</p>
</dd>
<dt>MXLOOPS</dt>
<dd><p>The maximum number of iterations for an uncontrolled loop (see <a href="LOOP.html#LOOP">LOOP</a>).
The default <var>max_loops</var> is 40.
</p>
</dd>
<dt>SEED</dt>
<dd><p>The initial pseudo-random number seed. Set to a real number or to
RANDOM, which will obtain an initial seed from the current time of day.
</p>
</dd>
<dt>UNDEFINED</dt>
<dd><p>Currently not used.
</p>
</dd>
<dt>FUZZBITS</dt>
<dd><a name="SET-FUZZBITS"></a><p>The maximum number of bits of errors in the least-significant places
to accept for rounding up a value that is almost halfway between two
possibilities for rounding with the RND operator (see <a href="Miscellaneous-Mathematics.html#Miscellaneous-Mathematics">Miscellaneous Mathematics</a>). The default <var>fuzzbits</var> is 6.
</p>
</dd>
<dt>WORKSPACE</dt>
<dd><p>The maximum amount of memory (in kilobytes) that <small>PSPP</small> will use to store data being processed.
If memory in excess of the workspace size is required, then <small>PSPP</small> will start
to use temporary files to store the data.
Setting a higher value will, in general, mean procedures will run faster,
but may cause other applications to run slower.
On platforms without virtual memory management, setting a very large workspace
may cause <small>PSPP</small> to abort.
<a name="index-workspace"></a>
<a name="index-memory_002c-amount-used-to-store-cases"></a>
</p></dd>
</dl>
<p>Data output subcommands affect the format of output data. These
subcommands are
</p>
<dl compact="compact">
<dt>CCA</dt>
<dt>CCB</dt>
<dt>CCC</dt>
<dt>CCD</dt>
<dt>CCE</dt>
<dd><a name="CCx-Settings"></a>
<p>Set up custom currency formats. See <a href="Custom-Currency-Formats.html#Custom-Currency-Formats">Custom Currency Formats</a>, for
details.
</p>
</dd>
<dt>DECIMAL</dt>
<dd><p>The default <code>DOT</code> setting causes the decimal point character to be
‘<samp>.</samp>’. A setting of <code>COMMA</code> causes the decimal point character to be
‘<samp>,</samp>’.
</p>
</dd>
<dt>FORMAT</dt>
<dd><p>Allows the default numeric input/output format to be specified. The
default is F8.2. See <a href="Input-and-Output-Formats.html#Input-and-Output-Formats">Input and Output Formats</a>.
</p>
</dd>
<dt>WIB</dt>
<dd><a name="SET-WIB"></a>
<p><small>PSPP</small> extension to set the byte ordering (endianness) used for writing
data in IB or PIB format (see <a href="Binary-and-Hexadecimal-Numeric-Formats.html#Binary-and-Hexadecimal-Numeric-Formats">Binary and Hexadecimal Numeric Formats</a>). In <code>MSBFIRST</code> ordering, the most-significant byte appears at
the left end of a IB or PIB field. In <code>LSBFIRST</code> ordering, the
least-significant byte appears at the left end. <code>VAX</code> ordering is like
<code>MSBFIRST</code>, except that each pair of bytes is in reverse order. <code>NATIVE</code>,
the default, is equivalent to <code>MSBFIRST</code> or <code>LSBFIRST</code> depending on the
native format of the machine running <small>PSPP</small>.
</p>
</dd>
<dt>WRB</dt>
<dd><a name="SET-WRB"></a>
<p><small>PSPP</small> extension to set the floating-point format used for writing data in
RB format (see <a href="Binary-and-Hexadecimal-Numeric-Formats.html#Binary-and-Hexadecimal-Numeric-Formats">Binary and Hexadecimal Numeric Formats</a>). The choices
are the same as <code>SET RIB</code>. The default is <code>NATIVE</code>.
</p></dd>
</dl>
<p>In the <small>PSPP</small> text-based interface, the output routing subcommands
affect where output is sent. The following values are allowed for
each of these subcommands:
</p>
<dl compact="compact">
<dt>OFF</dt>
<dt>NONE</dt>
<dd><p>Discard this kind of output.
</p>
</dd>
<dt>TERMINAL</dt>
<dd><p>Write this output to the terminal, but not to listing files and other
output devices.
</p>
</dd>
<dt>LISTING</dt>
<dd><p>Write this output to listing files and other output devices, but not
to the terminal.
</p>
</dd>
<dt>ON</dt>
<dt>BOTH</dt>
<dd><p>Write this type of output to all output devices.
</p></dd>
</dl>
<p>These output routing subcommands are:
</p>
<dl compact="compact">
<dt>ERRORS</dt>
<dd><p>Applies to error and warning messages. The default is <code>BOTH</code>.
</p>
</dd>
<dt>MESSAGES</dt>
<dd><p>Applies to notes. The default is <code>BOTH</code>.
</p>
</dd>
<dt>PRINTBACK</dt>
<dd><p>Determines whether the syntax used for input is printed back as part
of the output. The default is <code>NONE</code>.
</p>
</dd>
<dt>RESULTS</dt>
<dd><p>Applies to everything not in one of the above categories, such as the
results of statistical procedures. The default is <code>BOTH</code>.
</p></dd>
</dl>
<p>These subcommands have no effect on output in the <small>PSPP</small> GUI
environment.
</p>
<p>Output driver option subcommands affect output drivers’ settings. These
subcommands are
</p>
<dl compact="compact">
<dt>HEADERS</dt>
<dt>LENGTH</dt>
<dt>MORE</dt>
<dt>WIDTH</dt>
<dt>TNUMBERS</dt>
<dd><p>The <code>TNUMBERS</code> option sets the way in which values are displayed in output tables.
The valid settings are <code>VALUES</code>, <code>LABELS</code> and <code>BOTH</code>.
If <code>TNUMBERS</code> is set to <code>VALUES</code>, then all values are displayed with their literal value
(which for a numeric value is a number and for a string value an alphanumeric string).
If <code>TNUMBERS</code> is set to <code>LABELS</code>, then values are displayed using their assigned labels if any.
(See <a href="VALUE-LABELS.html#VALUE-LABELS">VALUE LABELS</a>.)
If the a value has no label, then it will be displayed using its literal value.
If <code>TNUMBERS</code> is set to <code>BOTH</code>, then values will be displayed with both their label
(if any) and their literal value in parentheses.
</p></dd>
<dt>TVARS</dt>
<dd><p>The <code>TVARS</code> option sets the way in which variables are displayed in output tables.
The valid settings are <code>NAMES</code>, <code>LABELS</code> and <code>BOTH</code>.
If <code>TVARS</code> is set to <code>NAMES</code>, then all variables are displayed using their names.
If <code>TVARS</code> is set to <code>LABELS</code>, then variables are displayed using their label if one
has been set. If no label has been set, then the name will be used.
(See <a href="VARIABLE-LABELS.html#VARIABLE-LABELS">VARIABLE LABELS</a>.)
If <code>TVARS</code> is set to <code>BOTH</code>, then variables will be displayed with both their label
(if any) and their name in parentheses.
</p></dd>
</dl>
<a name="index-headers"></a>
<a name="index-length"></a>
<a name="index-more"></a>
<a name="index-pager"></a>
<a name="index-width"></a>
<a name="index-tnumbers"></a>
<p>Logging subcommands affect logging of commands executed to external
files. These subcommands are
</p>
<dl compact="compact">
<dt>JOURNAL</dt>
<dt>LOG</dt>
<dd><p>These subcommands, which are synonyms, control the journal. The
default is <code>ON</code>, which causes commands entered interactively to be
written to the journal file. Commands included from syntax files that
are included interactively and error messages printed by <small>PSPP</small> are also
written to the journal file, prefixed by ‘<samp>></samp>’. <code>OFF</code> disables use
of the journal.
</p>
<p>The journal is named <samp>pspp.jnl</samp> by default. A different name may
be specified.
</p></dd>
</dl>
<p>System file subcommands affect the default format of system files
produced by <small>PSPP</small>. These subcommands are
</p>
<dl compact="compact">
<dt>COMPRESSION</dt>
<dd><p>Not currently used.
</p>
</dd>
<dt>SCOMPRESSION</dt>
<dd><p>Whether system files created by <code>SAVE</code> or <code>XSAVE</code> are
compressed by default. The default is <code>ON</code>.
</p></dd>
</dl>
<p>Security subcommands affect the operations that commands are allowed to
perform. The security subcommands are
</p>
<dl compact="compact">
<dt>SAFER</dt>
<dd><p>Setting this option disables the following operations:
</p>
<ul>
<li> The <code>ERASE</code> command.
</li><li> The <code>HOST</code> command.
</li><li> The <code>PERMISSIONS</code> command.
</li><li> Pipes (file names beginning or ending with ‘<samp>|</samp>’).
</li></ul>
<p>Be aware that this setting does not guarantee safety (commands can still
overwrite files, for instance) but it is an improvement.
When set, this setting cannot be reset during the same session, for
obvious security reasons.
</p>
</dd>
<dt>LOCALE</dt>
<dd><a name="index-locale"></a>
<a name="index-encoding_002c-characters"></a>
<p>This item is used to set the default character encoding.
The encoding may be specified either as an encoding name or alias
(see <a href="http://www.iana.org/assignments/character-sets">http://www.iana.org/assignments/character-sets</a>), or
as a locale name.
If given as a locale name, only the character encoding of the
locale is relevant.
</p>
<p>System files written by <small>PSPP</small> will use this encoding.
System files read by <small>PSPP</small>, for which the encoding is unknown, will be
interpreted using this encoding.
</p>
<p>The full list of valid encodings and locale names/alias are operating system
dependent.
The following are all examples of acceptable syntax on common GNU/Linux
systems.
</p><div class="example">
<pre class="example">SET LOCALE='iso-8859-1'.
SET LOCALE='ru_RU.cp1251'.
SET LOCALE='japanese'.
</pre></div>
<p>Contrary to intuition, this command does not affect any aspect
of the system’s locale.
</p></dd>
</dl>
<hr>
<div class="header">
<p>
Next: <a href="SHOW.html#SHOW" accesskey="n" rel="next">SHOW</a>, Previous: <a href="PRESERVE-and-RESTORE.html#PRESERVE-and-RESTORE" accesskey="p" rel="prev">PRESERVE and RESTORE</a>, Up: <a href="Utilities.html#Utilities" accesskey="u" rel="up">Utilities</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Function-Index.html#Function-Index" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>
|