I removed the brackets, and added the 'C' function for the continuous method, and I still get the same error messages.  Here is the revised code:  if DOB NE . and EXAMDATE ne . then do;  AGE_EXAM_MO= intck(‘MONTH’,DOB,EXAMDATE,'C');  FORMAT CHILDDOB AGDEXAMDATE MMDDYY10.;    And this is the error message:  8643 DATA EXAMAGE;  8644 SET MERGEDOB;  8645 /*CREATE AGE AT EXAM*/  8646 if DOB NE . and EXAMDATE ne . then do;  8647 AGE_EXAM_MO= intck(‘MONTH’,DOB,EXAMDATE,'C');  -  386  200  76  ERROR 386-185: Expecting an arithmetic expression.  ERROR 200-322: The symbol is not recognized and will be ignored.  ERROR 76-322: Syntax error, statement will be ignored.  
						
					
					... View more