BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,
I am trying to import a CSV file using proc import. I have 2 variables in the CSV, one is numeric and other one is character which has values of lengths from 6-30 characters. I am able to create a sas dataset successfully, but the character variable's values are getting truncated. Does any one know how to fix this/how to change the variable length in proc import so that the values in the external file wont get truncated after importing it. I appreciate your input.

Thanks,
Pallavi.
4 REPLIES 4
Cynthia_sas
SAS Super FREQ
Hi:
A search on support.sas.com with the string
IMPORT truncated

reveals this note
http://support.sas.com/kb/17/778.html

which may be relevant to your issue. If you have tried the techniques in this note, without success, your next stop should be to open a track with SAS Tech Support.

cynthia
deleted_user
Not applicable
Thank you very much Cynthia, that worked for me. I really appreciate ur reply.
krishcode
Calcite | Level 5

this page has been disabled,can you please suggeset some other link .

LinusH
Tourmaline | Level 20
Or, try the search that Cynthia sugested. There is lot halo provided on support.sas.com.
Data never sleeps

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 4 replies
  • 17135 views
  • 0 likes
  • 4 in conversation