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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1860 views
  • 0 likes
  • 3 in conversation