Your question isn't clear to me. And the documentation for the
SASDATEFMT data set option isn't clear either. I think you'll have to
experiment. That's much faster than waiting for an answer from SAS-L.
What happens if you code "coderun=date9." instead of "coderun=dtdate9."?
And why do you have two different personal names, "peesari.mahesh" and
"joe h smith"?
On Wed, 6 May 2009 08:45:49 -0400, "SUBSCRIBE SAS-L Joe H. Smith"
> Hi all ,
> Here is my code:
> data work.TEMP;
> /* ProcessingDate_D=date()*86400;*/
> /* Startdate_D=input("&SYSDATE9",) DATETIME22.3;*/
> /* EndDate_D=datetime();*/
> /* format ProcessingDate_D dtdate9.;*/
> format ProcessingDate_D dtdate9.;
> proc sql noerrorstop;
> INSERT INTO DBVYM.etltestjob (sasdatefmt=(CodeRun=dtdate9.))
> (Job,CodeRun )
> SELECT JobName_V,ProcessingDate_D FROM work.TEMP ;
> my requirement is i have to populate table in oracle from SAS dataset,But
> there is a date field(ProcessingDate_D) in my SAS dataset,where while
> populating, is using the entire datetime value,if i check the data set
> oracle defined library it is stored as entire datetime value but not as
> only date,I have tried to use sasdatefmt option but still cant suceed,can
> you please help me how i have to use sasdatefmt ,so that only date value
> gets populated and not the entire datetime value.
> Thanks in Advance.
email@example.com <== Use this, not jfh @ stanfordalumni.org