Best is to copy the code and all the messages from the log for the procedure that throws an error. Then on the forum open a text box using the </> icon above the message window and paste all of the the copied text.
An error message separated from code and any possible diagnostic information that SAS often provides is next to useless.
The text box helps separate the text under discussion from the discussion itself. Also, the main message windows in this forum will reformat pasted text and may change location of some of the diagnostic information SAS often provides.
Many times your data limits what may possible and you may need to provide example data as well to diagnose specific problems.