Hi All,
Good day !!!
When I am extracting the data directly from AWS S3 to SAS, I am getting a special character only to few observations and that is not expected and not present in the source.
Ex: For Column ID=100, In the Description variable value I am getting like this below.
" This is has to be state level \n information to get the business \n details \n "
Something like this.
Please advise what could be the reason. Column Description has 2000 character Length defined in the Dataset attributes level.
Please advise.
Thanks
@VVDR wrote:
Hi All,
Good day !!!
When I am extracting the data directly from AWS S3 to SAS, I am getting a special character only to few observations and that is not expected and not present in the source.
Ex: For Column ID=100, In the Description variable value I am getting like this below.
" This is has to be state level \n information to get the business \n details \n "
Something like this.
Please advise what could be the reason. Column Description has 2000 character Length defined in the Dataset attributes level.
Please advise.
Thanks
How are you looking at the data that leads you to believe "not present in the source"? If it is a viewer application from the source does that row display text in that variable/field/column on 3 lines in the data? If so those may be instructions for that viewer to display the following text on a "new line". The characters are there just not displayed in some application.
You can remove them in a data step with code like:
data example; x=" This is has to be state level \n information to get the business \n details \n "; x=compbl(tranwrd(x,'\n','') ); run;
@VVDR wrote:
Hi All,
Good day !!!
When I am extracting the data directly from AWS S3 to SAS, I am getting a special character only to few observations and that is not expected and not present in the source.
Ex: For Column ID=100, In the Description variable value I am getting like this below.
" This is has to be state level \n information to get the business \n details \n "
Something like this.
Please advise what could be the reason. Column Description has 2000 character Length defined in the Dataset attributes level.
Please advise.
Thanks
How are you looking at the data that leads you to believe "not present in the source"? If it is a viewer application from the source does that row display text in that variable/field/column on 3 lines in the data? If so those may be instructions for that viewer to display the following text on a "new line". The characters are there just not displayed in some application.
You can remove them in a data step with code like:
data example; x=" This is has to be state level \n information to get the business \n details \n "; x=compbl(tranwrd(x,'\n','') ); run;
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.