Hi, Need help please.. I am trying to convert numeric date variable into character date variable. PROC SQL; CREATE TABLE y AS SELECT PUT(subjid, 6.) AS subjid, PUT(date, 20.) AS date FORMAT = YYMMDD10. FROM x; QUIT; 423 PROC SQL; 424 CREATE TABLE y AS 425 SELECT PUT(subjid, 6.) AS subjid, 426 PUT(date, 20.) AS date FORMAT = date9. 427 FROM x; ERROR: Character expression requires a character format. 428 QUIT; NOTE: The SAS System stopped processing this step because of errors. both subjid and date are numeric variables and i want to convert into character variables for merging. Are there any other ways of doing this conversion? Thank you Anu.
... View more