d4e7d3d9aa565e4da975e47610e26dbabfc83d44
[pspp] / doc / utilities.texi
1 @node Utilities
2 @chapter Utilities
3
4 Commands that don't fit any other category are placed here.
5
6 Most of these commands are not affected by commands like @cmd{IF} and
7 @cmd{LOOP}:
8 they take effect only once, unconditionally, at the time that they are
9 encountered in the input.
10
11 @menu
12 * ADD DOCUMENT::                Add documentary text to the active file.
13 * CD::                          Change the current directory.
14 * COMMENT::                     Document your syntax file.
15 * DOCUMENT::                    Document the active file.
16 * DISPLAY DOCUMENTS::           Display active file documents.
17 * DISPLAY FILE LABEL::          Display the active file label.
18 * DROP DOCUMENTS::              Remove documents from the active file.
19 * ECHO::                        Write a string to the output stream.
20 * ERASE::                       Erase a file.
21 * EXECUTE::                     Execute pending transformations.
22 * FILE LABEL::                  Set the active file's label.
23 * FINISH::                      Terminate the PSPP session.
24 * HOST::                        Temporarily return to the operating system.
25 * INCLUDE::                     Include a file within the current one.
26 * INSERT::                      Insert a file within the current one.
27 * PERMISSIONS::                 Change permissions on a file.
28 * PRESERVE and RESTORE::        Saving settings and restoring them later.
29 * SET::                         Adjust PSPP runtime parameters.
30 * SHOW::                        Display runtime parameters.
31 * SUBTITLE::                    Provide a document subtitle.
32 * TITLE::                       Provide a document title.
33 @end menu
34
35 @node ADD DOCUMENT
36 @comment  node-name,  next,  previous,  up
37 @section ADD DOCUMENT
38 @vindex  ADD DOCUMENT
39
40 @display
41 ADD DOCUMENT 
42     'line one' 'line two' @dots{} 'last line' .
43 @end display
44
45
46 @cmd{ADD DOCUMENT} adds one or more lines of descriptive commentary to 
47 the active file.  Documents added in this way are saved to system files.
48 They can be viewed using @cmd{SYSFILE INFO} or @cmd{DISPLAY
49 DOCUMENTS}.  They can be removed from the active file with @cmd{DROP
50 DOCUMENTS}.
51
52 Each line of documentary text must be enclosed in quotation marks, and 
53 may not be more than 80 bytes long. @xref{DOCUMENT}.
54
55 @node CD
56 @section CD
57 @vindex CD
58 @cindex directory
59 @cindex changing directory
60
61 @display
62 CD 'new directory' .
63 @end display 
64
65 @cmd{CD} changes the current directory.  The new directory will become that specified by the command.
66
67 @node COMMENT
68 @section COMMENT
69 @vindex COMMENT
70 @vindex *
71
72 @display 
73 Two possibles syntaxes:
74         COMMENT comment text @dots{} .
75         *comment text @dots{} .
76 @end display
77
78 @cmd{COMMENT} is ignored.  It is used to provide information to
79 the author and other readers of the PSPP syntax file.  
80
81 @cmd{COMMENT} can extend over any number of lines.  Don't forget to
82 terminate it with a dot or a blank line.
83
84
85
86 @node DOCUMENT
87 @section DOCUMENT
88 @vindex DOCUMENT
89
90 @display
91 DOCUMENT @var{documentary_text}.
92 @end display
93
94 @cmd{DOCUMENT} adds one or more lines of descriptive commentary to the
95 active file.  Documents added in this way are saved to system files.
96 They can be viewed using @cmd{SYSFILE INFO} or @cmd{DISPLAY
97 DOCUMENTS}.  They can be removed from the active file with @cmd{DROP
98 DOCUMENTS}.
99
100 Specify the @var{documentary text} following the DOCUMENT keyword.  
101 It is interpreted literally --- any quotes or other punctuation marks 
102 will be included in the file.
103 You can extend the documentary text over as many lines as necessary.  
104 Lines are truncated at 80 bytes.  Don't forget to terminate
105 the command with a dot or a blank line. @xref{ADD DOCUMENT}.
106
107 @node DISPLAY DOCUMENTS
108 @section DISPLAY DOCUMENTS
109 @vindex DISPLAY DOCUMENTS
110
111 @display
112 DISPLAY DOCUMENTS.
113 @end display
114
115 @cmd{DISPLAY DOCUMENTS} displays the documents in the active file.  Each
116 document is preceded by a line giving the time and date that it was
117 added.  @xref{DOCUMENT}.
118
119 @node DISPLAY FILE LABEL
120 @section DISPLAY FILE LABEL
121 @vindex DISPLAY FILE LABEL
122
123 @display
124 DISPLAY FILE LABEL.
125 @end display
126
127 @cmd{DISPLAY FILE LABEL} displays the file label contained in the
128 active file,
129 if any.  @xref{FILE LABEL}.
130
131 This command is a PSPP extension.
132
133 @node DROP DOCUMENTS
134 @section DROP DOCUMENTS
135 @vindex DROP DOCUMENTS
136
137 @display
138 DROP DOCUMENTS.
139 @end display
140
141 @cmd{DROP DOCUMENTS} removes all documents from the active file.
142 New documents can be added with @cmd{DOCUMENT} (@pxref{DOCUMENT}).
143
144 @cmd{DROP DOCUMENTS} changes only the active file.  It does not modify any
145 system files stored on disk.
146
147 @node ECHO
148 @section ECHO
149 @vindex ECHO
150
151 @display 
152 ECHO 'arbitrary text' .
153 @end display
154
155 Use @cmd{ECHO} to write arbitrary text to the output stream. The text should be enclosed in quotation marks following the normal rules for string tokens (@pxref{Tokens}).
156
157 @node ERASE
158 @comment  node-name,  next,  previous,  up
159 @section ERASE
160 @vindex ERASE
161
162 @display
163 ERASE FILE file_name.
164 @end display
165
166 @cmd{ERASE FILE} deletes a file from the local filesystem.
167 file_name must be quoted.
168 This command cannot be used if the SAFER setting is active.
169
170
171 @node EXECUTE
172 @section EXECUTE
173 @vindex EXECUTE
174
175 @display
176 EXECUTE.
177 @end display
178
179 @cmd{EXECUTE} causes the active file to be read and all pending
180 transformations to be executed.
181
182 @node FILE LABEL
183 @section FILE LABEL
184 @vindex FILE LABEL
185
186 @display
187 FILE LABEL file_label.
188 @end display
189
190 @cmd{FILE LABEL} provides a title for the active file.  This
191 title will be saved into system files and portable files that are
192 created during this PSPP run.
193
194 file_label need not be quoted.  If quotes are
195 included, they become part of the file label.
196
197 @node FINISH
198 @section FINISH
199 @vindex FINISH
200
201 @display
202 FINISH.
203 @end display
204
205 @cmd{FINISH} terminates the current PSPP session and returns
206 control to the operating system.
207
208 @node HOST
209 @comment  node-name,  next,  previous,  up
210 @section HOST
211 @vindex HOST
212
213 @display
214 HOST.
215 @end display
216
217 @cmd{HOST} suspends the current PSPP session and temporarily returns control 
218 to the operating system.
219 This command cannot be used if the SAFER setting is active.
220
221
222 @node INCLUDE
223 @section INCLUDE
224 @vindex INCLUDE
225
226 @display
227         INCLUDE [FILE=]'file-name'.
228 @end display
229
230 @cmd{INCLUDE} causes the PSPP command processor to read an
231 additional command file as if it were included bodily in the current
232 command file.
233 If errors are encountered in the included file, then command processing will 
234 stop and no more commands will be processed.
235 Include files may be nested to any depth, up to the limit of available
236 memory.
237
238
239 The @cmd{INSERT} command (@pxref{INSERT}) may be used instead of
240 @cmd{INCLUDE} if you require more flexible options.
241 The syntax 
242 @example
243 INCLUDE FILE=@var{file-name}.
244 @end example
245 @noindent 
246 functions identically to 
247 @example
248 INSERT FILE=@var{file-name} ERROR=STOP CD=NO SYNTAX=BATCH.
249 @end example
250
251
252 @node INSERT
253 @section INSERT
254 @vindex INSERT
255
256 @display
257      INSERT [FILE=]'file-name'
258         [CD=@{NO,YES@}]
259         [ERROR=@{CONTINUE,STOP@}]
260         [SYNTAX=@{BATCH,INTERACTIVE@}].
261 @end display
262
263 @cmd{INSERT} is similar to @cmd{INCLUDE} (@pxref{INCLUDE}) 
264 but somewhat more flexible.
265 It causes the command processor to read a file as if it were embedded in the 
266 current command file.
267
268 If @samp{CD=YES} is specified, then before including the file, the
269 current directory  will be changed to the directory of the included
270 file.  
271 The default setting is @samp{CD=NO}.
272 Note that this directory will remain current until it is
273 changed explicitly (with the @cmd{CD} command, or a subsequent
274 @cmd{INSERT} command with the @samp{CD=YES} option).
275 It will not revert to its original setting even after the included
276 file is finished processing.
277
278 If @samp{ERROR=STOP} is specified, errors encountered in the
279 inserted file will cause processing to immediately cease.
280 Otherwise processing will continue at the next command.
281 The default setting is @samp{ERROR=CONTINUE}.
282
283 If @samp{SYNTAX=INTERACTIVE} is specified then the syntax contained in
284 the included file must conform to interactive syntax
285 conventions. @xref{Syntax Variants}.
286 The default setting is @samp{SYNTAX=BATCH}.
287
288 @node PERMISSIONS
289 @section PERMISSIONS
290 @vindex PERMISSIONS
291 @cindex mode
292 @cindex file mode
293 @cindex changing file permissions
294
295 @display
296 PERMISSIONS
297         FILE='file-name'
298         /PERMISSIONS = @{READONLY,WRITEABLE@}.
299 @end display
300
301 @cmd{PERMISSIONS} changes the permissions of a file.  
302 There is one mandatory subcommand which specifies the permissions to
303 which the file should be changed.  
304 If you set a file's  permission  to READONLY, then the file will become
305 unwritable either by you or anyone else on the system.
306 If you set the permission to WRITEABLE, then the file will become
307 writeable by you; the permissions afforded to others will be
308 unchanged.
309 This command cannot be used if the SAFER setting is active.
310
311
312 @node PRESERVE and RESTORE
313 @section PRESERVE and RESTORE
314 @vindex PRESERVE
315 @vindex RESTORE
316
317 @display
318 PRESERVE.
319 @dots{}
320 RESTORE.
321 @end display
322
323 @cmd{PRESERVE} saves all of the settings that @cmd{SET} (@pxref{SET})
324 can adjust.  A later @cmd{RESTORE} command restores those settings.
325
326 @cmd{PRESERVE} can be nested up to five levels deep.
327
328 @node SET
329 @section SET
330 @vindex SET
331
332 @display
333 SET
334
335 (data input)
336         /BLANKS=@{SYSMIS,'.',number@}
337         /DECIMAL=@{DOT,COMMA@}
338         /FORMAT=fmt_spec
339         /EPOCH=@{AUTOMATIC,year@}
340         /RIB=@{NATIVE,MSBFIRST,LSBFIRST,VAX@}
341         /RRB=@{NATIVE,ISL,ISB,IDL,IDB,VF,VD,VG,ZS,ZL@}
342
343 (program input)
344         /ENDCMD='.'
345         /NULLINE=@{ON,OFF@}
346
347 (interaction)
348         /CPROMPT='cprompt_string'
349         /DPROMPT='dprompt_string'
350         /MXERRS=max_errs
351         /MXWARNS=max_warnings
352         /PROMPT='prompt'
353         /WORKSPACE=workspace_size
354
355 (program execution)
356         /MEXPAND=@{ON,OFF@}
357         /MITERATE=max_iterations
358         /MNEST=max_nest
359         /MPRINT=@{ON,OFF@}
360         /MXLOOPS=max_loops
361         /SEED=@{RANDOM,seed_value@}
362         /UNDEFINED=@{WARN,NOWARN@}
363
364 (data output)
365         /CC@{A,B,C,D,E@}=@{'npre,pre,suf,nsuf','npre.pre.suf.nsuf'@}
366         /DECIMAL=@{DOT,COMMA@}
367         /FORMAT=fmt_spec
368         /WIB=@{NATIVE,MSBFIRST,LSBFIRST,VAX@}
369         /WRB=@{NATIVE,ISL,ISB,IDL,IDB,VF,VD,VG,ZS,ZL@}
370
371 (output routing)
372         /ERRORS=@{ON,OFF,TERMINAL,LISTING,BOTH,NONE@}
373         /MESSAGES=@{ON,OFF,TERMINAL,LISTING,BOTH,NONE@}
374         /PRINTBACK=@{ON,OFF,TERMINAL,LISTING,BOTH,NONE@}
375         /RESULTS=@{ON,OFF,TERMINAL,LISTING,BOTH,NONE@}
376
377 (output driver options)
378         /HEADERS=@{NO,YES,BLANK@}
379         /LENGTH=@{NONE,length_in_lines@}
380         /MORE=@{ON,OFF@}
381         /WIDTH=@{NARROW,WIDTH,n_characters@}
382
383 (logging)
384         /JOURNAL=@{ON,OFF@} ['file-name']
385
386 (system files)
387         /COMPRESSION=@{ON,OFF@}
388         /SCOMPRESSION=@{ON,OFF@}
389
390 (miscellaneous)
391         /SAFER=ON
392         /LOCALE='string'
393
394
395 (obsolete settings accepted for compatibility, but ignored)
396         /BOXSTRING=@{'xxx','xxxxxxxxxxx'@}
397         /CASE=@{UPPER,UPLOW@}
398         /CPI=cpi_value
399         /HIGHRES=@{ON,OFF@}
400         /HISTOGRAM='c'
401         /LOWRES=@{AUTO,ON,OFF@}
402         /LPI=lpi_value
403         /MENUS=@{STANDARD,EXTENDED@}
404         /MXMEMORY=max_memory
405         /SCRIPTTAB='c'
406         /TB1=@{'xxx','xxxxxxxxxxx'@}
407         /TBFONTS='string'
408         /XSORT=@{YES,NO@}
409 @end display
410
411 @cmd{SET} allows the user to adjust several parameters relating to
412 PSPP's execution.  Since there are many subcommands to this command, its
413 subcommands will be examined in groups.
414
415 On subcommands that take boolean values, ON and YES are synonym, and
416 as are OFF and NO, when used as subcommand values.
417
418 The data input subcommands affect the way that data is read from data
419 files.  The data input subcommands are
420
421 @table @asis
422 @item BLANKS
423 @anchor{SET BLANKS}
424 This is the value assigned to an item data item that is empty or
425 contains only white space.  An argument of SYSMIS or '.' will cause the
426 system-missing value to be assigned to null items.  This is the
427 default.  Any real value may be assigned.
428
429 @item DECIMAL
430 @anchor{SET DECIMAL}
431 This value may be set to DOT or COMMA.
432 Setting it to DOT causes the decimal point character to be
433 @samp{.} and the grouping character to be @samp{,}.
434 Setting it to COMMA
435 causes the decimal point character to be @samp{,} and the grouping
436 character to be @samp{.}.
437 The default value is determined from the system locale.
438
439 @item FORMAT
440 Allows the default numeric input/output format to be specified.  The
441 default is F8.2.  @xref{Input and Output Formats}.
442
443 @item EPOCH
444 @anchor{SET EPOCH}
445 Specifies the range of years used when a 2-digit year is read from a
446 data file or used in a date construction expression (@pxref{Date
447 Construction}).  If a 4-digit year is specified for the epoch, then
448 2-digit years are interpreted starting from that year, known as the
449 epoch.  If AUTOMATIC (the default) is specified, then the epoch begins
450 69 years before the current date.
451
452 @item RIB
453 @anchor{SET RIB} 
454
455 PSPP extension to set the byte ordering (endianness) used for reading
456 data in IB or PIB format (@pxref{Binary and Hexadecimal Numeric
457 Formats}).  In MSBFIRST ordering, the most-significant byte appears at
458 the left end of a IB or PIB field.  In LSBFIRST ordering, the
459 least-significant byte appears at the left end.  VAX ordering is like
460 MSBFIRST, except that each pair of bytes is in reverse order.  NATIVE,
461 the default, is equivalent to MSBFIRST or LSBFIRST depending on the
462 native format of the machine running PSPP.
463
464 @item RRB
465 @anchor{SET RRB}
466
467 PSPP extension to set the floating-point format used for reading data in
468 RB format (@pxref{Binary and Hexadecimal Numeric Formats}).  The
469 possibilities are:
470
471 @table @asis
472 @item NATIVE
473 The native format of the machine running PSPP.  Equivalent to either IDL
474 or IDB.
475
476 @item ISL
477 32-bit IEEE 754 single-precision floating point, in little-endian byte
478 order.
479
480 @item ISB
481 32-bit IEEE 754 single-precision floating point, in big-endian byte
482 order.
483
484 @item IDL
485 64-bit IEEE 754 double-precision floating point, in little-endian byte
486 order.
487
488 @item IDB
489 64-bit IEEE 754 double-precision floating point, in big-endian byte
490 order.
491
492 @item VF
493 32-bit VAX F format, in VAX-endian byte order.
494
495 @item VD
496 64-bit VAX D format, in VAX-endian byte order.
497
498 @item VG
499 64-bit VAX G format, in VAX-endian byte order.
500
501 @item ZS
502 32-bit IBM Z architecture short format hexadecimal floating point, in
503 big-endian byte order.  
504
505 @item ZL
506 64-bit IBM Z architecture long format hexadecimal floating point, in
507 big-endian byte order.
508
509 Z architecture also supports IEEE 754 floating point.  The ZS and ZL
510 formats are only for use with very old input files.
511 @end table
512 The default is NATIVE.
513 @end table
514
515 Program input subcommands affect the way that programs are parsed when
516 they are typed interactively or run from a command file.  They are
517
518 @table @asis
519 @item ENDCMD
520 This is a single character indicating the end of a command.  The default
521 is @samp{.}.  Don't change this.
522
523 @item NULLINE
524 Whether a blank line is interpreted as ending the current command.  The
525 default is ON.
526 @end table
527
528 Interaction subcommands affect the way that PSPP interacts with an
529 online user.  The interaction subcommands are
530
531 @table @asis
532 @item CPROMPT
533 The command continuation prompt.  The default is @samp{    > }.
534
535 @item DPROMPT
536 Prompt used when expecting data input within @cmd{BEGIN DATA} (@pxref{BEGIN
537 DATA}).  The default is @samp{data> }.
538
539 @item MXERRS
540 The maximum number of errors before PSPP halts processing of the current
541 command file.  The default is 50.
542
543 @item MXWARNS
544 The maximum number of warnings + errors before PSPP halts processing the
545 current command file.  
546 The special value of zero means that all warning situations should be ignored.
547 No warnings will be issued, except a single initial warning advising the user
548 that warnings will not be given.
549 The default value is 100.
550
551 @item PROMPT
552 The command prompt.  The default is @samp{PSPP> }.
553 @end table
554
555 Program execution subcommands control the way that PSPP commands
556 execute.  The program execution subcommands are
557
558 @table @asis
559 @item MEXPAND
560 @itemx MITERATE
561 @itemx MNEST
562 @itemx MPRINT
563 Currently not used.
564
565 @item MXLOOPS
566 The maximum number of iterations for an uncontrolled loop (@pxref{LOOP}).
567
568 @item SEED
569 The initial pseudo-random number seed.  Set to a real number or to
570 RANDOM, which will obtain an initial seed from the current time of day.
571
572 @item UNDEFINED
573 Currently not used.
574
575 @item WORKSPACE
576 The maximum amount of memory that PSPP will use to store data being processed.
577 If memory in excess of the workspace size is required, then PSPP will start
578 to use temporary files to store the data.
579 Setting a higher value will, in general, mean procedures will run faster, 
580 but may cause other applications to run slower.
581 On platforms without virtual memory management, setting a very large workspace
582 may cause PSPP to abort.
583 @cindex workspace
584 @cindex memory, amount used to store cases
585 @end table
586
587 Data output subcommands affect the format of output data.  These
588 subcommands are
589
590 @table @asis
591 @item CCA
592 @itemx CCB
593 @itemx CCC
594 @itemx CCD
595 @itemx CCE
596 @anchor{CCx Settings}
597
598 Set up custom currency formats.  @xref{Custom Currency Formats}, for
599 details.
600
601 @item DECIMAL
602 The default DOT setting causes the decimal point character to be
603 @samp{.}.  A setting of COMMA causes the decimal point character to be
604 @samp{,}.
605
606 @item FORMAT
607 Allows the default numeric input/output format to be specified.  The
608 default is F8.2.  @xref{Input and Output Formats}.
609
610 @item WIB
611 @anchor{SET WIB} 
612
613 PSPP extension to set the byte ordering (endianness) used for writing
614 data in IB or PIB format (@pxref{Binary and Hexadecimal Numeric
615 Formats}).  In MSBFIRST ordering, the most-significant byte appears at
616 the left end of a IB or PIB field.  In LSBFIRST ordering, the
617 least-significant byte appears at the left end.  VAX ordering is like
618 MSBFIRST, except that each pair of bytes is in reverse order.  NATIVE,
619 the default, is equivalent to MSBFIRST or LSBFIRST depending on the
620 native format of the machine running PSPP.
621
622 @item WRB
623 @anchor{SET WRB}
624
625 PSPP extension to set the floating-point format used for writing data in
626 RB format (@pxref{Binary and Hexadecimal Numeric Formats}).  The choices
627 are the same as SET RIB.  The default is NATIVE.
628 @end table
629
630 In the PSPP text-based interface, the output routing subcommands
631 affect where output is sent.  The following values are allowed for
632 each of these subcommands:
633
634 @table @asis
635 @item OFF
636 @item NONE
637 Discard this kind of output.
638
639 @item TERMINAL
640 Write this output to the terminal, but not to listing files and other
641 output devices.
642
643 @item LISTING
644 Write this output to listing files and other output devices, but not
645 to the terminal.
646
647 @item ON
648 @itemx BOTH
649 Write this type of output to all output devices.
650 @end table
651
652 These output routing subcommands are:
653
654 @table @asis
655 @item ERRORS
656 Applies to error and warning messages.  The default is BOTH.
657
658 @itemx MESSAGES
659 Applies to notes.  The default is BOTH.
660
661 @itemx PRINTBACK
662 Determines whether the syntax used for input is printed back as part
663 of the output.  The default is NONE.
664
665 @itemx RESULTS
666 Applies to everything not in one of the above categories, such as the
667 results of statistical procedures.  The default is BOTH.
668 @end table
669
670 These subcommands have no effect on output in the PSPP GUI
671 environment.
672
673 Output driver option subcommands affect output drivers' settings.  These
674 subcommands are
675
676 @table @asis
677 @item HEADERS
678 @itemx LENGTH
679 @itemx MORE
680 @itemx PAGER 
681 @itemx WIDTH
682 @end table
683
684 @cindex headers
685 @cindex length
686 @cindex more
687 @cindex pager 
688 @cindex width
689
690
691 Logging subcommands affect logging of commands executed to external
692 files.  These subcommands are
693
694 @table @asis
695 @item JOURNAL
696 @itemx LOG
697 These subcommands, which are synonyms, control the journal.  The
698 default is ON, which causes commands entered interactively to be
699 written to the journal file.  Commands included from syntax files that
700 are included interactively and error messages printed by PSPP are also
701 written to the journal file, prefixed by @samp{>}.  OFF disables use
702 of the journal.
703
704 The journal is named @file{pspp.jnl} by default.  A different name may
705 be specified.
706 @end table
707
708 System file subcommands affect the default format of system files
709 produced by PSPP.  These subcommands are
710
711 @table @asis
712 @item COMPRESSION
713 Not currently used.
714
715 @item SCOMPRESSION
716 Whether system files created by @cmd{SAVE} or @cmd{XSAVE} are
717 compressed by default.  The default is ON.
718 @end table
719
720 Security subcommands affect the operations that commands are allowed to
721 perform.  The security subcommands are
722
723 @table @asis
724 @item SAFER
725 Setting this option disables the following operations:
726
727 @itemize @bullet
728 @item
729 The ERASE command.
730 @item
731 The HOST command.
732 @item
733 The PERMISSIONS command.
734 @item
735 Pipes (file names beginning or ending with @samp{|}).
736 @end itemize
737
738 Be aware that this setting does not guarantee safety (commands can still
739 overwrite files, for instance) but it is an improvement.
740 When set, this setting cannot be reset during the same session, for
741 obvious security reasons.
742
743 @item LOCALE
744 @cindex locale
745 @cindex encoding, characters
746 This item is used to set the default character encoding.
747 The encoding may be specified either as an encoding name or alias
748 (see @url{http://www.iana.org/assignments/character-sets}), or
749 as a locale name.
750 If given as a locale name, only the character encoding of the 
751 locale is relevant.
752
753 System files written by PSPP will use this encoding.
754 System files read by PSPP, for which the encoding is unknown, will be
755 interpreted using this encoding.
756
757 The full list of valid encodings and locale names/alias are operating system
758 dependent.
759 The following are all examples of acceptable syntax on common GNU/Linux
760 systems.
761 @example
762
763 SET LOCALE='iso-8859-1'.
764
765 SET LOCALE='ru_RU.cp1251'.
766
767 SET LOCALE='japanese'.
768
769 @end example
770
771 Contrary to the intuition, this command does not affect any aspect 
772 of the system's locale.
773 @end table
774
775 @node SHOW
776 @comment  node-name,  next,  previous,  up
777 @section SHOW
778 @vindex SHOW
779
780 @display
781 SHOW
782         [ALL]
783         [BLANKS]
784         [CC]
785         [CCA]
786         [CCB]
787         [CCC]
788         [CCD]
789         [CCE]
790         [COPYING]
791         [DECIMALS]
792         [ENDCMD]
793         [FORMAT]
794         [LENGTH]
795         [MXERRS]
796         [MXLOOPS]
797         [MXWARNS]
798         [SCOMPRESSION]
799         [UNDEFINED]
800         [WARRANTY]
801         [WEIGHT]
802         [WIDTH]
803 @end display
804
805 @cmd{SHOW} can be used to display the current state of PSPP's execution
806 parameters.  Parameters that can be changed using @cmd{SET}
807 (@pxref{SET}), can be examined using @cmd{SHOW} using the subcommand
808 with the same name.  @code{SHOW} supports the following additional
809 subcommands:
810
811 @table @code
812 @item ALL
813 Show all settings.
814 @item CC
815 Show all custom currency settings (CCA through CCE).
816 @item WARRANTY
817 Show details of the lack of warranty for PSPP.
818 @item COPYING
819 Display the terms of PSPP's copyright licence (@pxref{License}).
820 @end table
821
822 Specifying @cmd{SHOW} without any subcommands is equivalent to SHOW ALL.
823
824 @node SUBTITLE
825 @section SUBTITLE
826 @vindex SUBTITLE
827
828 @display
829 SUBTITLE 'subtitle_string'.
830   or
831 SUBTITLE subtitle_string.
832 @end display
833
834 @cmd{SUBTITLE} provides a subtitle to a particular PSPP
835 run.  This subtitle appears at the top of each output page below the
836 title, if headers are enabled on the output device.
837
838 Specify a subtitle as a string in quotes.  The alternate syntax that did
839 not require quotes is now obsolete.  If it is used then the subtitle is
840 converted to all uppercase.
841
842 @node TITLE
843 @section TITLE
844 @vindex TITLE
845
846 @display
847 TITLE 'title_string'.
848   or
849 TITLE title_string.
850 @end display
851
852 @cmd{TITLE} provides a title to a particular PSPP run.
853 This title appears at the top of each output page, if headers are enabled
854 on the output device.
855
856 Specify a title as a string in quotes.  The alternate syntax that did
857 not require quotes is now obsolete.  If it is used then the title is
858 converted to all uppercase.