DATA Step, Macro, Functions and more

Proc Format

Accepted Solution Solved
Reply
Super Contributor
Posts: 1,040
Accepted Solution

Proc Format

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.


Accepted Solutions
Solution
‎10-01-2012 03:06 PM
Super Contributor
Posts: 1,040

Re: Proc Format

Sorry,

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

Thanks

View solution in original post


All Replies
Solution
‎10-01-2012 03:06 PM
Super Contributor
Posts: 1,040

Re: Proc Format

Sorry,

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

Thanks

Super Contributor
Posts: 1,040

Re: Proc Format

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

Thanks Again

Super Contributor
Super Contributor
Posts: 440

Re: Proc Format

yea Karun

You are welcome :smileylaugh:

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

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