Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
proc内容超出大小sas_Sas - Fatal编程技术网

proc内容超出大小sas

proc内容超出大小sas,sas,Sas,我正在尝试使用proc contents函数为“xyzfolder”中的所有表创建元数据表(有关更多详细信息,请参见下文)。创建表“all”时,我注意到“file size”列丢失了。与xyzfolder中的表ABC一样,我想查看“文件大小”列,看看表ABC是否大于1GB proc contents data=xyzfolder._all_ out =work.all; run; 最好的方法是使用字典表。您可以在SQL中这样做,也可以在常规SAS中使用sashelp.vtable proc

我正在尝试使用proc contents函数为“xyzfolder”中的所有表创建元数据表(有关更多详细信息,请参见下文)。创建表“all”时,我注意到“file size”列丢失了。与xyzfolder中的表ABC一样,我想查看“文件大小”列,看看表ABC是否大于1GB

proc contents data=xyzfolder._all_ out =work.all; 
run; 

最好的方法是使用字典表。您可以在SQL中这样做,也可以在常规SAS中使用
sashelp.vtable

proc sql;
  create table all as
    select * from dictionary.tables
    where libname='SASHELP';
quit;

如果SAS知道filesize,它将列在此处的
filesize
列中。如果SAS不知道,您需要提供有关您的操作系统、libname的位置和类型等的更多信息,以获得有用的响应。

我删除了SQL标记,因为这个问题与SQL无关。