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:
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.