Hi Team at 402 I have an error using the format. Could you help me solve the error.
Thanks
401 VALUE $AGE;
NOTE: Format $AGE is already on the library.
NOTE: Format $AGE has been output.
402 "n"="N"
---
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
403 "meansd"="Mean (SD)"
404 "median"="Median"
405 "minmax"="Min/Max"
406 ;
NOTE: The previous statement has been deleted.
407 RUN;
WARNING: RUN statement ignored due to previous errors. Submit QUIT; to terminate the procedure.
NOTE: PROCEDURE FORMAT used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
Memory 91k
OS Memory 19572k
Timestamp 10/1/2012 1:59:53 PM
NOTE: The SAS System stopped processing this step because of errors.
Sorry,
I got it . There shouldnt have been a semicolon since its a continuation in the format step.
Thanks
Sorry,
I got it . There shouldnt have been a semicolon since its a continuation in the format step.
Thanks
Also in a hurry I posted the part where I had the error log. Should have pasted the full format step.
Thanks Again
yea Karun
You are welcome :smileylaugh:
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.