Install the SPSSINC SPLIT DATASET extension command via the Extensions > Extension Hub menu. Then use will see
Data > Split into files
on the menus. It has a number of options for how to customize the details.
If you subsequently need to process all the generated splits, you can use the SPSSINC PROCESS FILES extension command. This can iterate over a batch of files, running whatever code you need on each, and saving the output in separate spv files or altogether.
Of course, you can use the built-in SPLIT FILES SEPARATE command if you just want separate tables and charts from a procedure, but that iterates each command through all the splits, so it doesn't work well if you need to run a batch of syntax on each and have the output grouped by split.
--
Original Message:
Sent: 2/10/2022 7:57:00 AM
From: Meike Niet
Subject: split data file and save in different outputs and in different data files
How can I split data file and save in different outputs and in different data files? Like here: https://www.youtube.com/watch?v=PiJrWIAsVhA
------------------------------
Meike Niet
------------------------------
#SPSSStatistics