M2SLink

System Requirements

  • Windows 64-bit operating system
  • 64-bit version of Mathematica for Windows (e.g. Version 11 or greater)
  • 64-bit version of SAS for Windows (e.g. Version 9)

M2SLink requires the Windows 64-bit operating system. There is no support for the Macintosh or Linux operating systems. It requires a 64-bit version of Mathematica for Windows (e.g. Version 11 or greater) and a 64-bit version of SAS for Windows (e.g. Version 9).

You must have access to the SAS executable and the proper permissions to run SAS. This is because M2SLink creates a non-interactive SAS session to service the requests you issue from your Wolfram Notebook to import and export data as well as to submit SAS programs. M2SLink uses the WSTP (Wolfram Symbolic Transfer Protocol) to connect Mathematica to SAS.

At certain times, M2SLink will create temporary files in a subdirectory of the M2SLink installation directory. Therefore, you must have write (and, of course, execute) permissions turned on for your M2SLink installation directory and its subdirectories.

M2SLink uses the Windows Registry to preserve any preferences you set. Therefore, you must have permission to modify the Windows Registry in order to run M2SLink. These preferences are stored in the Windows Registry separately from any SAS or Mathematica registry data.

M2SLink uses Wolfram's WSTP to communicate with SAS and to transfer data lists between your Wolfram Notebook and SAS. In Mathematica Version 11, WSTP limits the maximum list length to a number slightly over two billion. For this reason, SAS datasets that contain more than two billion observations cannot be imported into Mathematica using M2SLink.