MXWARNS Subcommand (SET command)

MXWARNS controls the number of warnings that are issued. The default is 10. The behavior of this setting depends on mode of operation: interactive or IBM® SPSS® Statistics Batch Facility. In this context, "interactive" includes any mode of operation other than IBM SPSS Statistics Batch Facility.

Interactive. In interactive mode, MXWARNS limits the number of warnings that are issued for each set of commands that read the data (for example, a group of transformation commands followed by a statistical procedure).

  • Exceeding the limit does not halt execution of commands; it simply suppresses further warnings.
  • MXWARNS=0 suppresses all warnings except a warning that further warnings have been suppressed.
  • MXWARNS does not affect the display of error messages, and errors do not count toward the warning limit.

Batch Facility. In the Batch Facility (available with IBM SPSS Statistics Server), MXWARNS limits the total number of warnings that are allowed in a job.

  • When the MXWARNS limit is exceeded, IBM SPSS Statistics stops processing commands but continues to scan for errors.
  • When the combined total number of warnings and errors exceeds the MXWARNS limit, IBM SPSS Statistics stops processing commands but continues to scan for errors.