BookmarkSubscribeRSS Feed
Calcite | Level 5
Proc append base = amt3.separate1 DATA = amt3.Hyundai_Unique force;
Warning Message I received:
WARNING: Variable Latest_Launch has format DDMMYY10. on the BASE data set and format DATE7. on the DATA data set. DDMMYY10. used.
WARNING: Variable Manufacturer has different lengths on BASE and DATA files (BASE 13 DATA 8).
WARNING: Variable Model has different lengths on BASE and DATA files (BASE 17 DATA 8).
WARNING: Variable Manufacturer_Model has different lengths on BASE and DATA files (BASE 33 DATA 19).
Any Solutions?.
Rhodochrosite | Level 12

It is clear that lengths  and formats of both tables do not match. This will not cause any issue in your scenario.You can adjust the length and format of your data columns so that you do not warning. Or add nowarn to proc append statements, if you do not want to see warnings.

Garnet | Level 18

You have two types of warning.

- different formats - anyway you can change format according to your needs.
  the format is used just to define how to display the date content.


- as long as the BASE variable is longer then the DATA variable, you can be quiet.

  If BASE is shorter there is a risk of truncating the content and as much as I remeber

  you'll get an error.

Super User

In the interest of writing clean code, follow the code path (backwards) that created amt3.Hyundai_Unique and make sure that the variables in question have consistent attributes.

SAS Employee


to suppress those warning, use NOWARN option on proc append  statement 

Proc append base = amt3.separate1 DATA = amt3.Hyundai_Unique force NOWARN ; 


(option exists since at least sas9.2 -

Super User


The OP has not been back to the forum since 2017. So likely no need to resurrect this 5-year-old thread.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1 like
  • 6 in conversation