BookmarkSubscribeRSS Feed
sanjana30
Calcite | Level 5

I have written a Job in SAS DI with required date format yymmddn8. in work table , the SAS output needs to be converted in .csv . For exporting to .csv im using standard proc export statement however the resultant .csv file has 1JAN1960. 

 

Please suggest.

1 REPLY 1
LinusH
Tourmaline | Level 20

First. it seems that you didn't get your format applied, since 1Jan1960 is in date9. format.

Then it seems that all you date values are 0, so check your data input, mappings etc.

If you still need more hands on help, provide your code, and input data in the form of data step with a datalines statement.

Data never sleeps

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1 reply
  • 707 views
  • 0 likes
  • 2 in conversation