I am trying to get data from xlsx file using Proc Import procedure and it was successful but when i look into the data. The variable doesn't have the complete text value and length of that variable is fixed to $255. How to get Full Text value?
PROC IMPORT DATAFILE= "C:\comments.xlsx"
OUT= WORK.comments
DBMS=XLSX
REPLACE;
SHEET="Sheet1";
GETNAMES=YES;
RUN;
PROC IMPORT can definitely handle strings longer than 255. You can run a test yourself to see it.
Make sure to check the PROC CONTENTS results for the imported datasets. For example make sure you have not attached too short a display format to the variable.
You can also try using the XLSX libname engine instead of PROC IMPORT to read from the XLSX file, but I doubt it will yield different results.
If you cannot get your file to work then you should open a support ticket with SAS Support so they can examine your XLSX file.