BookmarkSubscribeRSS Feed
ANLYNG
Pyrite | Level 9

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.

3 REPLIES 3
ballardw
Super User

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

ANLYNG
Pyrite | Level 9

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

BrunoMueller
SAS Super FREQ

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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1726 views
  • 0 likes
  • 3 in conversation