Importing multiple files of the same type has been discussed so many times, you should be able to find solutions - maybe not for xpt-files, but that should be easy to adept.
XPT-files are created by proc cport, right? You will have to import them by using proc cimport.
Same problem as in the other post i replied to: your problem-description is vague and it is hardly possible to understand what you have and what you want.
The subject of your message is "how import all xpt files from pc files" - that implies that you already have xpt-files and want to import them. For that task you use proc cimport.
Now you are talking about exporting files:
@thanikondharish wrote:
s i know by using proc cport i get only one xpt file but how to get all xpt
files at a time
So, please explain what you have and what you want as result.
Post proper questions in proper language. Don't force us to guess what you're really after. If you don't want to invest the time to post a proper question, then why are you here at all?
I think it would help if you posted some example code of what you have tried - we do understand that trying to explain technical problems in English can be hard when it is not your first language.
So what is the problem with this program? Posting the program's SAS log may help.
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!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.