Not possible. I have spent a lot of time in this area and I have yet to see a tool be able to do a code conversion. Also, I don't think it is a good idea regardless. There are structures that do not translate between the 2 and also serious logical differences. For example, handle this in python (pseudocode):
data test (keep=x where=(y>3));
set test1 test2 (where=(z>6.2));
by age gender;
if age > "&ageMax.";
blah blah;
run;
&ageMax is a macro created by a proc sql from a database. That query comes from a %include that has a bunch of database calls in it.
I have done SAS to C# conversions and you have to have someone versed in both. Look at one screen, code in the other.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…