Hello, I am writing this code to create a new variable xyz with indentation. But indentation does not work when I print the data or make a report - what seems to be the problem? But if I see the dataset finalfinal1 in SAS view - indentation is there. data finalfinal1; set finalfinal; length xyz aedecod aesoc $200.; if aesoc=aedecod then xyz=aedecod; else xyz=" "||aedecod; proc print data=finalfinal1; var aesoc aedecod xyz ae2 subj2 ae3 subj3 ae4 subj4 ae5 subj5; run;
... View more