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
Diamond | Level 26
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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 17775 views
  • 0 likes
  • 4 in conversation