I've scoured the boards and none of the solutions are working for this code block. I have a variable with character dates ($8 according to proc contents) in a format of YYYYMMDD but the code below isn't working to convert and the error is the "ERROR 48-59: The informat YYYYMMDD was not found or could not be loaded." I've even tried proc sql and it fails as well. I'm trying to create a new date variable so I can move on to get week number: data want; set have; proper_dt = input(char_date,YYYYMMDD8.); format proper_dt date9.; run; Thanks for any help!
... View more