Thanks all for the advice, I was able to remove the space for the individual sets of two binary variables (1 0 to 10), but when using the put statement to save a txt file, I need to remove spaces from all 52 variables (each a set of two numbers 10 01 11).
Following is the put statement I have. I am able to remove the space with the +(-), but need to do it between each variable. This is not ideal with 52 variables, especially if I need to change them, so I have them listed in the put statement, but how do I specify no spaces between the list?
sorry if the code is sloppy, I have just started using SAS.
****Transpose for MARK encounter history dummy is each binary set ie 10, 00, 11);
proc transpose data=last prefix=dummy out=dummy;
by lowtag;
id locweek; idlabel locweek;
var dummy;
data final; set dummy; by lowtag;
drop _name_;
File 'F:\Deer Capt, Loc, Mort Data\DeerDB\MARK SAS\sasdata.txt';
Put '*/' lowtag +(-1) '/*' dummy2452-dummy2504 +(-);
run;