spss_export_output
Exports SPSS procedure output to DOC, XLS, HTML, or SPV files using OMS. Works in batch jobs where OUTPUT EXPORT fails due to missing GUI Viewer, writing output directly from the same job.
Instructions
Export procedure output directly to a file: OMS /DESTINATION FORMAT=DOC|XLS|HTML|SPV. Runs inside the same job as the procedures — call any analysis tools first, then this. NOTE: SPSS's OUTPUT EXPORT command needs a GUI Viewer, which the batch engine does not have; OMS writes the same formats without it (verified live). export_format: DOC (Word/RTF), XLS (Excel), HTML, or SPV (Viewer file).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| output_path | Yes | ||
| export_format | No | HTML | |
| procedures_syntax | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |