BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
fengyuwuzu
Pyrite | Level 9
Thank you, smijosimon. The same thing, still blank.
Tom
Super User Tom
Super User

Since you are using periods instead of colons before the hours, minutes and seconrd the extra period before the fractional seconds is confusing it.  You can get the INPUT() or INPUTN() function to convert the string if you ignore the fractional seconds.  So if you use ANYDTDTM19. informat then it works, but it does not read the '.51800' part.  Also note that when you use DSD option on the INFILE statement the length specified in the INFORMAT is ignored. 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 2989 views
  • 0 likes
  • 5 in conversation