Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makeSASNames function truncated variable names to 8 characters #23

Open
kaipingyang opened this issue Jan 28, 2022 · 0 comments
Open

makeSASNames function truncated variable names to 8 characters #23

kaipingyang opened this issue Jan 28, 2022 · 0 comments

Comments

@kaipingyang
Copy link

kaipingyang commented Jan 28, 2022

I am a SAS programmer and in practice many SAS data set variables are allowed to exceed 8 characters in length.
When I wanted to generate XPT data using write.xport of SASxport, I found that the makeSASNames function forced truncation of variables to 8 characters.

There are two engines for XPT data in SAS:
One supports proc copy procedure step import, which limits variable names of SAS data sets to a maximum of 8 characters.
One supports proc cport procedure step import, which allow variable names of SAS datasets to exceed 8 characters in length.

Could you please enable SASxport generate data in XPT format that supports the proc cport procedure step import, allowing variable names in SAS datasets to exceed 8 characters in length?

Also, I found that write.xport seemed to support the tibble format a bit less than perfect, resulting in garbled characters.

Best wishes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant