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: Call for Content

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!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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