Have you tried converting the numeric result using a PUT() function in the THEN clause? You may need to change the BEST. format to suit your data values:
Case When "Var01"n=0 then 'abcdef' Else PUT("Var01"n/100, BEST.) End
Data step code statements are probably too relaxed, and will auto-convert numeric and character values, as necessary. SQL statements are not as relaxed, and require character variables to be given character values, and numeric variables to be given numeric values.
.......Phil Holland