BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
JackieO
Obsidian | Level 7

One final reply to Tom,

 

I am almost done with my project(99% complete).  Wouldn't have been without your expert advise.  I have read more and learned more in the past two weeks than I have in 30 years.  I was a bit offended at first, after reading initial responses, but quickly found that you were absolutely right in your comments.  I am a better programmer for it. 

 

Thank you!

Jackie O

Tom
Super User Tom
Super User

Great.

Hopefully you found the issue with your INFILE statement.

 

Note that the default display of dates by the ls command of Unix will display just the date for files that are over 6 months old.  But the full datetime stamp is stored and newer versions of the ls command will allow you display the full date time value.  Try this that works on RedHat Linux to get the value in the format that the SAS informat DATETIME can read.

/bin/ls -Al --time-style=+'%d%b%Y:%H:%M:%S'

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 16 replies
  • 2833 views
  • 0 likes
  • 4 in conversation