Can I create a SAS data set from a PDF or Word file


Customers often ask whether a SAS data set can be created from a PDF or Word file. Unfortunately, there is not a direct way to read these types of files. There are several alternatives.

filename test dde 'winword|"c:\temp\testing.doc"
                  !MARK' notab;
      
      libname workdir 'c:\temp';
      
      /* Read the first bookmark */
      data workdir.worddata;
       length wordnum $5.;
       infile test;
       input wordnum $;
      run;