BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
robertrao
Quartz | Level 8

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.

1 ACCEPTED SOLUTION

Accepted Solutions
robertrao
Quartz | Level 8

Sorry,

I got it . There shouldnt have been a semicolon since its a continuation in the format step.

Thanks

View solution in original post

3 REPLIES 3
robertrao
Quartz | Level 8

Sorry,

I got it . There shouldnt have been a semicolon since its a continuation in the format step.

Thanks

robertrao
Quartz | Level 8

Also in a hurry I posted the part where I had the error log. Should have pasted the full format step.

Thanks Again

Tal
Pyrite | Level 9 Tal
Pyrite | Level 9

yea Karun

You are welcome :smileylaugh:

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 2068 views
  • 0 likes
  • 2 in conversation