BookmarkSubscribeRSS Feed
RameshReddy
Calcite | Level 5

Hi

I am trying to generate .csv file from sas data set with " as text delimiter and , as delimite

but for date it is taking as charater and inserting date as "15/03/2012" i need the date format as numeric

and some numeric colulmns i want as character ie "63586900"

i want output in this way

"63586900",15/03/2012,"4568012145","Kumar"

is this possible..........?

Regards,

Santhosh

1 REPLY 1
Cynthia_sas
Diamond | Level 26

Hi:

  Are you asking if this is possible using EG tasks and wizards? This question was already asked and answered in a different forum showing how you would accomplish the request using code. I believe that EG tasks and wizards would not do what you want "out of the box" and you would need to write code to do your task. Possible code choices are posted here:

http://communities.sas.com/message/120650#120650

cynthia

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
  • 1029 views
  • 0 likes
  • 2 in conversation