DATA Step, Macro, Functions and more

how can i get the external file size, create date, modify date, etc.

Reply
N/A
Posts: 0

how can i get the external file size, create date, modify date, etc.

hi, all!

How can i get the external file's attributes at the DATA STEP or the PROC STEP!

Thanks a lot!
SAS Super FREQ
Posts: 8,745

Re: how can i get the external file size, create date, modify date, etc.

Hi:
There's a paper referenced at the end of this thread that is very useful:
http://support.sas.com/forums/thread.jspa?threadID=11068&tstart=0

It should serve to get you started. Although, I'm confused by what you mean when you say "at the DATA STEP or the PROC STEP" -- because while a DATA step can either read or write an "external file" (non-SAS file), the only PROC STEP that can read or write an external file is PROC IMPORT or PROC EXPORT (well, PROC FSLIST -- but hardly anyone uses that anymore).

cynthia
N/A
Posts: 0

Re: how can i get the external file size, create date, modify date, etc.

Okay!

Very Thanks, Your suggestion just satisfy my question.
Ask a Question
Discussion stats
  • 2 replies
  • 137 views
  • 0 likes
  • 2 in conversation