- Author: admin
- Filed under: Auto-cars
- Date: Mar 12,2008
1.leaving off the period at the end of the format in a format statement, and
2.leaving off the dollar sign before a character format. If you leave out the proc format code in a program using a permanent file where formats are defined SAS will require the formats be available fro use. In this case you can either follow the instructions for including code (%include) above, or copy the proc format code into your current program.
3.You can also include the nofmterr option to allow the program to run with out errors. Another common error is to reference the format with a format statement before defining the format with proc format code.
4.Simply move your proc format code to the beginning of the program to fix this problem.
5.For more informationFor information on reading data into SAS, see the SAS Learning Module Inputting raw data into SAS. For more information about proc freq see the SAS Learning Module Descriptive information & statistics in SAS. For more information about options see the SAS Learning Module Common SAS Options.

Leave a comment
You must be logged in to post a comment.