Changes the SAS date format of a DBMS column.
Valid in: | DATA and PROC steps |
Default: | DBMS-specific |
Supports: | All |
libname mydblib fedsvr server="d1234.us.company.com"
port=2171 user=user1 pwd=pass1
dsn=oradsn dsnuser=orauser dsnpwd=orapwd;
libname saslib 'your-SAS-library';
proc append base=mydblib.internat (sasdatefmt=(dates='date9.'))
force data=saslib.delay;
run;
libname x fedsvr server="d1234.us.company.com" port=2171 user=user1 pwd=pass1 dsn=teradsn dsnuser=terauser dsnpwd=terapwd; proc sql noerrorstop; create table x.dateinfo ( date1 date ); insert into x.dateinfo (sasdatefmt=( date1='datetime21.') ) values ( '31dec2000:01:02:30'dt );
libname x fedsvr server="d1234.us.company.com" port=2171 user=user1 pwd=pass1 dsn=teradsn dsnuser=terauser dsnpwd=terapwd; data sas_local; format date1 datetime21.; set x.dateinfo (sasdatefmt=(date1='datetime21.')); run;