Greetings, I am attempting to export a SAS database to a space-delimited text file so that it can be imported into Mplus. I'm using SAS v9.3. Here is the code I am using: data _null_ ; /* No SAS data set is created */ set work3mergem; FILE 'H:\Andrewtxtbpio0501'; PUT subject anyboy anyboy2 anyboy3 anyboy4 rsksum rsksum2 rsksum3 rsksum4 age a2 schcom11--schcom16 c1g c2g c3g c4g c5g c6g c7g c8g c9g c10g c1o c2o c3o c4o c5o c6o c7o c8o c9o c10o b9--b14 a8a ethgrp; run ; When I run the code, there are several asterisks in the output file instead of the values as they show in SAS (some of which are recorded values, and some of which are missing values). There are 8 asterisks in all (from a data set with 500+ observations and 1,000+ variables), and they aren't all occurring for the same variable (i.e., for one case, there's an asterisk for variable b12, for another, b14). I am having difficulty figuring out why this is happening. The data set was originally saved in SPSS, and so the first step of my program is to import it to SAS. I'm including that code, too, in case that may somehow be part of the problem: libname inlib spss 'H:\Research\Huebner Paper HIV\FINAL DASH DATA_ONLY GOOD CASES.por'; proc convert spss=inlib out=huebhiv.dash050118; run; libname inlib spss 'H:\Research\Huebner Paper HIV\Oakland data_only good cases.por'; proc convert spss=inlib out=huebhiv.oakland050118; run; Any thoughts about why this might be happening and how to address it would be greatly appreciated. Thanks!
... View more