Yes. I tried with different variable name. But no luck. Please see below error. 1 ODBC: AUTOCOMMIT is NO for connection 0 0 1877360424 tkvercn1 0 Submit 2 options sastrace=',,,d' sastraceloc=saslog; 3 libname dlib odbc user="milind" password=XXXXXXXXXXXXXXXXXXXXXX datasrc="RWE_pharmetrics_DSN" 3 ! schema="public"; NOTE: Libref DLIB was successfully assigned as follows: Engine: ODBC Physical Name: RWE_pharmetrics_DSN 4 5 data mtest2(drop=i); 6 length no1 8 no2 8 var1 $8; 7 do i=1 to 10; 8 no1=i; 9 no2=i*i; 10 var1="abc"; 11 output; 12 end; 13 run; NOTE: The data set WORK.MTEST2 has 10 observations and 3 variables. NOTE: DATA statement used (Total process time): real time 0.03 seconds cpu time 0.03 seconds 14 15 16 data dlib.mtest3; 17 set mtest2; 18 run; ODBC: AUTOCOMMIT is NO for connection 1 1 1877360424 tkvercn1 0 DATASTEP ODBC: AUTOCOMMIT turned ON for connection id 1 2 1877360424 tkvercn1 0 DATASTEP 3 1877360424 tkvercn1 0 DATASTEP ODBC_1: Prepared: on connection 1 4 1877360424 tkvercn1 0 DATASTEP SELECT * FROM public.MTEST3 WHERE 0=1 5 1877360424 tkvercn1 0 DATASTEP 6 1877360424 tkvercn1 0 DATASTEP ODBC: AUTOCOMMIT is NO for connection 2 7 1877360424 tkvercn1 0 DATASTEP ERROR: The character variable var1 has too long a value for the DLIB library. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set DLIB.MTEST3 was only partially opened and will not be saved. ODBC: ROLLBACK performed on connection 2. 8 1877360424 tkvercn1 0 DATASTEP ODBC: COMMIT performed on connection 2. 9 1877360424 tkvercn1 0 DATASTEP WARNING: File deletion failed for DLIB.MTEST3.DATA. NOTE: DATA statement used (Total process time): real time 0.15 seconds cpu time 0.12 seconds
... View more