From: csrna on 21 Oct 2005 11:16 Oh, The Horror, The Horror... SAS Date conversions. I don't get it, I don't get it, I don't get it. Did I tell ya that I don't get it. I have tried, but I don't get SAS Date conversions. I know that a SAS date is some number from 01Jan1960. After that, it's all down hill. :-( I have a Date field that the record layout says is Type-Character, Length-4. OK. I have: INPUT @125 CRDATE $4.; (I do not have a LENGTH statement) FORMAT CRDATE MMDDYY8.; PUT @ 25 CRDATE; FORMAT CRDATE MMDDYY8.; =20 he SAS System =20 =20 ________ =20 ________ =20 ________ =20 48 =20 48 =20 48 =20 ERROR 48-59: The format $MMDDYY was not found or could not be loaded. OK. Somehow, I have to convert CRDATE to a SAS data and then output it so that it will look pretty. What am I missing. Thanks In Advance =20 =20
|
Pages: 1 Prev: DDE Error Next: deleting macro variables with the %SYMDEL statement |