Desktop productivity for business analysts and programmers

list with columns in sas tables,table name and libname! VCOLUMN - but error

Reply
Contributor
Posts: 55

list with columns in sas tables,table name and libname! VCOLUMN - but error

I want to see all columns in sas tables,table name and libname.I get an error like below:

 

Is there a work around or al alternative to get this information (the table from dictionary show the same error).

 

Alternative can I ask the metadata server ? and how (code example is appreciated).

 

Thanks in advance.

 

 

 

23         proc sql;

24         create table XXXX AS

25         select libname, memname, name, type from

26        

27          sashelp.VCOLUMN;

ERROR: Incorrect length in SAS Metadata Repository for column initial_1.

Grand Advisor
Posts: 10,239

Re: list with columns in sas tables,table name and libname! VCOLUMN - but error

Either fix the metadata for initial_1 or disconnect from meta data?

Contributor
Posts: 55

Re: list with columns in sas tables,table name and libname! VCOLUMN - but error

hoW can i disconnect metadata in EG? and connect again?

SAS Super FREQ
Posts: 676

Re: list with columns in sas tables,table name and libname! VCOLUMN - but error

Hi

 

Have a look at the "Update Library Metadata" task under Tools.

 

This task can report on the differences between the Metadata definition and the actual physical table.

 

The task can also update the Metadata definition, provided you have the necessary permissions.

 

Bruno

Ask a Question
Discussion stats
  • 3 replies
  • 280 views
  • 0 likes
  • 3 in conversation