LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2009, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 22 Sep 2009 16:28:09 -0500
Reply-To:     Tom White <tw2@MAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Tom White <tw2@MAIL.COM>
Subject:      PROC EXPORT
Content-Type: text/plain; charset="iso-8859-1"

Hello SAS_L, I have the export code as shown here to export the SAS dataset mydata into a text (.txt) file.PROC EXPORT DATA= ...OUTFILE="E:\ ... \ mydata.txt...;run; I would like to be able to append today's date (Sep 22 2009) to mydata as shown below:PROC EXPORT DATA= ...OUTFILE="E:\ ... \ mydata_20090922_txt.txt...;run; The day the above PROC EXPORT is executed it should automatically place the day's date. How can I do this? If the name mydata_20090922_txt cannot be automated how aboutsome variation of it? mydata_20090922 or mydata20090922, etc. Thank you T

-- An Excellent Credit Score is 750 See Yours in Just 2 Easy Steps!


Back to: Top of message | Previous page | Main SAS-L page