Restructuring SPSS Output Tables with OUTPUT MODIFY
The OUTPUT MODIFY command lets you reorder SPSS statistical tables without re-running analyses, but its hierarchy-based syntax demands careful setup. Here's a practical example and what to watch for.
12 Aug 2026, 09:53 UTC

The problem with fixed output order
\nAfter running a regression or correlation matrix in SPSS, the output viewer always presents tables in a fixed sequence. If you need the Descriptive Statistics table before the Correlations table for a report, you either drag each table manually in the viewer-or you re-run the entire analysis. Both approaches waste time and risk introducing inconsistencies, especially when the same model appears in multiple documents.
\n\nenter output modify
\nSPSS's OUTPUT MODIFY command restructures the output tree using hierarchical INSERT, MOVE, DELETE and RENAME subcommands. Because it operates on the output tree rather than the data, you can reorder, hide or rename tables and charts without touching the original syntax. The command is version-stable from SPSS 15 onward, but earlier releases lack support for certain REMOVE options; checking your release notes is a practical first step.
concrete example: moving descriptive statistics before correlations
\nThe following syntax moves the Descriptive Statistics table to appear before the Correlations table in the output tree. Run this in the SPSS Syntax Editor; no additional permissions beyond the ability to write syntax files are required.
\nOUTPUT MODIFY\n /INSERT BEFORE='Correlations'\n /TABLE='Descriptive Statistics'.\nHere, BEFORE='Correlations' is a placeholder that references the output element's label as it appears in the tree. If your output uses localized language versions, the exact label text may differ; a quick glance at the output tree (right-click the output node, select Output Tree) confirms the correct string.
After running the command, the output viewer refreshes automatically. The Descriptive Statistics table now precedes Correlations, and the rest of the output retains its original order. Because the change is stored in the output tree, it persists for that session only-opening a new SPSS session resets the output to defaults.
\n\ntrade-off and limitation
\nOne significant trade-off is session persistence. OUTPUT MODIFY changes are not undoable within the same session; if you move a table and later decide you prefer the original order, you must close and reopen SPSS to revert. Additionally, certain output elements-such as embedded Python scripts or OMS destinations-may not be fully modifiable via OUTPUT MODIFY, potentially leading to silent failures where the subcommand is ignored without an error message.
Version compatibility is another consideration. While the command has been available since SPSS 15, the full set of INSERT/MOVE options expanded in later releases. Consult the SPSS Command Syntax Reference for your specific version, searching for OUTPUT MODIFY, to confirm which subcommands are supported.
verifying the result
\nTo check that the reordering worked as intended, run a test dataset with a known sequence. For example:
\nOUTPUT MODIFY\n /INSERT BEFORE='Correlations'\n /TABLE='Descriptive Statistics'.\n\n * Run your analysis (REGRESSION, CORRELATION, etc.).\n * Open the output viewer and inspect the table order.\nCompare the generated order to the expected sequence. If the Descriptive Statistics table appears above Correlations, the command succeeded. If not, verify the exact label text in the output tree and adjust the BEFORE= placeholder accordingly.
For teams that need persistent output templates, consider documenting the OUTPUT MODIFY block in a reusable syntax library and pairing it with a startup script that applies the configuration each time a new session begins.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.