Raynald's SPSS Tools
  • Syntax
    • SPSS Syntax Home
    • Sample Syntax Library
    • Learning Syntax
    • Debugging SPSS Syntax
    • Standard Data Files
  • Macros
    • SPSS Macros — Home
    • Sample Macro Library
    • Learning Macros
    • Debugging Macros
    • Kirill's SPSS Macros Page
  • Scripts
    • SPSS Scripts — Home
    • Sample Scripts Library
    • Learning Scripts
    • The Asynchronous Problem
  • Python
    • Python Scripts Home
    • Sample Python Library
  • R
    • R Scripts — Home
    • Sample R Library
  • Resources
    • Resources Overview
    • Blog
    • Links to SPSS (and not only SPSS) resources
    • SPSS Programming and Data Management Book
  • Sitemap
  • Feedback
  • en
    • Русский
    • Español
    • Portugues
    • Deutsch
    • Français
    • Italiano
  1. Home
  2. Syntax
  3. Sample Syntax Library
  4. Working with Many Files

Working with Many Files

  • Combine 2 data files many to many
  • Combine any number of consecutively named sav files 50 at a time
  • Combine many data files with same variables
  • Combine many xls files into a single sav file
  • Data list is outside the main syntax
  • Delete cases contained in file2 from the main data file
  • Erase files
  • Example 1 using UPDATE command
  • Example 2 using UPDATE command
  • Get mean from 3different files
  • Keep only cases from Master file whose id are in second file
  • Macro to delete a list of files
  • Many folders and many files
  • Process All .xls Files in a Given Folder (script) This scripts works in conjuction with syntax and access each xls file in turn in a given folder
  • Run a macro on every file whose name is in a sav file
  • Run syntax on files whose names are derived from a data file
  • Show number of differences, if any, between 2 files
  • Split big files into separate categories
  • Split big files into separate categories string var
  • Split file with kn cases into k files of n cases each
  • Unusual file merge
  • Include 200syntax files by macro
Related pages

...

Navigate from here
  • Sample Syntax Library
  • Tests of Inequality
  • Remove Characters, Duplicates or Variables
  • Combine 2 data files many to many
  • Get random page
  • Back to top

 


 

Raynald's SPSS Tools © 2001–2025, Raynald Levesque, Anton Balabanov. Click to learn more: About the project