Peter, Not sure what results you see (you're holding your cards clase to your vest). b But when I try what you suggest on AIX system using sas 9.2, I see not differences between dictionary and sashelp views. I get the same results with pc-sas -- no measurable difference. Of course this was q quick and dirty test using some code on which I am currently working. Here is the log for everyone to examine and comment on. Larry NOTE: Remote submit to MARYKAY commencing. 1301 proc sql stimer; NOTE: SQL Statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 1302 1303 create table work_peims_list as 1304 select memname 1305 ,nobs 1306 ,nvar 1307 from sashelp.vtable 1308 where libname = 'WORK' 1309 and memname like 'PEIMS%' 1310 order by memname 1311 ; NOTE: SAS threaded sort was used. NOTE: Table WORK.WORK_PEIMS_LIST created, with 7 rows and 3 columns. NOTE: SQL Statement used (Total process time): real time 0.02 seconds cpu time 0.02 seconds 1312 create table class as 1313 select * 1314 from sashelp.class ; NOTE: Table WORK.CLASS created, with 19 rows and 5 columns. NOTE: SQL Statement used (Total process time): real time 0.01 seconds cpu time 0.00 seconds 1315 1316 create table perm_peims_list as 1317 select memname 1318 ,nobs 1319 ,nvar 1320 from sashelp.vtable 1321 where libname = 'PERM' 1322 and memname like 'PEIMS%' 1323 order by memname 1324 ; NOTE: SAS threaded sort was used. NOTE: Table WORK.PERM_PEIMS_LIST created, with 7 rows and 3 columns. NOTE: SQL Statement used (Total process time): real time 0.02 seconds cpu time 0.01 seconds 1325 1326 create table class as 1327 select * 1328 from sashelp.class ; NOTE: Table WORK.CLASS created, with 19 rows and 5 columns. NOTE: SQL Statement used (Total process time): real time 0.00 seconds cpu time 0.01 seconds 1329 1330 create table perm_drop_columns as 1331 select memname 1332 ,name 1333 from sashelp.vcolumn 1334 where libname = 'PERM' 1335 and memname like 'PEIMS%' 1336 and upcase(name) in ('STUDENTID' 1337 ,'SSN_ALTID' 1338 ,'LOCALID' 1339 ,'FNAME' 1340 ,'MNAME' 1341 ,'LNAME' 1342 ,'GEN' 1343 ,'BIRTHDATE' 1344 ) 1345 order by memname 1346 ; NOTE: SAS threaded sort was used. NOTE: Table WORK.PERM_DROP_COLUMNS created, with 14 rows and 2 columns. NOTE: SQL Statement used (Total process time): real time 0.01 seconds cpu time 0.01 seconds 1347 1348 create table class as 1349 select * 1350 from sashelp.class ; NOTE: Table WORK.CLASS created, with 19 rows and 5 columns. NOTE: SQL Statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 1351 1352 1353 create table work_peims_list as 1354 select memname 1355 ,nobs 1356 ,nvar 1357 from dictionary.tables 1358 where libname = 'WORK' 1359 and memname like 'PEIMS%' 1360 order by memname 1361 ; NOTE: SAS threaded sort was used. NOTE: Table WORK.WORK_PEIMS_LIST created, with 7 rows and 3 columns. NOTE: SQL Statement used (Total process time): real time 0.01 seconds cpu time 0.02 seconds 1362 create table class as 1363 select * 1364 from sashelp.class ; NOTE: Table WORK.CLASS created, with 19 rows and 5 columns. NOTE: SQL Statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 1365 1366 create table perm_peims_list as 1367 select memname 1368 ,nobs 1369 ,nvar 1370 from dictionary.tables 1371 where libname = 'PERM' 1372 and memname like 'PEIMS%' 1373 order by memname 1374 ; NOTE: SAS threaded sort was used. NOTE: Table WORK.PERM_PEIMS_LIST created, with 7 rows and 3 columns. NOTE: SQL Statement used (Total process time): real time 0.01 seconds cpu time 0.01 seconds 1375 1376 create table class as 1377 select * 1378 from sashelp.class ; NOTE: Table WORK.CLASS created, with 19 rows and 5 columns. NOTE: SQL Statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 1379 1380 create table perm_drop_columns as 1381 select memname 1382 ,name 1383 from dictionary.columns 1384 where libname = 'PERM' 1385 and memname like 'PEIMS%' 1386 and upcase(name) in ('STUDENTID' 1387 ,'SSN_ALTID' 1388 ,'LOCALID' 1389 ,'FNAME' 1390 ,'MNAME' 1391 ,'LNAME' 1392 ,'GEN' 1393 ,'BIRTHDATE' 1394 ) 1395 order by memname 1396 ; NOTE: SAS threaded sort was used. NOTE: Table WORK.PERM_DROP_COLUMNS created, with 14 rows and 2 columns. NOTE: SQL Statement used (Total process time): real time 0.01 seconds cpu time 0.02 seconds 1397 create table class as 1398 select * 1399 from sashelp.class ; NOTE: Table WORK.CLASS created, with 19 rows and 5 columns. NOTE: SQL Statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 1400 1401 1402 create table work_peims_list as 1403 select memname 1404 ,nobs 1405 ,nvar 1406 from sashelp.vtable 1407 where libname = 'WORK' 1408 and memname like 'PEIMS%' 1409 order by memname 1410 ; NOTE: SAS threaded sort was used. NOTE: Table WORK.WORK_PEIMS_LIST created, with 7 rows and 3 columns. NOTE: SQL Statement used (Total process time): real time 0.01 seconds cpu time 0.01 seconds 1411 create table class as 1412 select * 1413 from sashelp.class ; NOTE: Table WORK.CLASS created, with 19 rows and 5 columns. NOTE: SQL Statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 1414 1415 create table perm_peims_list as 1416 select memname 1417 ,nobs 1418 ,nvar 1419 from sashelp.vtable 1420 where libname = 'PERM' 1421 and memname like 'PEIMS%' 1422 order by memname 1423 ; NOTE: SAS threaded sort was used. NOTE: Table WORK.PERM_PEIMS_LIST created, with 7 rows and 3 columns. NOTE: SQL Statement used (Total process time): real time 0.01 seconds cpu time 0.02 seconds 1424 1425 create table class as 1426 select * 1427 from sashelp.class ; NOTE: Table WORK.CLASS created, with 19 rows and 5 columns. NOTE: SQL Statement used (Total process time): real time 0.00 seconds cpu time 0.01 seconds 1428 1429 create table perm_drop_columns as 1430 select memname 1431 ,name 1432 from sashelp.vcolumn 1433 where libname = 'PERM' 1434 and memname like 'PEIMS%' 1435 and upcase(name) in ('STUDENTID' 1436 ,'SSN_ALTID' 1437 ,'LOCALID' 1438 ,'FNAME' 1439 ,'MNAME' 1440 ,'LNAME' 1441 ,'GEN' 1442 ,'BIRTHDATE' 1443 ) 1444 order by memname 1445 ; NOTE: SAS threaded sort was used. NOTE: Table WORK.PERM_DROP_COLUMNS created, with 14 rows and 2 columns. NOTE: SQL Statement used (Total process time): real time 0.01 seconds cpu time 0.01 seconds 1446 quit ; NOTE: PROCEDURE SQL used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: Remote submit to MARYKAY complete.
... View more